skill-edit
Skill1 starsChanged 15 days agoMITView on GitHub
Rewrites one skill file in this repository to the house style in AGENTS.md, without losing an instruction. Fixes what the style linter reports, then applies the judgment rules a linter cannot see. Use for "tighten this skill", "make this skill match the house style", "this SKILL.md is too long", or "style pass on <skill>".
1 other project uses a version of this.
Adopted by
Most recently taken up by
- lost-rob0t/skillstheir own version, first seen Oct 30, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- lost-rob0t/skills★ 0same 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 repository20 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- global/CLAUDE.mdCLAUDE.md
- babysit-prsSkill
- claudeSkill
- copy-editSkill
- debriefSkill
- delegateSkill
- full-sendSkill
- geminiSkill
- launch-summarySkill
- merge-masterSkill
- mockupSkill
- phillipSkill
- phillip-syncSkill
- plain-englishSkill
- pointsgpt-supportSkill
- review-prSkill
- sync-prsSkill
- ui-walkthroughSkill
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 11 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈11
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 31
Read the target file. Write a scratch inventory before you change a character:
- Distinctive: line 33
Every instruction, in order, numbered.
- Distinctive: line 34
Every command, flag, path, and environment variable.
- Distinctive: line 35
Every branch: the condition, and what happens on each side.
- Distinctive: line 36
Every prohibition, and what it forbids.
- Distinctive: line 37
Every pointer to another file, and the condition for reading it.
- Distinctive: line 43
Run the linter on the target:
- Distinctive: line 64
Deletion test: Remove each sentence. If the agent still does the same thing in the same order, leave it removed.
- Distinctive: line 89
Run all five before you finish:
- Distinctive: line 91
Every numbered item in the Phase 1 inventory appears in the new file, or in the reference file you extracted.
- Distinctive: line 97
Read the file as the agent.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
skill-edit
You are the editor. The skill is the contract. Never drop an instruction, a command, a flag,
a path, a file:line, a literal output string, or an exit code. Concision means fewer words per
instruction. It never means fewer instructions.
AGENTS.md owns the style rules. Read it before Phase 1. This skill states
the procedure only.
Input
| Invocation carries | Target |
A skill name (skill-edit gemini) | Every .md file in that directory, SKILL.md first. |
| A file path | That file. |
| Nothing | Run scripts/lint-style --summary and ask which file to take. |
Edit one file per run. A run that touches four files produces a diff nobody reviews.
Phase 1: Inventory the contract
Read the target file. Write a scratch inventory before you change a character:
- Every instruction, in order, numbered.
- Every command, flag, path, and environment variable.
- Every branch: the condition, and what happens on each side.
- Every prohibition, and what it forbids.
- Every pointer to another file, and the condition for reading it.
This inventory is the checklist for Phase 5. Nothing on it disappears without a line in the report.
Phase 2: Fix the mechanical findings
Run the linter on the target:
scripts/lint-style <path>Fix every finding at the source. Rewrite the sentence. Never silence a finding with an
exemption comment unless the passage must name a banned word, such as a rule that bans the word.
A modal finding on a real counterfactual ("if the agent still does the same thing") is the one
case where a rewrite makes the sentence worse. Leave it, and name it in the report.
Two findings need structure, not wording:
long-skill: extract a reference file. Follow the split rules inAGENTS.md.long-description: cut the description to what the router needs. Say what the skill does and when to invoke it. Delete flags, phase names, and implementation detail.
Phase 3: Apply the judgment rules
The linter cannot see these. Work through them in order:
- Deletion test. Remove each sentence. If the agent still does the same thing in the same order, leave it removed. Motivation, stakes, meta-narration, and closing summaries all go.
- One owner per fact. A rule stated twice in one skill drifts. Keep the copy at the point of
use and delete the other. A rule stated in
AGENTS.mdgets a pointer, not a restatement. - Structure over prose. Three cases become a three-row table. Ordered work becomes a numbered list. A branch becomes a table with the condition in column one.
- Progressive disclosure. A section that fires in a minority of runs, or at one late phase
only, moves to its own file. Extract a whole contract, so the agent finishes that job from
SKILL.mdplus one reference. Leave exactly one imperative pointer behind, in bold, with the condition for reading it. Do not summarize what you extracted. - Hedges become conditions.
as needednames no case. Replace it with the case: "Skip Phase 4 when--no-postis set." Delete the hedge when no condition exists.
Phase 4: Preserve the register
A skill is read by a model that acts on every sentence. Keep the imperative mood and the named actor. Keep every Never, Do not, and Stop and ask in bold, because a skim must not miss a prohibition. Keep one word per concept across the whole file. Do not vary a name for style.
Some files defend a different register on purpose. copy-edit/SKILL.md overrides the global rules
for the post body it produces. When a file states an override, the override wins. Style the
instructions around it, not the passage it protects.
Phase 5: Verify, then report
Run all five before you finish:
- Every numbered item in the Phase 1 inventory appears in the new file, or in the reference file you extracted.
scripts/lint-style <path>reports only the findings you named in Phase 2.scripts/validate-skillspasses.git diff --statshows the file got shorter. A style pass that adds lines went wrong, unless it split a table out of a paragraph.- Read the file as the agent. Every branch still resolves to one action.
Then print the report:
skill-edit <path>
lines <before> -> <after>
findings <before> -> <after>
extracted <new reference file, or none>
dropped <every instruction removed, with the reason>
left <every finding kept, with the reason>dropped is the line that matters. An empty dropped on a file that lost 200 lines means you
did not check. Go back to Phase 5, step 1.
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.

