Write Folder Agent Guidance
Create or update folder-scoped agent instruction files after inspecting runtime precedence and repository boundaries. Use when a subtree needs commands or constraints that differ from the repository root.
Runs on
Scope
$npx @youdede/toolkit add write-folder-agent-guidance --target claude-code
What it does
Write scoped agent guidance files that inherit cleanly and avoid contradiction.
When it fires
- design
- implementation
How it behaves
It does not duplicate the root guidance into every folder.
It does not invent commands, paths, owners, or runtime precedence.
It does not weaken inherited safety or quality policy without explicit review.
- Version
- 1.3.0
- Licence
- RiskThis skill writes scoped agent guidance files that inherit cleanly and avoid contradiction; it does not duplicate the root guidance into every folder.
- Medium
- ModeHow it works: fixed rules, model instructions, or both.
- Prompt only
- Behaviour
- Advises, never blocks
- On failure
- Stops and reports
- LatencyThe skill writes scoped agent guidance files that inherit cleanly and avoid contradiction, 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