diff --git a/CLAUDE.md b/CLAUDE.md index 3726beb..7e9dd49 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -95,7 +95,7 @@ This repo holds Claude Code skills. When editing here: - `description:` must contain an explicit "Use when ..." trigger and stay under 1024 characters. The description is the *only* thing the agent sees when deciding to load the skill — make triggers concrete. -- Keep `SKILL.md` ≤ 100 lines. Split into `REFERENCE.md` / `EXAMPLES.md` if +- Keep `SKILL.md` ≤ 110 lines. Split into `REFERENCE.md` / `EXAMPLES.md` if it grows. - No time-sensitive content (dates, "current" model names). - `scripts/` is only for deterministic helpers, not prose. diff --git a/skills/engineering/nuke-review/SKILL.md b/skills/engineering/nuke-review/SKILL.md index 71d0e82..0c899d6 100644 --- a/skills/engineering/nuke-review/SKILL.md +++ b/skills/engineering/nuke-review/SKILL.md @@ -74,8 +74,14 @@ parallel or atomic shapes. ## How to phrase findings — direct, serious, demanding; not rude - *"this pushes the file past 1k lines. can we decompose this first?"* +- *"this adds another special-case branch into an already busy flow. can we move this behind its own abstraction?"* - *"this works, but it makes the surrounding code more spaghetti. let's keep the behaviour and restructure the implementation."* +- *"this feels like feature logic leaking into a shared path. can we isolate it?"* +- *"this abstraction seems unnecessary. can we just keep the direct flow?"* +- *"why does this need a cast / optional here? can we make the boundary more explicit instead?"* +- *"this looks like a bespoke helper for something we already have elsewhere. can we reuse the canonical one?"* - *"i think there's a code-judo move here that makes this much simpler. can we reframe so these branches disappear?"* +- *"this refactor moves complexity around, but doesn't really delete it. is there a way to make the model itself simpler?"* ## Output diff --git a/skills/productivity/conjure-a-skill/PRINCIPLES.md b/skills/productivity/conjure-a-skill/PRINCIPLES.md index b1db162..460b4e5 100644 --- a/skills/productivity/conjure-a-skill/PRINCIPLES.md +++ b/skills/productivity/conjure-a-skill/PRINCIPLES.md @@ -61,7 +61,7 @@ concept's definition, rules, and caveats under one heading. another skill must reach it. - **By sequence** — split a run of **steps** when **post-completion steps** tempt the agent to rush the current one (**premature completion**). -- **By the octobot 100-line cap** — when a file exceeds 100 lines, split. +- **By the octobot 110-line cap** — when a file exceeds 110 lines, split. House enforcement of **sprawl**. `GLOSSARY.md` is the documented exception. ## Pruning diff --git a/skills/productivity/conjure-a-skill/SKILL.md b/skills/productivity/conjure-a-skill/SKILL.md index b8a47a5..5e7e080 100644 --- a/skills/productivity/conjure-a-skill/SKILL.md +++ b/skills/productivity/conjure-a-skill/SKILL.md @@ -1,6 +1,6 @@ --- name: conjure-a-skill -description: Conjure a new Claude Code skill that earns its place — verb-first name, sharp completion criteria, progressive-disclosure layout, no-op-free body, every file ≤100 lines. Use when the user says "conjure a skill", "/conjure-a-skill", "write a skill", "create a skill", "add a skill", or describes a recurring workflow worth capturing. +description: Conjure a new Claude Code skill that earns its place — verb-first name, sharp completion criteria, progressive-disclosure layout, no-op-free body, every file ≤110 lines. Use when the user says "conjure a skill", "/conjure-a-skill", "write a skill", "create a skill", "add a skill", or describes a recurring workflow worth capturing. --- # conjure-a-skill @@ -44,7 +44,7 @@ Full vocabulary: [GLOSSARY.md](GLOSSARY.md). Design playbook: [PRINCIPLES.md](PR 4. **Review** — show the draft to the user; iterate until approved. Verify: - `name:` matches the folder name - `description:` contains "Use when" and is ≤ 1024 chars - - **every file ≤ 100 lines** — octobot's house cap on **sprawl**. If + - **every file ≤ 110 lines** — octobot's house cap on **sprawl**. If SKILL.md is too long, use **progressive disclosure**: push **reference** into **topic-named siblings** (`tests-r.md`, `mocking-r.md`, `feedback-loops-r.md`, `anti-patterns.md`, @@ -83,14 +83,14 @@ description: . Use when . ## Output / done criteria - New `SKILL.md` exists at the right path, passes the checks in step 4. -- Every file in the skill folder is ≤ 100 lines (GLOSSARY.md excepted). +- Every file in the skill folder is ≤ 110 lines (GLOSSARY.md excepted). - User has been told the exact `jj describe` command to run. - Skill appears in the skill list on next Claude Code session start. ## Guardrails - Never invent a category — ask if unsure. - Never write a skill whose description lacks "Use when". -- **Never let a file in the skill folder exceed 100 lines** (GLOSSARY.md +- **Never let a file in the skill folder exceed 110 lines** (GLOSSARY.md excepted). Split before committing. - Reject any line that fails the **no-op** test (PRINCIPLES.md §pruning).