From bb35812d4530324ae6f73b6b6adf8cb8670c9acb Mon Sep 17 00:00:00 2001 From: Lukasz Boryn Date: Thu, 30 Jul 2026 12:53:08 +0200 Subject: [PATCH] refactor(skills): unify sibling-file naming on lowercase-kebab topic names MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- CLAUDE.md | 7 +++- OKF/ARCHITECTURE.md | 4 +- OKF/CONTEXT.md | 4 +- OKF/LEARNINGS.md | 8 ++++ .../014-unify-skill-sibling-file-naming.md | 2 +- OKF/decisions/004-one-glossary-per-context.md | 2 +- OKF/decisions/012-one-why-register.md | 2 +- OKF/index.md | 2 +- README.md | 2 +- skills/engineering/bdd/refactoring-r.md | 2 +- skills/engineering/design-codebase/SKILL.md | 2 +- .../{DEEPENING.md => deepening.md} | 0 ...{DESIGN-IT-TWICE.md => design-it-twice.md} | 6 +-- skills/engineering/model-domain/SKILL.md | 4 +- .../{CONTEXT-FORMAT.md => context-format.md} | 0 ...{DECISION-FORMAT.md => decision-format.md} | 0 skills/engineering/write-readme/SKILL.md | 4 +- .../{REFERENCE.md => ecosystems.md} | 0 .../write-readme/readme.template.md | 2 +- skills/loop/architect/SKILL.md | 2 +- skills/loop/moor/REFERENCE.md | 37 ------------------- skills/loop/moor/SKILL.md | 4 +- skills/loop/moor/collapse.md | 24 ++++++++++++ skills/loop/moor/graduate.md | 14 +++++++ skills/loop/write-OKF/okf-layout.md | 4 +- skills/productivity/conjure-a-skill/SKILL.md | 16 ++++---- .../{GLOSSARY.md => glossary.md} | 2 +- .../{PRINCIPLES.md => principles.md} | 4 +- 28 files changed, 87 insertions(+), 73 deletions(-) rename skills/engineering/design-codebase/{DEEPENING.md => deepening.md} (100%) rename skills/engineering/design-codebase/{DESIGN-IT-TWICE.md => design-it-twice.md} (93%) rename skills/engineering/model-domain/{CONTEXT-FORMAT.md => context-format.md} (100%) rename skills/engineering/model-domain/{DECISION-FORMAT.md => decision-format.md} (100%) rename skills/engineering/write-readme/{REFERENCE.md => ecosystems.md} (100%) delete mode 100644 skills/loop/moor/REFERENCE.md create mode 100644 skills/loop/moor/collapse.md create mode 100644 skills/loop/moor/graduate.md rename skills/productivity/conjure-a-skill/{GLOSSARY.md => glossary.md} (99%) rename skills/productivity/conjure-a-skill/{PRINCIPLES.md => principles.md} (97%) diff --git a/CLAUDE.md b/CLAUDE.md index fde2dfd..96314d4 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -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 diff --git a/OKF/ARCHITECTURE.md b/OKF/ARCHITECTURE.md index 3a1754e..0b5d9af 100644 --- a/OKF/ARCHITECTURE.md +++ b/OKF/ARCHITECTURE.md @@ -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). diff --git a/OKF/CONTEXT.md b/OKF/CONTEXT.md index 8cc9129..d50ceb5 100644 --- a/OKF/CONTEXT.md +++ b/OKF/CONTEXT.md @@ -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 diff --git a/OKF/LEARNINGS.md b/OKF/LEARNINGS.md index 0ef2c70..4a6978a 100644 --- a/OKF/LEARNINGS.md +++ b/OKF/LEARNINGS.md @@ -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. diff --git a/OKF/blueprints/014-unify-skill-sibling-file-naming.md b/OKF/blueprints/014-unify-skill-sibling-file-naming.md index 0600806..dd74fba 100644 --- a/OKF/blueprints/014-unify-skill-sibling-file-naming.md +++ b/OKF/blueprints/014-unify-skill-sibling-file-naming.md @@ -1,6 +1,6 @@ --- type: Blueprint -status: locked +status: implemented traces-to: user request 2026-07-30 sounded: 2026-07-30 cites: diff --git a/OKF/decisions/004-one-glossary-per-context.md b/OKF/decisions/004-one-glossary-per-context.md index 1c394a0..6761c1e 100644 --- a/OKF/decisions/004-one-glossary-per-context.md +++ b/OKF/decisions/004-one-glossary-per-context.md @@ -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 --- diff --git a/OKF/decisions/012-one-why-register.md b/OKF/decisions/012-one-why-register.md index 8dd0bec..178881c 100644 --- a/OKF/decisions/012-one-why-register.md +++ b/OKF/decisions/012-one-why-register.md @@ -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 --- diff --git a/OKF/index.md b/OKF/index.md index bd20c6e..be55b99 100644 --- a/OKF/index.md +++ b/OKF/index.md @@ -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 diff --git a/README.md b/README.md index b6f14c3..a354f29 100644 --- a/README.md +++ b/README.md @@ -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`). diff --git a/skills/engineering/bdd/refactoring-r.md b/skills/engineering/bdd/refactoring-r.md index 403d70e..50d707d 100644 --- a/skills/engineering/bdd/refactoring-r.md +++ b/skills/engineering/bdd/refactoring-r.md @@ -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). diff --git a/skills/engineering/design-codebase/SKILL.md b/skills/engineering/design-codebase/SKILL.md index bfb608d..289732e 100644 --- a/skills/engineering/design-codebase/SKILL.md +++ b/skills/engineering/design-codebase/SKILL.md @@ -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. diff --git a/skills/engineering/design-codebase/DEEPENING.md b/skills/engineering/design-codebase/deepening.md similarity index 100% rename from skills/engineering/design-codebase/DEEPENING.md rename to skills/engineering/design-codebase/deepening.md diff --git a/skills/engineering/design-codebase/DESIGN-IT-TWICE.md b/skills/engineering/design-codebase/design-it-twice.md similarity index 93% rename from skills/engineering/design-codebase/DESIGN-IT-TWICE.md rename to skills/engineering/design-codebase/design-it-twice.md index ff0acfe..d3b6f4e 100644 --- a/skills/engineering/design-codebase/DESIGN-IT-TWICE.md +++ b/skills/engineering/design-codebase/design-it-twice.md @@ -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 diff --git a/skills/engineering/model-domain/SKILL.md b/skills/engineering/model-domain/SKILL.md index a7114e2..999fc59 100644 --- a/skills/engineering/model-domain/SKILL.md +++ b/skills/engineering/model-domain/SKILL.md @@ -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 diff --git a/skills/engineering/model-domain/CONTEXT-FORMAT.md b/skills/engineering/model-domain/context-format.md similarity index 100% rename from skills/engineering/model-domain/CONTEXT-FORMAT.md rename to skills/engineering/model-domain/context-format.md diff --git a/skills/engineering/model-domain/DECISION-FORMAT.md b/skills/engineering/model-domain/decision-format.md similarity index 100% rename from skills/engineering/model-domain/DECISION-FORMAT.md rename to skills/engineering/model-domain/decision-format.md diff --git a/skills/engineering/write-readme/SKILL.md b/skills/engineering/write-readme/SKILL.md index 148f109..fc47034 100644 --- a/skills/engineering/write-readme/SKILL.md +++ b/skills/engineering/write-readme/SKILL.md @@ -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): - ``, ``, ``, ``. - - `` — the ecosystem's install snippet (REFERENCE.md). + - `` — the ecosystem's install snippet (ecosystems.md). - `` — task-runner recipes (grouped by section comment), CLI invocation, or setup steps for a config/script repo. - `` — the fence language for the usage block (`bash` for diff --git a/skills/engineering/write-readme/REFERENCE.md b/skills/engineering/write-readme/ecosystems.md similarity index 100% rename from skills/engineering/write-readme/REFERENCE.md rename to skills/engineering/write-readme/ecosystems.md diff --git a/skills/engineering/write-readme/readme.template.md b/skills/engineering/write-readme/readme.template.md index ecbe721..44ef4f7 100644 --- a/skills/engineering/write-readme/readme.template.md +++ b/skills/engineering/write-readme/readme.template.md @@ -25,7 +25,7 @@ + See ecosystems.md for what each ecosystem reads and emits. --> ## Installation diff --git a/skills/loop/architect/SKILL.md b/skills/loop/architect/SKILL.md index 5e9ab52..ca5015c 100644 --- a/skills/loop/architect/SKILL.md +++ b/skills/loop/architect/SKILL.md @@ -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. diff --git a/skills/loop/moor/REFERENCE.md b/skills/loop/moor/REFERENCE.md deleted file mode 100644 index fd43dba..0000000 --- a/skills/loop/moor/REFERENCE.md +++ /dev/null @@ -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-.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-` 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: - commit: - date: -``` - -A ferry that mustered (step 3) also carries `review-base: ` -in this block. diff --git a/skills/loop/moor/SKILL.md b/skills/loop/moor/SKILL.md index 62f2e31..5ecd107 100644 --- a/skills/loop/moor/SKILL.md +++ b/skills/loop/moor/SKILL.md @@ -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//` becomes `ferries/.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: diff --git a/skills/loop/moor/collapse.md b/skills/loop/moor/collapse.md new file mode 100644 index 0000000..6175237 --- /dev/null +++ b/skills/loop/moor/collapse.md @@ -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-` 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: + commit: + date: +``` + +A ferry that mustered (step 3) also carries `review-base: ` +in this block. diff --git a/skills/loop/moor/graduate.md b/skills/loop/moor/graduate.md new file mode 100644 index 0000000..81d4526 --- /dev/null +++ b/skills/loop/moor/graduate.md @@ -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-.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. diff --git a/skills/loop/write-OKF/okf-layout.md b/skills/loop/write-OKF/okf-layout.md index f19b43a..e3456e1 100644 --- a/skills/loop/write-OKF/okf-layout.md +++ b/skills/loop/write-OKF/okf-layout.md @@ -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/.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. diff --git a/skills/productivity/conjure-a-skill/SKILL.md b/skills/productivity/conjure-a-skill/SKILL.md index 4b1177e..af54b0f 100644 --- a/skills/productivity/conjure-a-skill/SKILL.md +++ b/skills/productivity/conjure-a-skill/SKILL.md @@ -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// ~/.claude/skills/` @@ -95,9 +97,9 @@ description: . Use when . [`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. diff --git a/skills/productivity/conjure-a-skill/GLOSSARY.md b/skills/productivity/conjure-a-skill/glossary.md similarity index 99% rename from skills/productivity/conjure-a-skill/GLOSSARY.md rename to skills/productivity/conjure-a-skill/glossary.md index d18558c..b6b847a 100644 --- a/skills/productivity/conjure-a-skill/GLOSSARY.md +++ b/skills/productivity/conjure-a-skill/glossary.md @@ -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. diff --git a/skills/productivity/conjure-a-skill/PRINCIPLES.md b/skills/productivity/conjure-a-skill/principles.md similarity index 97% rename from skills/productivity/conjure-a-skill/PRINCIPLES.md rename to skills/productivity/conjure-a-skill/principles.md index 4560b35..0fb10c2 100644 --- a/skills/productivity/conjure-a-skill/PRINCIPLES.md +++ b/skills/productivity/conjure-a-skill/principles.md @@ -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