38 Commits

Author SHA1 Message Date
277ec801de refactor(skills): convert cross-skill links to /skill-name references
- implements blueprint 028
- rewrite 290 cross-skill markdown links across 59 files to unchecked
  backtick-wrapped /skill-name prose (R-023), so skill content resolves
  under any install depth — symlinked, flat-copied, or whole-tree
- add skills/productivity/conjure-a-skill/scripts/skill-ref-check —
  validates every /skill-name mention resolves to a real skill folder,
  the replacement coverage link-check lost on these references
- add scripts/link-skills.sh, mirroring mattpocock/skills, symlinking
  every skill into ~/.claude/skills and ~/.agents/skills
- docs(readme): point Install at link-skills.sh and npx skills@latest
  add for non-Claude-Code harnesses
2026-09-23 11:03:25 +02:00
4ce70d3f8e refactor(loop): rename architect to chart and weave to rig
The two spine skills named for a trade, not a passage, take nautical
names: directories, frontmatter, headings, prose, the 26 relative links,
11 cites:, render-check's RETIRED constant and the two ~/.claude/skills
symlinks. chart gains the hand-off edge into ferry and states the
single-request terminal as designed; ARCHITECTURE flow 1 and its two
byte-copies change names only, columns re-padded to hold the shape.

Implements blueprint 024; roadmap phase 12 ticked, and B-023's cite into
the pruned phase text repaired to a path-alone pointer.
2026-07-31 15:36:36 +02:00
5783bd896e docs(skills): close the phase-10 skills-consistency findings
docs(grill-with-docs): trim the description to one human-facing line (F6)
docs(nuke-review): trim the description to one human-facing line (F6)
docs(grill-with-docs): add When to use / Output / See also, the router shape (F7)
docs(conjure-a-skill): legitimise evocative headings for spine and router skills (F8)
docs(model-domain): normalise descriptive ADR uses to "decision file" (F11)

F8 is ruled here rather than in the roadmap phase: R-020 prunes a discharged
phase to one line, so a ruling recorded there does not outlive it.
2026-07-31 13:02:36 +02:00
3b80a6e6c1 feat(skills): lint skill line counts with skill-check
CLAUDE.md §5's 110-line cap on SKILL.md held only in prose, so it decayed
twice — 013 split moor and 016 deduped call-charon and commit-atomic-jj,
both hand-fixes. `okf-check` has enforced the same integer across OKF/
since 009; skills/ now gets its own gate.

A sibling script, not a flag on okf-check: the two trees share the
integer 110 and nothing else, and threading a tree-kind flag through a
275-line OKF-page-shaped validator to reuse a two-line comparison fails
sieve's Minimal test.

- feat(conjure-a-skill): add scripts/skill-check <skills-dir>, walking
  */*/SKILL.md — ERROR over 110, WARN in the 101-110 headroom band with
  the count and the room left. Mirrors okf-check's argv, WARN /ERROR
  prefixes, closing tally and 1/0/2 exit codes
- docs(conjure-a-skill): swap the done-criteria line asserting the cap in
  prose for the script invocation, as write-OKF obliges okf-check; one
  line for one, leaving the file at 105
- docs(blueprint): flip 017 to implemented and update its index line

The tree lands green: 0 errors, 9 warnings, with write-OKF and bdd at the
cap itself. Verify exercises the error leg against a synthetic over-cap
skill — a check that cannot fail is not a check.

implements blueprint 017
2026-07-30 14:55:24 +02:00
12659c76d1 refactor(skills): pull call-charon and commit-atomic-jj under the line cap
Both sat at 117 against CLAUDE.md §5's ≤110 cap, and the commit git/jj
twins had drifted out of skeleton parity. The two are coupled: shortening
the jj variant's Principles alone would have created the asymmetry.

The overage was restatement of each skill's own siblings, so this is a
dedup, not a split — no new sibling file.

- refactor(call-charon): point DISPATCH and REVIEW FLOTILLA at
  crossing-format.md §isolation, §builder-brief and §reviewer-brief
  rather than restating them; 117 -> 106
- refactor(commit-atomic-jj): move `jj split`'s parent-side trap into
  anti-patterns.md as its own named section, and collapse the workflow
  tail that restated three anti-patterns already written there; 117 -> 108
- docs(commit-atomic-git): add `## When to use`, levelling the twins'
  `^## ` skeletons by addition, never by subtraction from jj; 97 -> 104
- docs(commit-atomic-jj): point anti-patterns.md's two back-references at
  sections that exist (§5 -> §6, and "Workflow step 5" -> the `jj new` step)
- docs(okf): record that a line-based grep is an unsound reference gate

implements blueprint 016
2026-07-30 13:51:03 +02:00
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
6791bc045d docs(skills): point the skills at the why-register and gate on okf-check
- docs(model-domain): rename ADR-FORMAT.md to DECISION-FORMAT.md — the
  register file format, gated by the warrant test rather than three-of-three
- docs(write-OKF): document decisions/, the warrant contract, and okf-check
  in the layout; require its pasted output in the done-criteria
- docs(skills): retarget OKF/adr references in architect, moor, grill-with-docs,
  write-handoff, the index template, and README

implements blueprint 002
2026-07-21 23:04:56 +02:00
c1643b75b9 docs(commit-atomic-jj): fix jj split parent/child semantics
The workflow labelled split paths <paths-for-second-change>, but jj split
extracts the selected paths into the FIRST (parent) commit and leaves the
rest in @ (the child). Correct the semantics, surface -m (sets the first
commit; @ keeps the original message) and the JJ_EDITOR=true guard at the
point of use, and cross-ref both the backgrounding and headless-editor
anti-patterns. Verified against jj 0.38.
2026-07-21 02:41:58 +02:00
39692758ed refactor(skills): rename resolve-conflicts to resolve-conflicts-jj
- refactor(resolve-conflicts-jj): move dir, update name frontmatter and H1
- refactor(resolve-conflicts-jj): description routes plain git repos to
  resolve-conflicts-git, mirroring the reverse pointer
- docs: update references in resolve-conflicts-git, setup-git-guardrails,
  steer routing table, call-charon crossing-format, README, OKF/ROADMAP
2026-07-20 01:52:22 +02:00
0a81ac6691 docs(commit-atomic-git): backlink setup-git-guardrails in See also
- docs(commit-atomic-git): name the hook as mechanical backstop for the
  force-push and destructive-command anti-patterns
2026-07-20 01:49:37 +02:00
d0e02823cb feat(skills): add resolve-conflicts-git — git counterpart of resolve-conflicts
- feat(resolve-conflicts-git): topology-first rule ported; abort+rebase
  --onto replaces jj rebase -s for phantom conflicts
- feat(resolve-conflicts-git): both-intents reading via zdiff3 markers,
  git show :1:/:2:/:3:, git log --merge -p
- feat(resolve-conflicts-git): headless guards — GIT_EDITOR=true on
  continue, marker grep before continuing, rerere for rebase replays
2026-07-20 01:37:16 +02:00
15e995bcf6 feat(skills): add commit-atomic-git — git counterpart of commit-atomic-jj
- feat(commit-atomic-git): same atomic principles; staging area replaces
  jj split, headless hunk split via git apply --cached
- feat(commit-atomic-git): git-specific anti-patterns — blind -am/add .,
  unread --cached diff, invisible untracked files, headless editor hang
- docs(commit-atomic-git): description scoped to non-jj repos so "commit"
  routes to commit-atomic-jj when .jj exists
2026-07-20 01:37:10 +02:00
07afbe8473 feat(write-OKF): conform OKF contract to Google OKF v0.1 spec
feat(write-OKF): require type frontmatter on every page; okf_version in
index; conformance block + page-type vocabulary in okf-layout.md
feat(write-OKF): rename INDEX.md to reserved lowercase index.md across
templates and cross-referencing skills
feat(blueprint): add type: Blueprint to blueprint-format frontmatter
feat(ferry): add type: Ferry Map / Decision to decision-format
docs(write-OKF): cite Google OKF v0.1 spec alongside Karpathy and
LangChain OpenWiki in the layout contract
2026-07-20 00:51:43 +02:00
ded5759973 feat(skills): rename skills to verb-first names; adopt blueprint vocabulary
feat(skills): rename scribe-OKF>write-OKF, implement>weave,
domain-modeling>model-domain, codebase-design>design-codebase,
caveman>talk-caveman, background-work>harden-background-work,
dev-python>develop-python, dev-r>develop-r, r-style>style-r,
handoff>write-handoff, cavecrew-octobot>spawn-cavecrew,
jj-atomic>commit-atomic-jj; bdd stays as the single grandfathered name
docs(skills): sweep spec>blueprint across skill prose; spec-format.md
becomes blueprint-format.md; internal Spec section becomes Contract;
commit citations now read implements blueprint NNN
docs(blueprint): numbering starts at 001 when OKF/blueprints/ is empty
docs(conjure): 110-line cap applies to SKILL.md only; siblings uncapped
fix(containerize): read an existing build-dev recipe and surface
semantic mismatch instead of trusting the name
2026-07-20 00:41:24 +02:00
3481fbdbd2 feat(conjure): enforce imperative-verb names and invocation-cost choice
- feat(conjure): noun-first names rejected at gather and review; please-test
- feat(conjure): user-invoked default with steer registration; Use when only if model-invoked
- docs(conjure): legacy non-verb names grandfathered explicitly
2026-07-19 23:29:34 +02:00
2dbb579b35 refactor(skills): disable model invocation on orchestrators and rituals
- refactor(skills): 16 user-ritual skills flagged disable-model-invocation
- refactor(skills): their descriptions shrink to one human-facing line
- 11 stay model-invoked: r-style, bdd, diagnose, jj-atomic, background-work,
  review-angles, review-blueprint, codebase-design, domain-modeling,
  cavecrew-octobot, resolve-conflicts
2026-07-19 23:28:30 +02:00
997f435b12 feat(productivity): add resolve-conflicts skill — jj conflict discipline
- feat(resolve-conflicts): topology-first rule for phantom conflicts from wrong rebase roots
- feat(resolve-conflicts): marker-header intent reading; both-intents resolution
- feat(resolve-conflicts): headless squash gotcha and immutable-commit note
2026-07-19 23:27:26 +02:00
b2b1a1f286 feat(handoff): add redaction, reference-dont-duplicate, suggested-skills
- feat(handoff): two exits — session file and subagent brief payload
- feat(handoff): redact secrets; cite OKF/spec/ferry artifacts by path, never restate
- feat(handoff): suggested-skills template section; temp-dir target option
2026-07-19 23:26:48 +02:00
794b25a666 feat(productivity): enforce handoff gate for mutating subagents
- feat(cavecrew-octobot): builders require a brief — goal, spec refs, verify command
- docs(jj-atomic): implement commits cite their spec number
2026-07-19 23:24:12 +02:00
e14fae6331 feat(review): add review-blueprint axis — diff versus originating spec
- feat(review-blueprint): complete/contained/verified gate with pasted-output rule
- docs(skills): wire the fourth axis into bdd after-green and review cross-links
2026-07-19 23:22:10 +02:00
7ec15a4e9d feat(loop): merge plan-project and update-project into architect
- feat(architect): mode router — greenfield vs revision by OKF/ROADMAP.md state
- refactor(architect): plan-project body becomes greenfield.md, update-project becomes revise.md
- refactor(architect): roadmap and glossary paths retargeted to OKF/
- chore(skills): delete plan-project and update-project
2026-07-19 23:16:49 +02:00
b93454bbc3 chore(skills): relax house cap from 100 to 110 lines; restore nuke-review phrases
Updates the file-size house rule in CLAUDE.md, conjure-a-skill/SKILL.md
(description + body + done-criteria + guardrails), and
conjure-a-skill/PRINCIPLES.md. The cap on sprawl stays — just a slightly
more generous ceiling.

Brings back the six "Good phrases" dropped from the nuke-review port (now
all nine upstream phrases inline as voice cues): the dropped six covered
spaghetti / canonical-placement (x2) / indirection / type-boundary /
code-judo themes that were previously kept as standards but lacked
line-ready phrasing. nuke-review/SKILL.md lands at 106 lines (under new cap).
2026-06-19 01:09:39 +02:00
3862514d6f feat(skills): port nuke-review structural-quality skill from cursor team-kit
Adds engineering/nuke-review/SKILL.md — adaptation of cursor/plugins
thermo-nuclear-code-quality-review. User-invoked (disable-model-invocation:
true). 100 lines after trimming the upstream ~200-line original.

Trims: consolidated the three checklists (Primary Questions / What to Flag /
Preferred Remedies) into one 6-theme "What to look for, what to push for"
section; the 8 Non-negotiable Standards kept verbatim as headlines with
sub-bullets compressed; 3 of the original ~9 "Good phrases" kept inline as
voice cues (a sibling would weaken the priming effect).

Positions the four post-green review surfaces as distinct axes:
- review-angles    correctness / robustness (finder angles)
- nuke-review      structural quality / code judo  (NEW)
- winnow           mechanical debloat (line-count scoreboard)
- cavecrew-octobot invocation cheatsheet for caveman:cavecrew-reviewer
                   (the agent that executes any of the three axes)

bdd/SKILL.md "After green" section now lists all three axes (was:
review-angles only); compensating cut to the Vocabulary blurb keeps it at
103 lines (pre-existing over-cap, no further regression). Cross-refs added
in review-angles, winnow, cavecrew-octobot See-also.

Source: cursor/plugins@main
  cursor-team-kit/skills/thermo-nuclear-code-quality-review/SKILL.md
2026-06-19 01:04:46 +02:00
f5227325a3 refactor(skills): split grill-with-docs into router + domain-modeling
Mirror upstream's structural split. Old grill-with-docs bundled the
Socratic interview and the docs-discipline in one model-invoked skill;
upstream now separates them.

- Rename engineering/grill-with-docs/ -> engineering/domain-modeling/
  (the active glossary / ADR discipline). Model-invocable, fires when
  another skill needs canonical vocabulary.
- Adopt upstream's active-vs-reading distinction in domain-modeling/SKILL.md.
- Detect multi-context mode from CONTEXT-MAP.md presence (was a manual
  switch).
- New engineering/grill-with-docs/SKILL.md is now a 16-line user-invoked
  router (disable-model-invocation: true). It composes grill-me
  (Socratic interview) and domain-modeling (docs discipline).
- Trim examples-r.md to 99 lines: drop CONTEXT-MAP-kicks-in section
  (covered in SKILL.md), compress NOT-written bullets and
  zero-implementation note, drop decorative narration.
- Retarget cross-refs in diagnose and bdd to domain-modeling (their
  interest is canonical vocabulary, not the interview).
- Retarget plan-project's three-of-three rule pointer and vocabulary
  See-also to domain-modeling.
- Fix pre-existing broken path in sieve See-also
  (../../productivity/grill-with-docs -> ../grill-with-docs).
- Update upstream attribution URLs in ADR-FORMAT.md and CONTEXT-FORMAT.md
  (upstream renamed grill-with-docs -> domain-modeling).
- README: replace single grill-with-docs entry with router + domain-modeling
  pair; retarget examples-r.md path.
2026-06-19 00:12:06 +02:00
260f1865e3 refactor(skills): rename write-a-skill → conjure-a-skill and fold in writing-great-skills
- Rename directory; update README pointer and trigger phrase
- Add PRINCIPLES.md (design playbook) and GLOSSARY.md (vocabulary),
  both adapted from mattpocock/skills writing-great-skills
- Promote the 100-line cap from convention to SKILL.md guardrail and
  a When-to-split trigger in PRINCIPLES.md; GLOSSARY.md is the
  documented exception (flat dictionary; splitting breaks lookup)
- Description adds the "conjure" trigger and retains old aliases
2026-06-18 23:15:30 +02:00
1963934422 docs(jj-atomic): document the headless-editor hang
A jj describe/split/commit without -m opens $JJ_EDITOR (nvim), which hangs in
a non-terminal context and can leave split mid-operation. Record the failure
and the -m + JJ_EDITOR=true workaround alongside the backgrounding gotcha.
2026-06-15 22:30:54 +02:00
5885cff284 refactor(skills): trim bdd and jj-atomic SKILL.md under the 100-line cap
Both SKILL.md exceeded the repo's 100-line ceiling (bdd 120, jj-atomic 105).
Relocate prose lessons into the existing anti-patterns.md siblings so each
SKILL.md stays the routing layer; no content lost.

- refactor(bdd): move the producer-fixture lesson to anti-patterns.md, compress
  green-is-not-sufficient to a pointer (review-angles owns it), fold the
  redundant Anti-patterns section into Guardrails, tighten language-ref spacing
  (120 -> 98)
- refactor(jj-atomic): inline the Step-5 and foreground-mutation prose, fold
  Examples into See also (105 -> 100)
2026-06-15 22:30:54 +02:00
aa3a797c5d feat(skills): coin nostos lessons into octobot, add Socratic sieve/winnow spine
refactor(bdd): rename tdd-bdd skill to bdd (dir, triggers, 24 refs, symlink)
feat(skills): add sieve (Real/Good/Minimal gate) and winnow (debloat audit)
feat(skills): add background-work and review-angles from review-round lessons
feat(bdd): fold rules 7/13/17 into interface-design + new SKILL sections
docs(refute): extract shared elenchus doctrine, cite from review-angles/winnow/bdd
docs(CLAUDE): reframe Simplicity First as the three sieves
docs(README): list new skills, add Socratic-spine roadmap
2026-06-15 22:30:54 +02:00
623d285589 feat(skills): add plan-project and update-project skills 2026-06-11 12:49:48 +02:00
565a3337eb docs(skills): codify verb-first naming rule in write-a-skill
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-11 12:49:48 +02:00
e355c3a090 feat(skills): add cavecrew-octobot skill
Document the caveman: namespace prefix required to invoke cavecrew subagents
(the gotcha behind "Agent type not found"), with copy-paste invocation examples
and octobot defaults (review current jj diff, commit edits via jj-atomic).
2026-06-11 12:49:48 +02:00
d9ad9280d5 docs(skills): refine write-a-skill conventions; tighten caveman rule
* docs(write-a-skill): rename split-file guidance to topic-named siblings (tests-r.md, anti-patterns.md, …) over generic REFERENCE/EXAMPLES
* docs(write-a-skill): fix '< 1024 chars' typo to '≤ 1024'; update jj describe example to use type(scope) form per jj-atomic
* docs(caveman): tighten 'one sentence before first tool call' rule — caveman overrides the global default and skips even that sentence
2026-06-11 12:49:48 +02:00
d6febf78d3 refactor(skills): apply review-driven structural refinements
* refactor(tdd-bdd): extract horizontal-slicing anti-pattern into anti-patterns.md
* refactor(jj-atomic): extract anti-patterns into anti-patterns.md; trim See also list
* refactor(dev-r): split SKILL.md into package-loop.md and analysis-loop.md siblings
* fix(dev-python): repair CLAUDE.md URL mismatch and tdd-bdd self-referential link
* docs(dev-python): rewrite phase 4 to forbid horizontal slicing; inline Karpathy summary
* docs(dev-r): inline Karpathy guardrails summary in phase 0
2026-06-11 12:49:48 +02:00
a7e9b95183 wire new skills: symlinks, README, jj-atomic cross-links 2026-06-11 12:49:48 +02:00
bf18d62ed9 jj-atomic: add step 6 — open new change after describe 2026-06-11 12:49:48 +02:00
9f060db93c add skills: r-style (box/tidyverse/dtplyr) + jj-atomic 2026-06-11 12:49:48 +02:00
03f9ef5be8 add skill: grill-with-docs (docs-anchored Socratic interview) 2026-06-11 12:49:48 +02:00
a3aea09acd fix install: per-skill symlinks (Claude Code scans only one level deep) 2026-06-11 12:49:48 +02:00