Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/juliusbrussee-backprop
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents, testing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/backprop
What's inside
- Skill name
backprop- Description
- Bug → spec protocol. When a bug is found or a test fails, trace the cause, decide whether a new §V invariant would catch recurrence, append to §B. This is the one non-obvious thing SDD does that plan-then-execute doesn't. Triggers on test failure, bug report, post-mortem, or explicit user ask.
- License
- MIT
- Instructions
- 82 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# backprop — bug → spec Plan-then-execute fixes the code & forgets. SDD fixes the code AND edits spec so recurrence is impossible. That edit is backprop. ## WHEN TO BACKPROP - Test failed at `/build` verification. - User reports bug. - Post-mortem after production incident. - `/check` flags VIOLATE with root cause found. ## SIX STEPS ### 1. TRACE Read failure output / bug report. Find exact file:line of wrong behavior. Name root cause in one caveman sentence. ### 2. ANALYZE Ask three questions: - Would a new §V invariant catch this class of bug? (most common: yes) - Is §I wrong — did spec claim shape the code cannot deliver? (sometimes) - Is §T wrong — did we build the wrong thing? (rare but real) ### 3. PROPOSE 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 ``` ### 4. GENERATE TEST New invariant without test = lie. Add failing test first. Name test so it cites the invariant: `TestV7_RefundIdempotent`. ### 5. VERIFY Fix code. Run test. Must pass. Run full suite. Must not regress. ### 6. LOG Commit spec edit + test + code fix together. Commit msg: `backprop §B.<n> + §V.<N>: <one-line cause>`. ## WHAT MAKES A GOOD INVARIANT - Testable in code (grep-able or assert-able). - Scoped to a behavior, not a file. - Stated positively when possible (`! hold` over `⊥ forbid`). - References §I surface where it applies. **Bad**: V8: code should be correct. **Good**: V8: ∀ pg_query ! params interpolated via driver, ⊥ string concat. ## WHEN NOT TO ADD §V - Bug was purely mechanical typo with no class (`i++` vs `i--` in throwaway). - Fix is a one-time migration. - Root cause is external dep (upgrade deps instead, note in §C). Still append §B entry — record that this failure mode was considered. Future bug with same smell → §B search shows precedent. ## OUTPUT SHAPE Every backprop run produces: 1. §B entry (always). 2. §V entry (usually). 3. Test file (when §V added). 4. Code fix. 5. One commit. No dashboards. No log files. SPEC.md + git is the full history.
From JuliusBrussee/cavekit, MIT.
More from JuliusBrussee/cavekit
- 0.719score
spec
JuliusBrussee
Create, amend, or backprop bugs into SPEC.md at repo root.
SkillCFreshness: C★ 1.2KClaude Code +9 - 0.719score
grill
JuliusBrussee
Calibrated interrogation of a fuzzy idea before it becomes a spec.
SkillCFreshness: C★ 1.2KClaude Code +9 - 0.719score
build
JuliusBrussee
Plan-then-execute implementation against SPEC.md.
SkillCFreshness: C★ 1.2KClaude Code +9 - 0.719score
check
JuliusBrussee
Read-only drift detector.
SkillCFreshness: C★ 1.2KClaude Code +9 - 0.719score
research
JuliusBrussee
Gather external knowledge the spec needs and distill it into §R — the durable research log — so build grounds in facts instead of hallucinating library…
SkillCFreshness: C★ 1.2KClaude Code +9 - 0.719score
deepen
JuliusBrussee
Optional design-improvement pass for when you have spare usage to drain.
SkillCFreshness: C★ 1.2KClaude Code +9 - 0.719score
review
JuliusBrussee
Adversarial senior review of the spec before any code is written.
SkillCFreshness: C★ 1.2KClaude Code +9 - 0.644score
caveman
JuliusBrussee
Caveman encoding for SPEC.md and spec-adjacent writes.
SkillDFreshness: D★ 1.2KClaude Code +9
Signals
- Stars
- 1,157
- Forks
- 89
- Open issues
- 12
- Last commit (this folder)
- Apr 20, 2026 (6 months ago)
- Last release
- Apr 18, 2026 (6 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/JuliusBrussee/cavekit
- Website
- caveman.so/
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from JuliusBrussee
- 0.888score
caveman-compress
JuliusBrussee
Compress a memory file such as CLAUDE.md or a todo list into caveman format to save input tokens, keeping a readable backup.
SkillAFreshness: A★ 114.8KClaude Code +9 - 0.885score
caveman-learn
JuliusBrussee
Act on a Caveman learn report - review the ranked token sinks, apply cost-lowering fixes with per-edit consent, and report what those fixes returned.
SkillAFreshness: A★ 114.8KClaude Code +9 - 0.885score
caveman-manage
JuliusBrussee
Inspect Caveman Cloud's experiment lifecycle and block unsafe execution.
SkillAFreshness: A★ 114.8KClaude Code +9 - 0.885score
caveman-optimize
JuliusBrussee
Turn a Caveman optimization observation into an operator-chosen candidate with a paired baseline evaluation.
SkillAFreshness: A★ 114.8KClaude Code +9 - 0.885score
caveman-evidence-review
JuliusBrussee
Read-only review of Caveman Cloud evidence: cost, Cave Score, workflows, traces, latency, errors, routing, savings.
SkillAFreshness: A★ 114.8KClaude Code +9 - 0.882score
cavecrew
JuliusBrussee
When to delegate to `cavecrew-investigator` (locate code), `cavecrew-builder` (1-2 file edit) or `cavecrew-reviewer` (diff review) instead of working inline…
SkillAFreshness: A★ 114.8KClaude Code +9
Cite this page
backprop skill. Agent Mart. https://agentmart.dev/skills/juliusbrussee-backprop (last updated 2026-10-24)