edit-chapter
Skill2 starsChanged 45 days agoMITView on GitHub
Run the editorial pass on book prose before committing it: style linter, avoid-ai-writing, house-style checklist. Use whenever chapter text, a README or any doc changes.
In this repository5 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- avoid-ai-writingSkill
- organize-by-projectSkill
- organize-folderSkill
- vet-skillSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 9
Call the editor agent on it with this prompt, filling in the path.
- Very specific: line 19
Run python3 scripts/style_check.py <path> --chapters yourself and show the finding count.
- Distinctive: line 22
Do not commit text that has not been through this pass.
≈ “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
Edit a chapter
- Name the file or folder. Ask only if it is unclear.
Call the
editoragent on it with this prompt, filling in the path. Put the rules in the prompt: an agent's own definition may be stale, and agents shorten work they think is unnecessary.Edit
<path>in place. Follow STYLE.md, including American spelling and the Chapter shape sections (report missing ones; never write TESTED.md, the author supplies the facts). Before editing, call the Skill tool withavoid-ai-writing, then read.claude/skills/avoid-ai-writing/references/patterns.mdin full, in pages, to its last heading. Do this even if the target is short. End your reply with this ledger, filled in: a lineLedger, thenSkill loaded: yes,Catalog read through: <text of the last heading you read>,Linter findings: <before> -> <after>,Editing passes: <n>,Model-only checks: <list>.- Save the editor's whole reply to a file and run
python3 scripts/verify_editor_ledger.py <file>. It checks that the ledger says the skill loaded and names the catalog's real last heading. That catches an editor that skipped the end by accident, not one that looked the heading up. If it fails, send the editor back with the failure and do not accept the pass. - Run
python3 scripts/style_check.py <path> --chaptersyourself and show the finding count. - Report in a few lines: changes made, anything left and why, and any decision the author needs to make.
Do not commit text that has not been through this pass. The pre-commit guard checks privacy; this pass checks style. They are separate on purpose.
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.

