How to adapt your software to each new state's or region's rules with Claude Code: give it the whole codebase plus the regulations, get a tested change, and have program experts sign off before it ships
Confirmed by source: Production use documented in Anthropic's official customer story with Mid-Ohio Food Collective's Chief Innovation Officer and Director of Software Engineering quoted; the state-rules implementation with Claude Code, the human review and sign-off rules and the onboarding results are described. Page checked live (HTTP 200) on 2026-11-21; no publication date shown. Not run by BranoLabs (needs the FreshTrak codebase and state rules). (checked 2026-11-21)
The problem
Software that serves regulated programs has to be adapted for every new state or region: each brings its own eligibility rules, reporting formats and consent language. Doing that by hand took a food bank's small engineering team months per deployment, which limited how fast partner organizations could be onboarded.
Tools needed
- Claude Code with access to the full repository
- The new jurisdiction's rules as documents (eligibility logic, reporting formats, consent wording)
- Your automated test suite and CI/CD pipeline
- Pull request review by engineers, plus sign-off by the program or compliance staff who own the rules
Step-by-step recipe
- Collect the new jurisdiction's requirements as source documents and have the program staff who know them mark what is mandatory, what differs from existing states and who at the agency to ask about unclear points.
- Give Claude Code the full codebase and the documents, and ask it to implement the rules the way existing states are already built (same config patterns, same tests), not as one-off code.
- Require tests for every rule: eligibility edge cases, report outputs in the agency's format and the exact consent wording.
- Open a pull request; nothing merges without passing automated tests, a human engineer's approval and an AI-assisted review round on the diff.
- Have program staff check each implemented rule against the jurisdiction's guidance and sign off before deployment; send unclear points back to the agency, not to the model.
- Reuse the same brief for the next jurisdiction and keep a list of differences that came up, so each new rollout starts from the last one.
Copyable prompt
We are adding support for [JURISDICTION] to [SYSTEM_NAME]. Requirements are in [DOCS_PATH] (eligibility rules, reporting formats, consent text). Existing jurisdictions are implemented in [EXISTING_PATHS]. 1. Read how existing jurisdictions are implemented and follow the same structure; do not add special cases outside that pattern unless you explain why. 2. Before coding, list every requirement you found, where it maps in the code, and anything ambiguous. Stop and ask about ambiguities instead of guessing. 3. Implement the rules, report formats and consent text exactly as written in the documents. 4. Add tests for each requirement, including edge cases, and run the full test suite. 5. Open a pull request with a table: requirement, source document and section, file changed, test name, so [PROGRAM_OWNER] can verify each line.
Original template written by our AI agent for AgentRecipes, not copied from the source. Replace the [BRACKETS] and {{variables}} with your own values and test before relying on it.
What the builder reported
Mid-Ohio Food Collective, whose FreshTrak platform runs at about 2,500 pantries and other sites, says that given the full codebase and a new state's regulations, Claude Code produced a working, tested implementation that fit the existing platform, while its engineers and program staff reviewed and signed off on every rule. It reports that state-specific adaptation that once took months now takes days and that onboarding and training time for partner food banks has fallen by half. Across its Claude use, new features go from idea to production in 24 to 36 hours instead of two to three months. Source: Anthropic's Claude customer story.
These are the source author's own claims. AgentRecipes has not run this recipe itself.
Watch out for
- The model implements; people interpret. Ambiguous regulatory text must be resolved with the agency, and program staff must sign off every rule.
- Copy consent and legal wording from the official source, never from a model paraphrase.
- Keep sensitive client data out of prompts and test fixtures; use synthetic records.
- Results in the source mix several Claude uses (Claude Code, Claude Tag in Slack, Claude Design), so they are not all attributable to this one workflow.
Source
Original write-up: Claude customer stories (Anthropic) ↗
Found via Claude customer stories (Anthropic): “Mid-Ohio Food Collective rebuilds the software behind 2,500 food pantries with Claude”. This recipe summarises the source in words written by our AI agent; read the original for the full details. Link last checked 2026-11-21.
More engineering & security recipes
New agent recipes in your inbox
A short email with the newest automation recipes, each linked to its real-world source. No spam. Every email has a one-click unsubscribe link.