
Spear
- Updated July 23, 2026
- BadgersMC/spear-plugin
spear is a plugin implementing the SPEAR methodology: scaffolding, EARS requirements validation, TDD red/green gates, and architectural layer enforcement. A developer uses it to keep development test-first and structurally disciplined.
Key points
- SPEAR methodology
- Scaffolding
- EARS validation
- TDD red/green gates
- Layer enforcement
Spear by the numbers
- Data as of Jul 24, 2026 (Skillselion catalog sync)
/plugin marketplace add BadgersMC/spear-plugin/plugin install spear@BadgersMC-spear-pluginAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Last updated | July 23, 2026 |
|---|---|
| Repository | BadgersMC/spear-plugin ↗ |
What it does
SPEAR methodology: scaffolding, EARS requirements validation, TDD red/green gates, layer enforcement.
README.md
spear-plugin
Claude Code plugin packaging the SPEAR methodology — Spec-Proven Engineering with Architectural Requirements — as a reusable, installable plugin.
30-second pitch
SPEAR is a hybrid of Spec-Driven Development (EARS), Test-Driven Development (red-green-refactor), and Hexagonal Architecture. The plugin enforces the cycle — blocking implementation before a failing test and blocking progression past a layer-boundary violation — and automates the boilerplate: scaffolding the four SPEAR docs, assigning REQ-IDs, tracking per-task phase in a gitignored state file.
The cycle:
spec → prove → engine → arch → refine
Each phase is its own /spear:<name> skill. A session-start hook injects the cycle rules, current phase, and tool-probe results into every Claude Code session that runs in a SPEAR project.
Install
/plugin marketplace add BadgersMC/spear-plugin
/plugin install spear@BadgersMC-spear-plugin
/plugin reload-plugins
Claude Code caches the plugin at ~/.claude/plugins/cache/BadgersMC-spear-plugin/spear/<version>/.
Bootstrap a project
/spear:init
Detects language/build tool, drafts docs/tech-stack.md, docs/requirements.md, docs/implementation.md, docs/tasks.md from bundled templates, and on JVM projects drops a Konsist LayerRulesTest.kt wired to your top-level package. Commits the result.
Run a task
/spear:spec # draft or revise a REQ + derive tasks
/spear:prove # write the failing test (TDD only)
/spear:engine # minimum code to flip red → green (TDD only)
/spear:arch # layer-rule + framework-annotation scan on the diff
/spear:refine # refactor, confirm suite green, flip task [x], reset state
DOC/INFRA tasks skip prove and engine (spec-done → arch directly).
Composition with superpowers
Designed to run alongside superpowers. SPEAR defers to superpowers for brainstorming, writing-plans, executing-plans, and systematic-debugging. Inside a SPEAR project (docs/requirements.md + docs/tasks.md both present), spear:prove supersedes superpowers:test-driven-development; outside it no-ops back to the superpowers entry point.
Documentation
- Design spec — why it exists and what it does.
- Requirements — EARS-formatted REQ-IDs.
- Implementation — architecture, data flows, layer rules.
- Tasks — current work.
- Contributing — dev workflow.
- Testing — manual E2E checklist and CI overview.
License
See LICENSE.