Skip to content
claudecraft logo

ClaudeCraft Workflow Skill

claudecraft

Spec-driven development workflow skill. Auto-loads when working on: - Specification creation or editing - Technical planning - Task decomposition - Implementation within ClaudeCraft context

SKILL.md

Full skill instructions

ClaudeCraft Workflow Skill

Project Context

ClaudeCraft is a TUI-based spec-driven development orchestrator that enables:

  • Idea → BRD → PRD → Spec → Tasks → Autonomous Implementation
  • Parallel agent execution (max 6 concurrent)
  • Git worktree isolation for all implementation work
  • Real-time progress tracking in TUI
  • Database-driven task management

The Happy Path

Complete workflow from idea to implementation:

┌─────────────────────────────────────────────────────────────────────┐
│                        HUMAN INTERACTION                            │
├─────────────────────────────────────────────────────────────────────┤
│  /​claudecraft.brd     Interactive BRD creation with research          │
│        ↓                                                            │
│  /​claudecraft.prd     Interactive PRD creation (from BRD or scratch)  │
│        ↓                                                            │
│  /​claudecraft.specify Generate technical spec [APPROVAL REQUIRED]     │
├─────────────────────────────────────────────────────────────────────┤
│                      FULLY AUTONOMOUS                               │
├─────────────────────────────────────────────────────────────────────┤
│  /​claudecraft.plan    Create implementation plan                       │
│        ↓                                                            │
│  /​claudecraft.tasks   Decompose into database tasks                    │
│        ↓                                                            │
│  /​claudecraft.implement Execute with parallel agents                   │
│        ↓                                                            │
│  /​claudecraft.qa      Final validation and merge                       │
└─────────────────────────────────────────────────────────────────────┘

Commands Available

Discovery & Requirements (Human Interactive)

  • /​claudecraft.brd - NEW Guide user through creating a Business Requirements Document
  • /​claudecraft.prd - NEW Guide user through creating a Product Requirements Document
  • /​claudecraft.ingest - Import existing BRD/​PRD document

Specification (Human Approval Required)

  • /​claudecraft.specify - Generate specification from requirements

Autonomous Execution

  • /​claudecraft.plan - Create technical implementation plan
  • /​claudecraft.tasks - Decompose plan into executable database tasks
  • /​claudecraft.implement - Execute autonomous implementation
  • /​claudecraft.qa - Run final QA validation

Project Setup

  • /​claudecraft.init - Initialize ClaudeCraft project

Key Principles

  • constitution.md defines immutable project principles
  • All specs live in specs/​{spec-id}/
  • Implementation happens in isolated git worktrees (.worktrees/)
  • Human approval required only for specs, not implementation
  • Implementation is fully autonomous after spec approval

Directory Structure

project-root/
├── .claudecraft/
│   ├── constitution.md              # Immutable project principles
│   ├── config.yaml                  # ClaudeCraft configuration
│   ├── claudecraft.db                  # SQLite database
│   ├── specs.jsonl                  # Git-friendly sync
│   └── memory/                      # Cross-session context
├── specs/​{spec-id}/
│   ├── brd.md                       # Business Requirements Document
│   ├── prd.md                       # Product Requirements Document
│   ├── spec.md                      # Functional specification
│   ├── plan.md                      # Technical plan
│   ├── research.md                  # Codebase analysis
│   ├── validation.md                # Human approval record
│   ├── implementation/              # Task execution logs
│   └── qa/                          # QA reports
├── .claude/
│   ├── agents/                      # Sub-agent definitions
│   ├── commands/                    # Slash commands
│   ├── skills/​claudecraft/             # This skill
│   └── hooks/                       # Lifecycle hooks
└── .worktrees/                      # Isolated development

Workflow Stages

  1. Business Requirements (Human + AI) - Create BRD with /​claudecraft.brd
  2. Product Requirements (Human + AI) - Create PRD with /​claudecraft.prd
  3. Specification (Human + AI) [HUMAN GATE] - Generate and approve spec.md
  4. Planning (Autonomous) - Create technical plan.md
  5. Task Decomposition (Autonomous) - Create tasks in database
  6. Implementation (Autonomous) - Parallel agent execution
  7. Quality Assurance (Autonomous) - Final QA and merge

Sub-Agent Delegation

  • claudecraft-architect: Planning, design decisions, task decomposition
  • claudecraft-coder: Implementation of tasks
  • claudecraft-reviewer: Code review against spec and standards
  • claudecraft-tester: Test creation and execution
  • claudecraft-qa: Final validation and sign-off

TUI Features

Launch with claudecraft tui:

  • Specs Panel: View all specifications and their status
  • Spec Editor: View/​edit spec documents (BRD, PRD, spec, plan)
  • Dependency Graph: Visualize task dependencies
  • Swimlane Board (press 't'): Real-time task status across columns
  • Agent Panel: Live view of running Claude Code agents

Database Schema

  • specs: id, title, status, source_type, metadata
  • tasks: id, spec_id, title, status, priority, dependencies, assignee
  • execution_logs: task_id, agent_type, action, output, success
  • active_agents: task_id, agent_type, slot, pid, started_at

Task Status Flow

TODO → IMPLEMENTING → TESTING → REVIEWING → DONE

Tasks are stored in SQLite database, visible in TUI swimlane board. Use claudecraft list-tasks to see all tasks.

Agent Commands

For TUI integration:

  • claudecraft agent-start TASK-ID --type coder - Register active agent
  • claudecraft agent-stop --task TASK-ID - Deregister agent
  • claudecraft list-agents - View active agents

Best Practices

  1. Always reference constitution.md
  2. Follow existing codebase patterns
  3. Write tests alongside code
  4. Work in worktrees, never in main
  5. Iterate based on feedback
  6. Trust autonomous execution after spec approval

More Productivity & Planning skills

brainstorming logo
Productivity & Planning

brainstorming

Structured design dialogue that validates ideas before implementation begins.

295.4K 385.7K
View
ui-ux-pro-max logo
Productivity & Planning

ui-ux-pro-max

Comprehensive design intelligence for web and mobile UI/UX across 10 technology stacks.

133.1K 383.9K
View
writing-plans logo
Productivity & Planning

writing-plans

Comprehensive implementation plans for multi-step tasks, breaking down specs into bite-sized, testable steps.

295.4K 268K
View
using-superpowers logo
Productivity & Planning

using-superpowers

Introduction to the obra skills system with mandatory skill invocation rules and best practices.

295.4K 259.8K
View
executing-plans logo
Productivity & Planning

executing-plans

Execute a written implementation plan with critical review and task checkpoints.

295.4K 229.1K
View
dispatching-parallel-agents logo
Productivity & Planning

dispatching-parallel-agents

Delegate independent tasks to specialized agents working concurrently with isolated context.

295.4K 206.3K
View
using-git-worktrees logo
Productivity & Planning

using-git-worktrees

Isolated git worktrees with smart directory selection and safety verification.

295.4K 205.2K
View
webapp-testing logo
Productivity & Planning

webapp-testing

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

179.7K 170.6K
View
content-strategy logo
Productivity & Planning

content-strategy

Plan searchable and shareable content that drives traffic, builds authority, and generates leads.

53.3K 150.9K
View
repo-intake-and-plan logo
Productivity & Planning

repo-intake-and-plan

README-first repository scanner that extracts commands and classifies reproduction candidates without executing them.

497 139.6K
View
marketing-ideas logo
Productivity & Planning

marketing-ideas

Brainstorm and prioritize marketing strategies tailored to your SaaS stage, budget, and goals.

53.3K 137.2K
View
site-architecture logo
Productivity & Planning

site-architecture

Plan and optimize your website's page hierarchy, navigation, URL structure, and internal linking.

53.3K 112.8K
View

Productivity AI tools

Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View
SaveDay logo
Productivity

SaveDay

Capture, organize, and utilize your knowledge effortlessly.

Free
View
Any Summary logo
Productivity

Any Summary

Instant Summaries of Audio & Video Interviews with AnySummary

Freemium
View
M
Productivity

Map This

Transform PDFs into engaging mind maps.

Freemium
View
ChatPDF logo
Productivity

ChatPDF

Chat with any PDF instantly

Free
View
I
Productivity

intellisay

Create an optimal daily plan using your voice

Paid
View
A
Productivity

Aurora AI

A productivity platform to centralize organizational knowledge and workflows with contextual AI assistance.

Paid
View
AskYourPDF logo
Productivity

AskYourPDF

AskYourPDF Pricing Plans: Tailored to Your Needs

Free
View