ralph-speckit
Spec-driven development using GitHub spec-kit methodology. Constitution-first approach with specify, plan, tasks, and implement phases.
pinned to #1b33202updated 2 weeks ago
Ask your AI client: “install plugins/ralph-speckit”.
Requires the metahub MCP server installed in your client. Set up MCP.
mh install plugins/ralph-speckitmetahub onboarded this repo on the author's behalf.
If you own github.com/tzachbon/smart-ralph on GitHub, claim the listing to take over publishing. Your claim preserves the existing eval history and badges; only the curator label is replaced with verified-publisher on your next publish.
Stars
420
Last commit
2 weeks ago
Latest release
published
- #agentic-coding
- #ai
- #ai-agents
- #autonomous-coding
- #claude
- #claude-code
- #claude-code-plugin
- #claude-code-skills
- #claude-skills
- #codex-skills
- #coding-agent
- #developer-tools
- #llm
- #productivity
- #ralph-loop
- #ralph-wiggum
- #spec-driven-development
- #workflow-automation
Evaluation report
WarningsAutomated checks the publisher passed at publish time — structure, docs, safety, and whether the artifact behaves as claimed.1b33202· 2 weeks ago
Kind-specific
31Plugin: manifest fields complete
Plugin: bundled artifacts presentwarn
Couldn't find a skills/ subdir or an MCP server config inside the plugin
A plugin is most useful when it bundles ≥ 1 skill or an MCP server.
Plugin: bundle shape
empty bundle
Plugin: manifest location
manifest at plugin.json
Release history
1- releasecurrent1b33202warn2 weeks ago
Contents
Spec-driven development plugin for Claude Code using the GitHub spec-kit methodology. Constitution-first approach with specify, plan, tasks, and implement phases.
Features
- Constitution-First Approach: Establish project principles before any feature work
- Autonomous Execution: Built-in stop-hook for continuous task execution
- Parallel Task Execution: Tasks marked
[P]run simultaneously - 4-Layer Verification: Contradiction detection, uncommitted files check, checkmark verification, and completion signals
- QA Engineer Agent: Specialized agent for
[VERIFY]quality checkpoint tasks - State Persistence: Progress tracked across sessions via
.speckit-state.json - Auto Feature IDs: Automatic feature numbering (001, 002, etc.)
- Branch Management: Auto-creates feature branches from default branch
Prerequisites
- Claude Code installed and configured
Installation
# Install the plugin
/plugin install ralph-speckit@claude-plugins-official
# Or install from local directory
claude --plugin-dir /path/to/ralph-speckit
Quick Start
5-minute example workflow:
# 1. Create project constitution (first-time setup)
/speckit:constitution Define principles for a web API project
# 2. Start a new feature
/speckit:start user-auth Add user authentication with JWT
# 3. Define what the feature should do
/speckit:specify
# 4. Create implementation plan
/speckit:plan
# 5. Generate task list
/speckit:tasks
# 6. Execute tasks autonomously
/speckit:implement
Workflow
┌─────────────────┐
│ constitution │ Establish project principles
└────────┬────────┘
│
┌────────▼────────┐
│ start │ Create feature + branch
└────────┬────────┘
│
┌────────▼────────┐
│ specify │ Define user stories
└────────┬────────┘
│
┌──────────────┼──────────────┐
│ │ │
┌────────▼────────┐ │ ┌────────▼────────┐
│ clarify │ │ │ checklist │
│ (optional) │ │ │ (optional) │
└────────┬────────┘ │ └────────┬────────┘
│ │ │
└──────────────┼──────────────┘
│
┌────────▼────────┐
│ plan │ Technical design
└────────┬────────┘
│
┌──────────────┼──────────────┐
│ │ │
┌────────▼────────┐ │ ┌────────▼────────┐
│ analyze │ │ │ taskstoissues │
│ (optional) │ │ │ (optional) │
└────────┬────────┘ │ └────────┬────────┘
│ │ │
└──────────────┼──────────────┘
│
┌────────▼────────┐
│ tasks │ Generate task list
└────────┬────────┘
│
┌────────▼────────┐
│ implement │ Execute via stop-hook loop
└────────┬────────┘
│
┌────────▼────────┐
│ COMPLETE │
└─────────────────┘
Command Reference
| Command | Description | Usage |
|---|---|---|
/speckit:constitution | Create/update project principles | /speckit:constitution [description] |
/speckit:start | Start new feature with auto-ID | /speckit:start <name> [goal] |
/speckit:specify | Define feature specification | /speckit:specify [description] |
/speckit:clarify | Clarify spec requirements | /speckit:clarify [questions] |
/speckit:checklist | Generate quality checklist | /speckit:checklist |
/speckit:plan | Create technical design | /speckit:plan |
/speckit:analyze | Analyze implementation approach | /speckit:analyze |
/speckit:tasks | Generate task list | /speckit:tasks |
/speckit:taskstoissues | Convert tasks to GitHub issues | /speckit:taskstoissues |
/speckit:implement | Execute tasks autonomously | /speckit:implement [--max-task-iterations 5] |
/speckit:status | Show current feature status | /speckit:status |
/speckit:switch | Switch active feature | /speckit:switch <feature-id> |
/speckit:cancel | Cancel execution loop | /speckit:cancel |
Directory Structure
After running speckit commands:
.specify/
├── .current-feature # Active feature name
├── memory/
│ └── constitution.md # Project constitution
├── specs/
│ └── 001-feature-name/
│ ├── spec.md # Feature specification
│ ├── plan.md # Technical design
│ ├── tasks.md # Task list
│ ├── .speckit-state.json # Execution state (transient)
│ └── .progress.md # Progress tracking (transient)
├── templates/ # Spec file templates
└── scripts/ # Helper scripts
State Files
| File | Purpose | Git |
|---|---|---|
.specify/.current-feature | Active feature pointer | ignored |
.speckit-state.json | Execution state (phase, taskIndex, iterations) | ignored |
.progress.md | Progress tracking, learnings, context | ignored |
spec.md, plan.md, tasks.md | Feature specifications | committed |
The .speckit-state.json file is deleted on completion. The .progress.md file is preserved for learning history.
Architecture
Agents
| Agent | Purpose |
|---|---|
spec-executor | Executes individual tasks, commits changes, outputs TASK_COMPLETE |
qa-engineer | Handles [VERIFY] quality checkpoint tasks |
Task Markers
[P]- Parallel task (runs simultaneously with adjacent [P] tasks)[VERIFY]- Verification task (delegates to qa-engineer)- No marker - Sequential task
Verification Layers
The execution coordinator validates each task completion:
- Contradiction Detection: Rejects claims of completion with failure phrases
- Uncommitted Files Check: Ensures spec files are committed
- Checkmark Verification: Validates checkmark count matches expected
- Completion Signal: Requires explicit TASK_COMPLETE output
Execution Protocol
spec-executoroutputsTASK_COMPLETEper taskqa-engineeroutputsVERIFICATION_PASSorVERIFICATION_FAIL- Coordinator outputs
ALL_TASKS_COMPLETEwhen done - Failed tasks retry up to
maxTaskIterations(default: 5)
Troubleshooting
"No constitution found"
Run constitution command first:
/speckit:constitution Define your project principles
"No active feature"
Start a feature before implementing:
/speckit:start my-feature Description of feature
"Tasks not found"
Generate tasks before implementing:
/speckit:tasks
Task stuck in retry loop
- Check
.progress.mdLearnings section for failure details - Fix the issue manually
- Run
/speckit:implementto resume
State file corrupt
Delete and reinitialize:
rm .specify/specs/<feature>/.speckit-state.json
/speckit:implement
Dependencies
This plugin is self-contained. Autonomous execution is handled by the built-in stop-hook, which controls the execution loop continuation. No external plugins are required.
License
MIT License - see LICENSE file for details.
Contributing
See CONTRIBUTING.md for guidelines.
Changelog
See CHANGELOG.md for version history.
Reviews
No reviews yet. Be the first.
Related
superloopy
Lightweight loop harness with strict evidence gates — Claude Code edition.
manifest-dev-tools
Tools for working with prompts and PRs alongside the manifest workflow. Collaborative PR walkthroughs, autonomous PR review with per-comment verification, author-side PR babysitting via manifest-dev, gap-calibrated prompt engineering, cross-boundary context handoff, and incremental teaching for session work.
plugin-template
A template for creating new Claude Code plugins
mh install plugins/ralph-speckit