Write Project Agent Guidance
Create or repair root-level AGENTS.md, CLAUDE.md, or equivalent project guidance from verified repository evidence and current runtime precedence. Use when onboarding an agent runtime or replacing generic generated instructions with durable project-specific rules.
Runs on
Scope
$npx @youdede/toolkit add write-project-agent-guidance --target claude-code
What it does
Write lean root agent guidance from verified project commands, boundaries, and canonical context.
When it fires
- setup
- design
- maintenance
How it behaves
It does not invent commands, architecture, tracker conventions, or ownership from filenames alone.
It does not duplicate canonical documentation or encode transient work status as permanent guidance.
It does not overwrite existing agent guidance or choose a new runtime filename without review.
- Version
- 1.3.0
- Licence
- RiskThis skill writes lean root agent guidance from verified project commands, boundaries, and canonical context; it does not overwrite existing agent guidance or choose a new runtime filename without review.
- Medium
- ModeHow it works: fixed rules, model instructions, or both.
- Prompt only
- Behaviour
- Advises, never blocks
- On failure
- Stops and reports
- LatencyThe skill writes lean root agent guidance from verified project commands, boundaries, and canonical context, using sequential evidence and verification steps.
- Bounded
- Data retentionWhether data remains after use and who manages its storage.
- Managed by the runtime
Often used with
All in Development