/ck:backpropfrom ck
Backpropagates bugs into spec invariants to prevent recurrence. When a test fails or bug is reported, trace root cause, decide if a new invariant would catch recurrence, and append to spec.
Ships in ck. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Plan-then-execute fixes the code & forgets. SDD fixes the code AND edits spec so recurrence is impossible. That edit is backprop.
/build verification./check flags VIOLATE with root cause found.Read failure output / bug report. Find exact file:line of wrong behavior. Name root cause in one caveman sentence.
Ask three questions:
Draft the spec change. Never skip §B; §V/§I/§T are case-by-case.
Template:
§B row: B<next>|<date>|<root cause>|V<N>
§V line: V<next>: <testable rule that would have caught it>
Example:
§B row: B3|2026-04-20|refund job ran twice on retry|V7
§V line: V7: ∀ refund → idempotency key check before charge reversal
New invariant without test = lie. Add failing test first.
Name test so it cites the invariant: TestV7_RefundIdempotent.
Fix code. Run test. Must pass. Run full suite. Must not regress.
Commit spec edit + test + code fix together.
Commit msg: backprop §B.<n> + §V.<N>: <one-line cause>.
! hold over ⊥ forbid).Bad: V8: code should be correct. Good: V8: ∀ pg_query ! params interpolated via driver, ⊥ string concat.
i++ vs i-- in throwaway).Still append §B entry — record that this failure mode was considered. Future bug with same smell → §B search shows precedent.
Every backprop run produces:
No dashboards. No log files. SPEC.md + git is the full history.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub juliusbrussee/cavekit --plugin ck9 skills in this plugin
/buildPlan-then-execute implementation against SPEC.md. Native single-thread
loop, no sub-agents. On test or build failure, auto-invokes the backprop
skill before retrying — a failed verification always considers whether
a new §V invariant would prevent recurrence. Triggers when the user asks
to build, implement, execute the spec, or tackle a specific §T task
(`build §T.3`, `build --next`, `implement next task`, `run the build`).
Expects SPEC.md to exist; if not, defers to the spec skill.
/cavemanCaveman encoding for SPEC.md and spec-adjacent writes. Loaded by /spec, /build,
/check. Cuts tokens vs prose while staying precise. Triggers on any write
to SPEC.md or when user says "caveman", "compress this", "be brief".
/checkRead-only drift detector. Diffs SPEC.md against current code and reports
violations grouped by severity. Writes nothing — suggests remedies via
the spec or build skills but never invokes them. Triggers when the user
asks to check drift, audit the spec, verify invariants, or ask whether
code still matches the spec. Phrasings: "check drift", "audit the spec",
"does the code still match §V", "check invariants", "spec vs code".
/deepenOptional design-improvement pass for when you have spare usage to drain. Finds
the shallowest modules in the code the spec touches, researches a deeper
design, and proposes refactors that shrink interfaces and hide decisions —
behavior held constant, tests green before and after. Proposes §I/§V/§T edits,
never silent rewrites. Triggers when the user says "deepen this", "improve the
design", "this module feels shallow", "pull complexity down", "use spare
budget on the codebase", or invokes /ck:deepen. Leans on the codebase-design
skill's deep-module vocabulary when present.
/grillCalibrated interrogation of a fuzzy idea before it becomes a spec. Asks one
question at a time, recommends an answer, and lands each answer in §G (goal)
or §C (constraints) — unknowns parked as `?` items, never guessed. The
cheapest place to kill a bad idea is before §T exists. Triggers when the user
has a vague idea, says "grill me", "stress-test this", "challenge my plan",
"interview me before I spec", or invokes /ck:grill. Defers the actual write to
the spec skill.
/researchGather external knowledge the spec needs and distill it into §R — the durable
research log — so build grounds in facts instead of hallucinating library
behavior. Each finding cites a source; unsourced claims are flagged, never
written as fact. Triggers when a spec decision hinges on a library/API/best
practice the agent is unsure of, when the user says "research this", "what's
the best lib for…", "check current best practice", or invokes /ck:research.
Defers the §R write to the spec skill.
2 plugins ship this exact skill · first indexed Jun 13, 2026
Other plugins' skills for the same job