📝
AI Engineering

Spec Mutator

by JuliusBrussee

Spec Mutator is an AI Engineering skill for Claude Code, published by JuliusBrussee in cavekit.

1.1K stars86 forkson JuliusBrussee/cavekitAdded 2026/08/20Repository updated 2026/08/14
claude-codeparallel-agentsskillsspec-driven-developmenttest-driven-development
Install in seconds
Install Spec Mutator
Copy Spec Mutator into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/JuliusBrussee/cavekit/tree/main/skills/spec ~/.claude/skills/spec

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/JuliusBrussee/cavekit.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skills/spec/SKILL.md in JuliusBrussee/cavekit
Installs to
~/.claude/skills/spec
Collection
One of 9 skills cataloged from this repository
Category
AI Engineering2451 skills

What Spec Mutator does

Spec Mutator creates, amends, and backprops bugs into SPEC.md at the repo root, serving as the sole mutator of the project spec. Use it when writing a new spec, distilling from existing code, adding invariants, amending sections, or recording a bug via backprop.

Spec Mutator is cataloged under AI Engineering on DirSkills. Spec Mutator comes from a repository tagged claude-code, parallel-agents, skills, spec-driven-development and test-driven-development.

Documentation

README

spec — spec mutator

Read FORMAT.md at repo root if not already loaded. Caveman skill applies to all writes here.

DISPATCH

Inspect user request and project state:

  1. No SPEC.md at repo root AND args describe idea → NEW
  2. No SPEC.md AND from-code in args → DISTILL
  3. SPEC.md exists AND args start bug:BACKPROP
  4. SPEC.md exists AND args start amendAMEND
  5. SPEC.md exists, no args → ask user which mode

INPUTS — spec is the sole mutator

The other verbs produce material; spec writes it. Ingest their handoff blocks into the right section, show a diff, write on OK:

  • grill → sharpened §G + §C
  • research → §R rows (add the §R section if absent)
  • review → drafted §V lines + the risk verdict
  • deepen → §I/§V/§T amendments

This is the opening of the README. Read the full README on GitHub.

Commands Spec Mutator provides

Slash commands named in this skill’s SKILL.md, listed in the order they first appear.

  • /review
  • /build

Frequently asked about Spec Mutator

  • What else does JuliusBrussee publish alongside Spec Mutator?

    Spec Mutator is one of 9 skills that DirSkills catalogs from JuliusBrussee/cavekit, the repository it ships in. Its siblings there include Adversarial Spec Review, Backprop and Build. Each one is a separate skill with its own page in this directory, installs the same way Spec Mutator does, and is maintained by JuliusBrussee in that same repository. The rest of the collection is listed on the JuliusBrussee/cavekit page.

  • How does Spec Mutator compare to other AI Engineering skills?

    Spec Mutator ranks #1238 by stars among the 2451 AI Engineering skills in this catalog. The most-starred ones next to it are Architecture Decision Records, AI-First Engineering and Agentic OS. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Spec Mutator against them. Open each page to compare what they document and how they install.

More from JuliusBrussee/cavekit

Spec Mutator is one of 9 skills cataloged on DirSkills from JuliusBrussee/cavekit.

See all 9 skills
🧐
2w ago

Adversarial Spec Review

Adversarial Spec Review constructs a skeptical reviewer that attacks a spec before any code is written, using evidence from the codebase, research, and live best-practices. Use it before high-blast-radius builds to refute unsound plans and harden verification.
Quality
1.1K86
🐞
2w ago

Backprop

Backprop traces a bug or failing test to its root cause, then appends a §B entry and usually a §V invariant to SPEC.md so recurrence is impossible. Use it after test failures, bug reports, post-mortems, or VIOLATE flags.
Quality
1.1K86
🏗️
2w ago

Build

Build implements tasks from a SPEC.md using a single-threaded plan-then-execute loop. It tracks task status, runs the verification command, and on failure invokes backprop to update spec invariants before retrying.
Quality
1.1K86
🗿
2w ago

Caveman

Caveman encodes SPEC.md and spec-adjacent writes into compressed symbolic notation, cutting tokens ~75% versus prose while preserving facts. Use it when writing or editing specs, backprop entries, or whenever brevity is requested.
Writing
1.1K86
🧹
2w ago

Deepen

Deepen finds the shallowest modules in the code the spec touches, researches a deeper design, and proposes refactors that shrink interfaces and hide decisions while keeping behavior constant and tests green before and after.
Quality
1.1K86
🧐
2w ago

Grill

Grill calibrates interrogation of a fuzzy idea before it becomes a spec, asking one question at a time and landing answers as goals or constraints. Use it when a plan is vague or needs stress-testing before writing a spec.
Quality
1.1K86