write-agent-guidance
Skill0 starsChanged 3 months agoApache-2.0View on GitHub
Write repository steering and referenced guidance that agents can reach and apply at the right task boundary. Use when creating or restructuring agent-facing instructions, repairing missed context, or clarifying instruction completion. Do not use for Skill authoring alone, ordinary prose edits, domain terminology decisions, or merely following existing guidance.
In this repository20 other files it gives its agents.
- AGENTS.mdAGENTS.md
- build-prototypeSkill
- challenge-planSkill
- design-interfaceSkill
- evaluate-skillSkill
- fix-bugSkill
- implement-test-firstSkill
- improve-skillSkill
- investigate-bugSkill
- map-decisionsSkill
- migrate-systemSkill
- model-domainSkill
- refactor-codeSkill
- reframe-explanationSkill
- review-requirementsSkill
- split-workSkill
- synthesize-evidenceSkill
- write-commit-messageSkill
- write-skillSkill
- write-specSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
Keep broadly needed local rules in the entry document.
- Distinctive: line 24
Keep each rule authoritative in one place, with its exceptions and completion condition nearby.
- Distinctive: line 32
When sources conflict, expose the narrow unresolved choice instead of silently accepting one rule or weakening both.
- Distinctive: line 48
Stop when the requested guidance is drafted or changed, affected routes resolve, and representative tasks preserve the intended decisions …
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Write Agent Guidance
Make the requested guidance usable from the context an agent actually receives, with the same intended obligations and a checkable stopping point.
- Inspect the entry document, relevant referenced material, and local sources of authority. Identify which task decisions the guidance must change and where agents currently miss them. Preserve scope, exceptions, approval boundaries, and unresolved disagreements; editing instructions does not authorize deciding new policy or executing the actions they describe.
- Keep broadly needed local rules in the entry document. Put conditional detail at its existing owner when one exists. A Context Pointer must name the material and the task condition that requires reading it, early enough to affect the decision. Cover distinct branches without making every task load every document. Repair a weak pointer before copying its target into always-loaded steering.
- Keep each rule authoritative in one place, with its exceptions and completion condition nearby. Refer to discoverable commands and configuration instead of maintaining a second copy. Remove stale or redundant wording only after checking that its meaning survives. Split files only when a real conditional boundary earns the navigation cost; a short coherent document can stay intact.
- State the action and the observable evidence that finishes it. Preserve required prohibitions and prerequisites when omission would change behavior. Clarify a vague completion bound before inventing a workflow, handoff, or extra document. When sources conflict, expose the narrow unresolved choice instead of silently accepting one rule or weakening both.
- Return a draft or edit the authorized documents at the requested scope. Check affected links and trace representative tasks from the entry context: one that must reach each changed branch and one nearby task that should bypass it. Verify that obligations, exceptions, and stopping evidence survive the rewrite. A link existing is structural proof; an agent reaching and applying it is behavior evidence. Distinguish a simulated trace from an independent execution.
This Skill owns the delivery of repository instructions through documents. Skill selection contracts and Skill bodies belong to Skill authoring; domain meaning belongs to domain modeling. Compose only when the request includes a separate guidance outcome, such as both a new Skill and repository steering. General agent mindset stays in Core. A filename such as AGENTS.md or CLAUDE.md does not by itself require this Skill.
Stop when the requested guidance is drafted or changed, affected routes resolve, and representative tasks preserve the intended decisions and completion bounds, or when a material policy conflict is explicitly left for its owner.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

