Renames the 8 UPPERCASE offload files to topic-named lowercase-kebab and updates all 33 referring sites, including four OKF cites: blocks that okf-check would otherwise fail on. moor's generic reference file splits into graduate.md + collapse.md — it held two topics, and one-topic-per-file is the rule being enforced; the two links in moor/SKILL.md lose their anchors and address the files directly. write-readme's becomes ecosystems.md. Fixes the doctrine first, in both authorities that state it: CLAUDE.md 5 no longer prescribes a generic catch-all name, and conjure-a-skill step 4 gains the casing rule it omitted. Without that, the next skill author reads CLAUDE.md and recreates the violation. Both the new doctrine and the LEARNINGS note state the rule positively, naming no offender: the blueprint's locked Verify greps for the old filenames, so prose that lists them trips the gate meant to prove the sweep finished. Implements blueprint 014; flips it to implemented with its index line. Verify: 0 error(s), 0 warning(s), exit 0.
3.9 KiB
name, description, disable-model-invocation
| name | description | disable-model-invocation |
|---|---|---|
| write-readme | Generate a README for any project by ecosystem detection (python/R/node/rust/generic). | true |
write-readme
When to use
- Any project needs a README and you do not know its ecosystem up front.
- User says "write readme", "/write-readme", "generate readme", "document the project".
- For a confirmed Python project, the dedicated
../write-readme-py/SKILL.mdcarries the fuller[dev]-extras handling — prefer it once python is established.
Process
-
Detect ecosystem (check in listed order; if several markers are present, ask which is authoritative; if none, use generic):
Marker Ecosystem Source of truth pyproject.tomlpython [project]+justfileDESCRIPTIONr-package DESCRIPTIONfields_targets.Rr-analysis index.qmd/_targets.R+justfilepackage.jsonnode package.json(name/description/scripts)Cargo.tomlrust [package]+cargo/justfile(none of the above) generic scripts, Makefile/justfile, repo filesField-by-field extraction per ecosystem lives in ecosystems.md.
-
Read sources, never memory. Pull
name,description,license, dependencies, and runnable commands from the files above. For a generic repo, read the scripts and any existing README to learn what it does. A marker file can exist without authoritative metadata (monorepo roots, tool-onlypyproject.tomlwith no[project]table) — confirm the manifest actually carries the fields before trusting the detected ecosystem; if it does not, fall back to generic and ask. -
Refuse to invent. If the description is empty, ask the user for a one-line description before writing. Never fabricate dependency versions, deps not listed, recipes not in the task runner, or commands not in the repo. Keep shell commands verbatim — they are the author's tested values; flag anything suspect instead of "fixing" it.
-
Guard an existing README. If
README.mdalready exists, show its diff and get explicit confirmation before overwriting — on a repo not yet under version control there is no undo for a clobbered hand-written file. -
Materialise
README.mdfromreadme.template.md:<project.name>,<project.description>,<project.overview>,<project.license.text>.<install-block>— the ecosystem's install snippet (ecosystems.md).<usage-block>— task-runner recipes (grouped by section comment), CLI invocation, or setup steps for a config/script repo.<usage-lang>— the fence language for the usage block (bashfor shell/task-runner,rfor an r-analysis pipeline,rust/consoleas fits the ecosystem). Do not leave it asbashfor non-shell usage.<project-layout>— the real top-level tree, annotated.- Omit any section with no source data instead of padding it.
-
Stop. Do not commit. Tell the user:
"Review with
jj diff. Check that the Installation and Usage blocks match how you actually run this. Describe with/commit-atomic-jjwhen satisfied."
Guardrails
- Never invent versions, dependencies, recipes, or commands.
- Never rewrite a tested shell command — quote it as-is, flag doubts.
- Never commit; stop after writing the file.
- Omit empty sections rather than hallucinating content.
See also
../write-readme-py/SKILL.md— the worked python example andreadme-py.template.mdthis skill generalizes.../../scaffold/containerize-project/SKILL.md— same marker-file ecosystem detection.../../productivity/commit-atomic-jj/SKILL.md— the commit step this skill hands off to.