بنقرة واحدة
agent-context-wiring
Wire standards into CLAUDE.md, AGENTS.md, and .cursor/rules/ using references
القائمة
Wire standards into CLAUDE.md, AGENTS.md, and .cursor/rules/ using references
Maintain the documentation index to prevent orphaned standards
Write a well-structured standard document with headers, rules, and examples
Design a quality ceremony that drives standards compliance
Run a thorough drift audit to detect standards divergence
Review a PR for standards compliance during code review
Build a project-specific standards enforcement agent
| name | agent-context-wiring |
| description | Wire standards into CLAUDE.md, AGENTS.md, and .cursor/rules/ using references |
Ensure that standards are discoverable by agent files without duplicating content.
Agent files (CLAUDE.md, AGENTS.md, .cursor/rules) guide Claude and other developers through your standards. These files must reference standards — never duplicate them — so that updates to a standard are immediately visible to agents.
The key principle of claude-standards is reference, never duplicate.
docs/standards/ contains standard documentsReference: levels/L1-context/templates/ for example context files
Identify which agent tools are in use — Determine which files guide your team
Create or update CLAUDE.md — Add standards references
docs/standards/See docs/standards/engineering/typescript.md for type safety rules./docs/standards/...)Create or update AGENTS.md — Add team process guidance
Before writing code, agents should read docs/standards/engineering/Create .cursor/rules/ files (if applicable) — Add IDE-level rules
.cursor/rules/engineering.md references docs/standards/engineering/Verify standards are referenced, not duplicated — Check for content duplication
See docs/standards/[category]/[standard].mdRun check-standards-refs.sh — Verify all references are valid
./levels/L2-ceremonies/scripts/check-standards-refs.sh
Duplicating standard content into context files — Major maintenance burden
Missing wiring — Standard exists but no agent sees it
Hardcoded file paths instead of relative paths — Breaks in different contexts
/Users/someone/projects/repo/docs/standards/engineering/api.md./docs/standards/engineering/api.mdInconsistent reference format — Agent files don't follow a pattern
See docs/..., some use Read about..., some use Check...See [Standard Title](./docs/standards/category/file.md)[Title](path)levels/L1-context/templates/ — Example CLAUDE.md and AGENTS.mdlevels/L2-ceremonies/scripts/check-standards-refs.sh — Reference verification scriptAGENTS.md (in this repo) — Example of well-wired agent context