onehammer-plan

Plans software features through a gated multi-phase pipeline producing validated bead graphs.

28|7|Updated Mar 30, 2026
One-click install
npx skills add https://github.com/DK625/OneHammer --skill onehammer-plan-dk625
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: onehammer-plan
Source: https://github.com/DK625/OneHammer/tree/main/.claude/skills/onehammer-plan
Command: npx skills add https://github.com/DK625/OneHammer --skill onehammer-plan-dk625

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Feature planning in AI-assisted coding often skips discovery, produces vague stories, and loses track of state between sessions. This Skill enforces a strict, state-tracked planning pipeline that turns a feature request into validated, dependency-ordered executable work items (beads) with evidence requirements. ## Core Features & Use Cases - Phased planning pipeline (0–6): pre-flight indexing, four-lane discovery (Architecture, Patterns, Constraints, External), risk-based business and test clarification, approach synthesis, phase contracts, story maps, script-materialized beads, and graph validation. - Hook-enforced gates: mechanical guards block skipped phases, premature approvals, and invalid state transitions via .claude/hooks/planning_guard.mjs and a single authoritative JSON state file. - Deterministic bead materialization: materialize_beads.mjs converts approved Bead Specs into real br issues with dependency edges, replacing <bead:KEY> tokens with canonical IDs. - Use Case: A developer runs /onehammer:plan on a new fullstack feature; the Skill indexes the repo with Serena/GitNexus, runs discovery lanes, asks only blocking clarification questions, produces phase contracts and story maps, and outputs a cycle-free bead graph ready for execution. ## Quick Start Ask the assistant to run /onehammer:plan for your feature request and follow the PIPELINE STATUS header through each phase until the validated bead graph is produced.

Frequently Asked Questions about onehammer-plan

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I plan a software feature with Claude Code using phases?

Invoke /onehammer:plan with your feature request or requirement path. The pipeline runs Phase 0 pre-flight indexing, four discovery lanes, clarification gates, then produces phase contracts, story maps, and a validated bead graph before stopping at Phase 6.

What tools does the onehammer-plan pipeline require?

It requires Serena, Exa, GitNexus, and Chrome DevTools MCP servers configured in .mcp.json, plus the br, bv, and jq command-line tools. Phase 0 verifies all of these and fails closed if any check fails.

Can I skip phases or use a lighter planning flow?

Full mode never skips phases, but an opt-in Lightweight Mode exists when there are zero high risks, one story, no cross-team contract change, and no new dependency. It still requires Phase 0, discovery, full bead coverage, and Phase 6 validation.

How are beads created from the approved story maps?

Phase 5 runs materialize_beads.mjs, which parses the bead-specs JSON blocks, validates dependencies and clauses, runs br create in topological order, adds br dep edges, and replaces <bead:KEY> tokens with canonical IDs. Manual br create loops are forbidden.

What happens if repository indexing fails during Phase 0?

The pipeline stops immediately and reports the indexing error. Phase 0 stays incomplete, no discovery begins, and success flags are never set from a background launch alone—only a collected zero exit code counts.