om-fix
Repo-local extension of om-fix - test-first at the seam, catalogue copy, generated files and the suppression ban.
SKILL.md.ai/skills/om-fix/SKILL.md
GitHubom-fix (money-tracker.online)
This file extends the shared om-fix skill installed at .claude/skills/om-fix/SKILL.md. Follow
its full workflow (claim, minimal change, regression tests, validation loop, output contract) with
the rules below layered on top.
Implementation rules
- Write the failing test first, at the seam the analyzer named (skill
tdd,.claude/skills/tdd/SKILL.md). A repository change gets its tenant-isolation case; an amount-touching change gets its money-invariant case. - Copy goes through the catalogue (skill
i18n-messages,.claude/skills/i18n-messages/SKILL.md): the key lands inen.tsandpl.tsin the same change, and a count goes through the plural machinery. - After touching
src/routes/**runpnpm generate-routes; after touchingsrc/server/db/schema.tsrunpnpm db:generateand keep the migration underdrizzle/. Never hand-edit either output. - Money stays in integer minor units; the scale is
currencies.digits. - Never add
@ts-ignore,@ts-expect-errororeslint-disable, never.skipor.onlya test, never delete one to make the gate green. A gate that only passes that way is a finding for the report, not a fix. - The dependency set is frozen (
docs/SPEC.md§3): a fix that needs a package stops and reports the blocker.
Validation loop
The gate is validation.commands from .ai/agentic.config.json, in order. The two drift commands
run first; when either leaves a diff, that diff is part of the fix. Pipe the test run to a file
before quoting any count from it, and re-run failed files alone before calling a failure a flake
(docs/SPEC.md §7.7, skill verifying-changes, .claude/skills/verifying-changes/SKILL.md).