Lukasz Boryn bb35812d45 refactor(skills): unify sibling-file naming on lowercase-kebab topic names
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.
2026-07-30 13:04:33 +02:00

79 lines
2.7 KiB
Markdown

# write-readme — per-ecosystem extraction
What to read for each ecosystem, and the `<install-block>` /
`<usage-block>` snippet to emit. Fill `<...>` from the source; omit a line
when its source is absent.
## python (`pyproject.toml`)
Read: `project.name`, `project.description`, `project.dependencies`,
`project.requires-python`, `dependency-groups.dev`, `project.license`. Task
runner: `justfile` recipes (group by `# ── Section ──` comments).
```
## Installation
Requires Python <project.requires-python>. Install with [uv](https://docs.astral.sh/uv/):
uv pip install -e "." # core: <core-deps-csv>
uv pip install -e ".[dev]" # + dev tools: <dev-deps-csv>
```
Usage = `just` recipes. For the full `[dev]`-extras treatment defer to
[`../write-readme-py/SKILL.md`](../write-readme-py/SKILL.md).
## r-package (`DESCRIPTION`)
Read: `Package`, `Title`, `Description`, `Imports`, `License`.
```
## Installation
# install.packages("remotes")
remotes::install_github("<owner>/<Package>")
```
Usage = exported functions / vignette entry points.
## r-analysis (`_targets.R`)
Read: title/description from `index.qmd` front matter or `_targets.R`
header comment. Pipeline targets from `_targets.R`.
```
## Installation
just build-dev && just up # renv::restore() runs in the image build
```
Read the install path from evidence, never from a default: a `justfile`
with Docker recipes means the container is the entry point (a
`Dockerfile` restoring `renv.lock` does the library work). Bare
`renv::restore()` is right only for a repo with a committed `renv.lock`
and no container. Neither → omit the section.
Usage = `targets::tar_make()` plus the `justfile` recipes that wrap it.
## node (`package.json`)
Read: `name`, `description`, `dependencies`, `devDependencies`, `license`,
`scripts`.
```
## Installation
npm install # or pnpm / yarn
```
Usage = the `scripts` block (`npm run <name>`).
## rust (`Cargo.toml`)
Read: `package.name`, `package.description`, `package.license`,
`dependencies`.
```
## Installation
cargo build --release
```
Usage = `cargo run` / installed binary, or `justfile` recipes.
## generic (no manifest)
Config / script / dotfile repos (e.g. shell installers, system configs).
Read: every script's leading comment, `Makefile`/`justfile`, and any
existing README. Ask the user for a one-line description if none is
inferable.
- `<install-block>` → "Clone the repo" or the prerequisite packages.
- `<usage-block>` → the actual setup commands, in order, **verbatim**.
- Group long setup guides under `##` headings per concern (drivers,
browser, display, prompt, …) and link them from the table of contents.
- `<project-layout>` → annotate each top-level script/dir with its role.