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.
This commit is contained in:
Łukasz Boryń 2026-07-30 12:53:08 +02:00
parent bcf517f033
commit bb35812d45
28 changed files with 87 additions and 73 deletions

View File

@ -104,8 +104,11 @@ This repo holds Claude Code skills. When editing here:
agent sees when deciding to load the skill, so make triggers concrete.
User-invoked skills (`disable-model-invocation: true`) get one
human-facing line instead; no "Use when" boilerplate.
- Keep `SKILL.md` ≤ 110 lines. Split into `REFERENCE.md` / `EXAMPLES.md` if
it grows.
- Keep `SKILL.md` ≤ 110 lines. If it grows, push detail into **topic-named
siblings** in lowercase-kebab (`deepening.md`, `anti-patterns.md`) — one
topic per file, named for the topic. Never a generic catch-all name, and
never uppercase: `SKILL.md` is the only uppercase file in a skill
directory.
- No time-sensitive content (dates, "current" model names).
- `scripts/` is only for deterministic helpers, not prose.
- Claude Code only scans one level deep under `~/.claude/skills/`; new

View File

@ -6,7 +6,7 @@ answers:
cites:
- skills/loop
- skills/engineering/bdd/SKILL.md
- skills/productivity/conjure-a-skill/PRINCIPLES.md
- skills/productivity/conjure-a-skill/principles.md
status: live
---
@ -50,6 +50,6 @@ frontmatter `description` (routing) plus its SKILL.md body (procedure).
may go without ([decisions/019](decisions/019-recon-may-self-fire.md)).
- **Progressive disclosure** — SKILL.md bodies point to topic-named
sibling files; swapping a sibling changes behaviour without touching
the router (`skills/productivity/conjure-a-skill/PRINCIPLES.md`).
the router (`skills/productivity/conjure-a-skill/principles.md`).
- **Cross-links** — skills reference each other by relative path;
category moves are renames across these links (grep before moving).

View File

@ -4,7 +4,7 @@ purpose: Fix octobot's own vocabulary — one canonical name per concept, with w
answers:
- "What is the canonical name for this concept in octobot?"
cites:
- skills/productivity/conjure-a-skill/GLOSSARY.md
- skills/productivity/conjure-a-skill/glossary.md
- skills/loop/write-OKF/okf-layout.md
status: live
---
@ -13,7 +13,7 @@ status: live
Vocabulary for octobot itself. Skill-authoring terms (leading word,
context load, progressive disclosure, sprawl, no-op) live in
[conjure-a-skill/GLOSSARY.md](../skills/productivity/conjure-a-skill/GLOSSARY.md)
[conjure-a-skill/glossary.md](../skills/productivity/conjure-a-skill/glossary.md)
— not duplicated here.
## Language

View File

@ -86,3 +86,11 @@ status: live
a SKILL/REFERENCE split, which exceeds the blueprint's two declared seams.
A blueprint adding a step to a near-cap skill must price the split into its
scope. Source: weave of blueprint 012.
- Believed: a Verify that greps for the old names is a sound gate for a
rename sweep. True: it collides with the sweep's own doctrine — a rule
banning a filename has to be able to *say* that filename, so prose listing
the banned names trips the very grep meant to prove the sweep finished.
014's locked Verify forced both the doctrine and this note to state the rule
positively, naming no offender. A bare-filename grep cannot separate a
*reference* from a *prohibition*; scope it to link syntax, or exempt the
files that carry the rule. Source: weave of blueprint 014.

View File

@ -1,6 +1,6 @@
---
type: Blueprint
status: locked
status: implemented
traces-to: user request 2026-07-30
sounded: 2026-07-30
cites:

View File

@ -4,7 +4,7 @@ purpose: Stop per-issue glossaries fragmenting the domain vocabulary.
answers:
- "How many glossaries may a bounded context have?"
cites:
- skills/engineering/model-domain/CONTEXT-FORMAT.md
- skills/engineering/model-domain/context-format.md
status: live
reversible: yes — split the glossary again
---

View File

@ -5,7 +5,7 @@ answers:
- "Where do settled decisions live?"
cites:
- OKF/decisions/index.md
- skills/engineering/model-domain/DECISION-FORMAT.md
- skills/engineering/model-domain/decision-format.md
status: live
reversible: by re-splitting
---

View File

@ -35,7 +35,7 @@ your task needs. Humans welcome too.
- [011](blueprints/011-add-blueprint-level-muster.md) — add blueprint-level muster, the opt-in human review gate in weave — implemented
- [012](blueprints/012-add-ferry-level-muster.md) — add ferry-level muster, the human review gate at moor — implemented
- [013](blueprints/013-split-moor-into-skill-and-reference.md) — split moor into SKILL.md + REFERENCE.md to hold the line cap — implemented
- [014](blueprints/014-unify-skill-sibling-file-naming.md) — unify skill sibling-file naming on lowercase-kebab topic names — locked
- [014](blueprints/014-unify-skill-sibling-file-naming.md) — unify skill sibling-file naming on lowercase-kebab topic names — implemented
## Ferries

View File

@ -116,7 +116,7 @@ except **sound**, which only reads — see `OKF/decisions/019`.
files only on the warrant test.
- **design-codebase** — shared vocabulary for designing deep modules
(module, interface, seam, adapter, depth, leverage, locality);
`DEEPENING.md` for dependency-aware seam strategy, `DESIGN-IT-TWICE.md`
`deepening.md` for dependency-aware seam strategy, `design-it-twice.md`
for parallel-sub-agent interface exploration.
- **style-r** — Tidyverse + `box::use` + `dtplyr` standards with
paired good/bad sibling docs (`box.md`, `tidyverse.md`, `dtplyr.md`).

View File

@ -46,7 +46,7 @@ Two modules that always travel together, each exporting one thin function?
Merge them. A module that exports eight helpers users always call in the
same order? Deepen — collapse them behind one entry point. See
[`deep-modules-r.md`](deep-modules-r.md) for the R shape, and
[`../design-codebase/DEEPENING.md`](../design-codebase/DEEPENING.md) for the
[`../design-codebase/deepening.md`](../design-codebase/deepening.md) for the
dependency-aware strategy (replace, don't layer — old tests on the shallow
modules become waste once the deepened interface has its own tests).

View File

@ -97,4 +97,4 @@ Mutating in place hides the effect and couples every test to caller state.
- **"Interface" = the TypeScript `interface` keyword or a class's public methods**: too narrow — interface here is every fact a caller must know.
- **"Boundary"**: overloaded with DDD's bounded context. Say **seam** or **interface**.
[DEEPENING.md](DEEPENING.md) — dependency categories, seam discipline, replace-don't-layer testing. [DESIGN-IT-TWICE.md](DESIGN-IT-TWICE.md) — parallel sub-agents to design the interface several radically different ways; compare on depth, locality, seam placement.
[deepening.md](deepening.md) — dependency categories, seam discipline, replace-don't-layer testing. [design-it-twice.md](design-it-twice.md) — parallel sub-agents to design the interface several radically different ways; compare on depth, locality, seam placement.

View File

@ -16,7 +16,7 @@ space for the chosen candidate:
- The constraints any new interface would need to satisfy.
- The dependencies it would rely on, and which category they fall into
(see [DEEPENING.md](DEEPENING.md)).
(see [deepening.md](deepening.md)).
- A rough illustrative code sketch to ground the constraints — not a
proposal, just a way to make the constraints concrete.
@ -31,7 +31,7 @@ multiple Agent tool uses** so they run concurrently. Each must produce a
`subagent_type: claude` (general-purpose) so each has full read + search.
Prompt each sub-agent with a separate technical brief (file paths, coupling
details, dependency category from [DEEPENING.md](DEEPENING.md), what sits
details, dependency category from [deepening.md](deepening.md), what sits
behind the seam). The brief is independent of the user-facing problem-space
explanation in Step 1. Give each agent a different design constraint:
@ -52,7 +52,7 @@ Each sub-agent outputs:
1. Interface (types, methods, params — plus invariants, ordering, error modes).
2. Usage example showing how callers use it.
3. What the implementation hides behind the seam.
4. Dependency strategy and adapters (see [DEEPENING.md](DEEPENING.md)).
4. Dependency strategy and adapters (see [deepening.md](deepening.md)).
5. Trade-offs — where leverage is high, where it's thin.
### 3. Present and compare

View File

@ -38,9 +38,9 @@ habit any skill can do; that's not this skill.
code, name file and line. *"`_targets.R:14` sets `format = 'qs2'` —
that contradicts the parquet write you just described."*
6. **Update `CONTEXT.md` inline.** One term resolved → one edit. Never
batched. Format: see [CONTEXT-FORMAT.md](CONTEXT-FORMAT.md).
batched. Format: see [context-format.md](context-format.md).
7. **Offer decision files sparingly** (the warrant test, see
[DECISION-FORMAT.md](DECISION-FORMAT.md)). Default is *no*.
[decision-format.md](decision-format.md)). Default is *no*.
## File layout the skill expects

View File

@ -28,7 +28,7 @@ disable-model-invocation: true
| *(none of the above)* | generic | scripts, `Makefile`/`justfile`, repo files |
Field-by-field extraction per ecosystem lives in
[REFERENCE.md](REFERENCE.md).
[ecosystems.md](ecosystems.md).
2. **Read sources, never memory.** Pull `name`, `description`, `license`,
dependencies, and runnable commands from the files above. For a generic
@ -52,7 +52,7 @@ disable-model-invocation: true
[`readme.template.md`](readme.template.md):
- `<project.name>`, `<project.description>`, `<project.overview>`,
`<project.license.text>`.
- `<install-block>` — the ecosystem's install snippet (REFERENCE.md).
- `<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 (`bash` for

View File

@ -25,7 +25,7 @@
<project.overview>
<!-- Installation: the ecosystem block. Pick ONE and delete the rest.
See REFERENCE.md for what each ecosystem reads and emits. -->
See ecosystems.md for what each ecosystem reads and emits. -->
## Installation
<install-block>

View File

@ -45,7 +45,7 @@ fill the missing sections as deltas, don't restart.
Roadmap and glossary must use identical canonical terms.
- **Decision files** only by the warrant test — the decision answers a
question no other page answers, and you can name the `cites:` it binds
([DECISION-FORMAT.md](../../engineering/model-domain/DECISION-FORMAT.md)).
([decision-format.md](../../engineering/model-domain/decision-format.md)).
Default no.
- Roadmap phases feed [blueprint](../blueprint/SKILL.md) — write phases
concrete enough that a blueprint can trace to them.

View File

@ -1,37 +0,0 @@
# moor — mechanical detail
Blocks the [SKILL.md](SKILL.md) steps invoke but need not inline. Each
section is linked from the step that uses it. Nothing here changes moor's
behaviour — it is the same instructions, moved off the spine.
## GRADUATE {#graduate}
The graduated `decisions/NNN-<slug>.md` carries the frontmatter of
[DECISION-FORMAT.md](../../engineering/model-domain/DECISION-FORMAT.md)
plus a question-shaped `decisions/index.md` line. The `Resolution` body
moves **verbatim** — one home, never two copies; `Options` and `Why it
must be decided` stay behind for COLLAPSE. `blocked-by` edges drop; the
register is not a dependency graph. A resolution that fails the warrant
test graduates nowhere and stays in the collapsed page — graduation is
the default, not an obligation.
## COLLAPSE {#collapse}
The pin is read off `@-`, because the sealing commit cannot name itself
and the parent is where the `D-<n>` files still exist:
```
jj log -r @- --no-graph -T 'change_id ++ " " ++ commit_id'
```
The page opens `type: Ferry Map`, then the pin:
```yaml
sealed:
change: <jj change id>
commit: <git hash>
date: <ISO date>
```
A ferry that mustered (step 3) also carries `review-base: <changeid>`
in this block.

View File

@ -51,12 +51,12 @@ the wiki so the next cold-start agent reads reality, not history.
number, plus a question-shaped `decisions/index.md` line; a
resolution that fails the test graduates nowhere and stays in the
collapsed page. Frontmatter, the verbatim `Resolution` move, and the
`blocked-by` drop: [REFERENCE.md](REFERENCE.md#graduate).
`blocked-by` drop: [graduate.md](graduate.md).
6. **COLLAPSE** — `ferries/<topic>/` becomes `ferries/<topic>.md`:
problem shape, rejected alternatives, pointers to the graduated
numbers. Opens `type: Ferry Map`, then the `sealed:` pin (and
`review-base:` if it mustered), read off `@-` — the pin block and its
`jj log` template: [REFERENCE.md](REFERENCE.md#collapse). Then remove
`jj log` template: [collapse.md](collapse.md). Then remove
the directory — history is the archive, the pin the way back in.
7. **PRUNE + INDEX** — sweep the arrived ferry for unextracted
follow-ups; every open thread gets a home + backlink:

View File

@ -0,0 +1,24 @@
# moor — collapse a moored ferry
The block [SKILL.md](SKILL.md) step 6 invokes but need not inline. Nothing
here changes moor's behaviour — it is the same instructions, moved off the
spine.
The pin is read off `@-`, because the sealing commit cannot name itself
and the parent is where the `D-<n>` files still exist:
```
jj log -r @- --no-graph -T 'change_id ++ " " ++ commit_id'
```
The page opens `type: Ferry Map`, then the pin:
```yaml
sealed:
change: <jj change id>
commit: <git hash>
date: <ISO date>
```
A ferry that mustered (step 3) also carries `review-base: <changeid>`
in this block.

View File

@ -0,0 +1,14 @@
# moor — graduate a resolved decision
The block [SKILL.md](SKILL.md) step 5 invokes but need not inline. Nothing
here changes moor's behaviour — it is the same instructions, moved off the
spine.
The graduated `decisions/NNN-<slug>.md` carries the frontmatter of
[decision-format.md](../../engineering/model-domain/decision-format.md)
plus a question-shaped `decisions/index.md` line. The `Resolution` body
moves **verbatim** — one home, never two copies; `Options` and `Why it
must be decided` stay behind for COLLAPSE. `blocked-by` edges drop; the
register is not a dependency graph. A resolution that fails the warrant
test graduates nowhere and stays in the collapsed page — graduation is
the default, not an obligation.

View File

@ -71,7 +71,7 @@ loop, not on disk.
At the cap it **sheds**, keeping the map, seams and flows and moving
per-module prose into the `modules/`/`analyses/` pages that repo's scan
proposed — outside their derived fences, which refresh regenerates.
- **CONTEXT.md** — glossary per model-domain's CONTEXT-FORMAT.md.
- **CONTEXT.md** — glossary per model-domain's context-format.md.
**One canonical glossary per bounded context — never per issue.**
Issue-local terms live in their blueprint until they recur. Splits into
`context/<subroot>.md` only when multi-context; over the cap in a
@ -82,7 +82,7 @@ loop, not on disk.
and its blueprint numbers, which hold the detail.
- **decisions/** — the why-register: one file per settled decision,
permanent numbers, format in
[model-domain/DECISION-FORMAT.md](../../engineering/model-domain/DECISION-FORMAT.md).
[model-domain/decision-format.md](../../engineering/model-domain/decision-format.md).
`decisions/index.md` carries one **question-shaped** line per decision,
the question derived from the file's first `answers:` entry — index.md
lists the register, not its members.

View File

@ -24,7 +24,7 @@ pointer** so the top of the **information hierarchy** stays legible),
Failure modes to hunt: **premature completion**, **duplication**,
**sediment**, **no-op**.
Full vocabulary: [GLOSSARY.md](GLOSSARY.md). Design playbook: [PRINCIPLES.md](PRINCIPLES.md).
Full vocabulary: [glossary.md](glossary.md). Design playbook: [principles.md](principles.md).
## Process
1. **Gather** — ask the user (one message, grouped):
@ -40,7 +40,7 @@ Full vocabulary: [GLOSSARY.md](GLOSSARY.md). Design playbook: [PRINCIPLES.md](PR
description carries "Use when" triggers).
- one-line purpose
- concrete trigger phrases ("Use when ...")
- **completion criteria** — checkable, exhaustive (see PRINCIPLES.md)
- **completion criteria** — checkable, exhaustive (see principles.md)
- any deterministic helpers needed (scripts? reference docs?)
2. **Check for overlap** — `ls ~/code/octobot/skills/*/` and grep
descriptions; a near-match is **duplication** — propose extending the
@ -56,10 +56,12 @@ Full vocabulary: [GLOSSARY.md](GLOSSARY.md). Design playbook: [PRINCIPLES.md](PR
grows past that, use **progressive disclosure**: push **reference**
into **topic-named siblings** (`tests-r.md`, `mocking-r.md`,
`feedback-loops-r.md`, `anti-patterns.md`, `examples.md`). One topic
per file, named for the topic. Siblings carry no hard cap — they load
per file, named for the topic, in **lowercase-kebab** — a generic
catch-all name or an uppercase one fails review; `SKILL.md` is the only
uppercase file in the directory. Siblings carry no hard cap — they load
on demand — but keep one topic per file.
- no time-sensitive content
- every line passes the **no-op** test (PRINCIPLES.md §pruning)
- every line passes the **no-op** test (principles.md §pruning)
5. **Link** — Claude Code only scans one level deep under
`~/.claude/skills/`, so create a per-skill symlink:
`ln -s ~/code/octobot/skills/<category>/<name> ~/.claude/skills/<name>`
@ -95,9 +97,9 @@ description: <what it does>. Use when <concrete trigger>.
[`steer`](../../loop/steer/SKILL.md).
- **Never let `SKILL.md` exceed 110 lines.** Split into topic-named
siblings before committing.
- Reject any line that fails the **no-op** test (PRINCIPLES.md §pruning).
- Reject any line that fails the **no-op** test (principles.md §pruning).
## See also
- [PRINCIPLES.md](PRINCIPLES.md) — the design playbook this skill applies.
- [GLOSSARY.md](GLOSSARY.md) — definitions for every bold term above.
- [principles.md](principles.md) — the design playbook this skill applies.
- [glossary.md](glossary.md) — definitions for every bold term above.
- [`../commit-atomic-jj/SKILL.md`](../commit-atomic-jj/SKILL.md) — commit format.

View File

@ -3,7 +3,7 @@
The domain model for what makes a skill great. A skill exists to wrangle
determinism out of a stochastic system; every term below is a lever on that
goal. This is the disclosed reference for [`conjure-a-skill`](SKILL.md) and
[`PRINCIPLES.md`](PRINCIPLES.md).
[`principles.md`](principles.md).
**Bold terms** in any definition are themselves defined in this glossary;
find them by their heading.

View File

@ -1,7 +1,7 @@
# Principles — what makes a conjured skill predictable
The design playbook [`conjure-a-skill`](SKILL.md) applies. **Bold terms** are
defined in [`GLOSSARY.md`](GLOSSARY.md).
defined in [`glossary.md`](glossary.md).
A skill wrangles determinism out of a stochastic system. **Predictability** —
same *process* every run, not same output — is the root virtue.
@ -62,7 +62,7 @@ concept's definition, rules, and caveats under one heading.
- **By sequence** — split a run of **steps** when **post-completion steps**
tempt the agent to rush the current one (**premature completion**).
- **By the octobot 110-line cap** — when `SKILL.md` exceeds 110 lines, split reference into topic-named siblings.
House enforcement of **sprawl**. `GLOSSARY.md` is the documented exception.
House enforcement of **sprawl**. `glossary.md` is the documented exception.
## Pruning