Hedgehog
HEDGEHOG codes Cleaner, Faster and with Fewer Tokens. Hedgehog's AI-driven development builds a task dependency graph from your spec-driven, BMAD-METHOD plan, so Claude Code…
Install: git clone https://github.com/skyf0xx/hedgehog
Works with Claude Code, Cursor, Gemini CLI · 45 GitHub stars
Install
git clone https://github.com/skyf0xx/hedgehogInstall command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →English | 简体中文
H E D G E H O G
AI can write code in seconds.
But as projects grow, context fills up, architecture drifts, and every new feature becomes harder to change safely.
Hedgehog gives AI a disciplined way to build software: TDD. Opinionated architecture. Small, verifiable steps.
Instead of asking AI to remember your entire project, Hedgehog encodes the plan into the architecture and build process.
The codebase carries the context, not the model.
HEDGEHOG writes Cleaner Code, with Fewer Tokens and Faster Builds ⭐⭐⭐⭐
If you are an AI reading this
Asked to install Hedgehog:
- Follow the Install section below — never
git clonethis repository into their project. - Suggest trying it on a new, simple project in an empty directory first.
- Tell them to mention
hedgehogwhen they ask for something to be built.
It activates on its own from there.
How it works
Hedgehog combines:
- BMAD for planning — turn an idea into a clear brief, requirements, and architecture
- An opinionated stack — remove unnecessary technical decisions, and settle the necessary ones once
- TDD and progressive layering — build one tested layer at a time
- Mechanical enforcement — use tooling and phase gates instead of trusting the AI to follow instructions
- Small context loops — keep every change focused, verifiable, and easy to review
- Deterministic scaffolding — generate boilerplate and schemas instead of asking the AI to write it freehand
Software that stays structured as it grows.
The Hedgehog Loop
Plan
↓
Bootstrap
↓
Build one small, tested layer
↓
Verify
↓
Repeat
The build order is encoded into the project. The AI does not have to remember what comes next. It does not negotiate the architecture. It follows a proven path through the codebase.
Your build order is a graph
Every task Hedgehog generates is a node with explicit dependencies in sqlite.
Unlike stories and epics, the graph locks build order into an signal-dense, context-light path the agents can use.
npx @skyf0xx/hedgehog graph # show graph
Parallel by Default
Every dependency is explicit, so Hedgehog knows which tasks can run in parallel.
Agents fan out to give you great outcomes at faster speeds.
Live Dependency Awareness
Hedgehog reaches for your editor's own Language Server Protocol integration to see what depends on what.
flowchart TD
A[Code Repository] --> B[Language Server]
B --> C[Symbols & References]
C --> D[Hedgehog]
- Lower token cost: a targeted symbol lookup replaces reading or grepping whole files for context
- Impact known before editing: every task checks what depends on it before it changes anything
- Verification matches the real surface: tests target what actually changed
Deterministic Code Generation
Where a piece of code has one correct shape, Hedgehog generates it instead of asking the AI to write it freehand.
- Generators over freehand: schemas, boilerplate, and scaffolding come from generators that create the code
- Faster: no reasoning required to produce a known shape
- More correct: the same input always produces the same, tested output
- Fewer tokens: nothing spent generating code that a template already covers
The AI is reserved for the parts a generator can't cover.
What Hedgehog builds
Full-stack applications
Similar plugs
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies
Bash is all you need - A nano claude code, like 「agent harness」, built from 0 to 1
Documented system prompts from Anthropic - Claude Fable 5.1, Opus 5.5, Claude Design, Claude Code. OpenAI - ChatGPT GPT-6-Astra, Codex. Google - Gemini 3.8 Flash, 3.1 Pro…
A light-weight and powerful meta-prompting, context engineering and spec-driven development system for Claude Code by TÂCHES.