write-instructions
Skill41 starsChanged 35 days agoMITView on GitHub
Writes and changes the text an agent loads: skills, rule files (`CLAUDE.md`), guides and the prompts hooks send. Use it as soon as such a change is discussed, before the first proposal.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- itsmostafa/agent-skillstheir own version, first seen Nov 15, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- itsmostafa/agent-skills★ 4same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository15 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- home/CLAUDE.mdCLAUDE.md
- project-template/CLAUDE.mdCLAUDE.md
- auditSkill
- researchSkill
- triggers-checkSkill
- upkeepSkill
- handoffSkill
- startSkill
- visualizeSkill
- debugSkill
- executeSkill
- groundworkSkill
- review-codeSkill
- tickets-from-specSkill
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 7 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
read-what-exists: Read all of this before the first proposal. - Distinctive: line 21
Check: you can name the line that should have prevented the fault, or show that no line covers the job.
- Distinctive: line 36
Write the fewest lines that pass every case.
- Distinctive: line 43
Put each line where it fires.
- Distinctive: line 50
Check: every case passes, named one by one.
- Very specific: line 52
show-the-exact-text: Read ~/.flow/references/guides/writing.md now. - Distinctive: line 57
Stop. Check: the user read the exact text and approved it.
- Very specific: line 59
land-it: Write exactly the approved text. - Distinctive: line 63
Every record the change makes stale: the spec, the docs, a pointer in another file.
- Distinctive: line 65
Check: a search for the old wording finds no stale mention.
- Very specific: line 67
check-it-later: Write one line where the project keeps checks on real sessions: what to count, the baseline, the target.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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 instructions
The user gives the direction. You write the text.
Every step runs, sized by the job: one rule takes a line or two per step, a skill takes a draft file. After each answer from the user, go back to the step it changes. The ticket keeps each step's result: the problem, the cases, the design, and every proposal dropped, with why.
Steps
read-what-existsRead all of this before the first proposal.- The target file whole, and where it loads: every session, one phase, one skill, or a hook's message.
- For each line the job touches, why it was added: its edit log entry, else
git log -S "<words>"and the ticket its commit names. No reason found → name what the line seems to guard. - What already covers the job: the global and project
CLAUDE.md, the skill's own description, the file's twin. - A fault → the turn where it went wrong, through
flow audit read <session> --turns <n>. Read what the agent leaned on there. - A new skill → what already does part of the job, here and outside (
/flow:research).
Check: you can name the line that should have prevented the fault, or show that no line covers the job.
state-the-problemSay the problem in your own words. The user's words handed back prove nothing.- What goes wrong, or what is wanted, with a real example: the turn, the line, the output.
- Its cause. A loaded line already covered it and was not followed → the fix changes that line's place or shape. A new line beside it fixes nothing.
- The behaviour wanted after the change.
write-the-casesNumber every situation the text must handle, one line each: what happens → what the agent does.- The usual case, and the awkward ones: empty, huge, repeated, interrupted halfway.
- The cases where today's behaviour is right and must stay. A fix too broad breaks them.
- A fault is case 1.
Send steps 2 and 3 in one reply, then stop. Check: the user confirmed the problem and answered the cases, adding their own.
designGrow the user's direction into the strongest design. Try more than one shape of it.- Write the fewest lines that pass every case. Cut or reshape a line before adding one.
- Rewrite in place what already covers the job. Never add a second copy.
- Match the shape to the failure:
- a step the agent skipped → an ordered step ending on a check
- a ban broken under pressure → the ban, paired with the action to take
- output in the wrong shape → a recipe for the right shape, never a list of bans
- a judgment call → the goal, and the reason that decides the cases it does not name
- Put each line where it fires. Every session gets only what fires with no skill loaded.
- A loaded rule the new text could contradict → name it, and say which wins.
- A skill or a rewrite → its sections, start to end, before any step's text. A rewrite maps every old line to its new place or a named cut.
- Walk every case through the design. A case that fails sends you back here.
references/shapes.mdholds section shapes, rule ids, branching a step, skill frontmatter and cuts from real rewrites.Check: every case passes, named one by one.
show-the-exact-textRead~/.flow/references/guides/writing.mdnow. Fix every sentence that fails its tests.- Show the text as it will read, under the file and section it replaces. A rewrite shows the old text beside it.
- A skill or a rewrite → a draft file the user reads start to end:
<name>.draft.mdbeside the old file, or the ticket'sdraft/folder for a new one. - Say in plain words what the text makes the agent do.
Stop. Check: the user read the exact text and approved it.
land-itWrite exactly the approved text.- The file's twin, if it has one.
- The edit log entry, by
~/.flow/references/guides/edit-log.md, where the project keeps one. flow installfor a new or renamed skill.- Every record the change makes stale: the spec, the docs, a pointer in another file.
Check: a search for the old wording finds no stale mention.
check-it-laterWrite one line where the project keeps checks on real sessions: what to count, the baseline, the target. Then end with the next step for the user.
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.

