.agents/skills/rule-canonical-config/SKILL.md
Rule mapping for canonical-config
npx skillsauth add carrot-foundation/methodology-rules rule-canonical-configInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Apply this rule whenever work touches:
libs/methodologies/*/rules/src/rules.config.tsThe methodology rule registry (rules.config.ts per methodology) is the single source of truth. Several files derive from it:
codecov.yml — coverage flag-per-rule, generated by scripts/generate-rule-readmes.tsapps/methodologies/.../*/README.mdlibs/methodologies/*/rules/README.mddist/methodology-framework-rules/*.jsonAfter any edit to rules.config.ts, run all four generators. CI will fail if the generated files are out of sync with the source.
pnpm generate:readmes
pnpm generate:manifest
pnpm generate:methodology-readmes
pnpm generate:methodology-framework-rules
The same principle applies to the AI capability docs under .ai/: after editing any .ai/rules/*.md, .ai/capabilities/skills/*.md, or .ai/capabilities/agents/*.md, run pnpm ai:sync to propagate the change to the per-tool adapters (CLAUDE.md, Cursor, Codex), then pnpm ai:check to validate parity.
databases
Create and modify Zod schemas for runtime validation with proper type inference.
testing
Write Vitest unit tests following project conventions with proper stubs and assertions.
tools
Autonomously implement a task following project conventions with iterative verification.
testing
Analyze a pull request diff and provide structured feedback on correctness, conventions, and quality.