Repository agent instructions (entry)
This skill is the maintenance entrypoint for the instruction and skill system.
Root AGENTS.md already provides ordinary repository orientation.
When to use
- You are auditing or changing
AGENTS.md, rule/skill routing, or instruction budgets. - You changed or added something under
docs/ai/skills/and must refresh mirrors.
Workflow
- Read and follow root
AGENTS.md, the nearest scoped instructions, and
openspec/specs/agent-instruction-system/spec.md.
- For canonical task skills maintained by this repo, use
docs/ai/skills/*/SKILL.mdanddocs/ai/rules/agent-skill-routing.md. - After changing skills under
docs/ai/skills/, runbun run skills:sync, thennode scripts/update-skill-audit-hashes.mjs --skill <name>for each changed skill (tests/unit/docs/skill-inventory-audit.test.tschecks the installed payload hashes indocs/ai/skill-source-audit.json), and ensurebun run skills:verifypasses before committing. - Optional tool-specific or ecosystem skills may originate under
.agents/skills/ and be mirrored into .cursor/skills/ and
.claude/skills/; use them only when their SKILL.md description
matches and they remain subordinate to canonical repo guidance.
Checklist
- [ ] Root and scoped instruction sources opened for the maintenance task.
- [ ] Relevant
docs/ai/skills/<topic>/SKILL.mdfiles loaded perdocs/ai/rules/agent-skill-routing.md. - [ ] If
docs/ai/skills/was edited:bun run skills:sync, the audit-hash update for each changed skill, andbun run skills:verifyrun and clean.
See also
- Discover / install skills:
docs/ai/skills/find-skills/SKILL.md - Instruction contract:
openspec/specs/agent-instruction-system/spec.md