From disciplined-process
Core orchestration for disciplined AI-assisted development. Auto-invokes when starting new features, implementing tasks, or working on any development that should follow the spec-first, test-driven process. Triggers on task planning, feature implementation, bug fixes, refactoring work, or when beads/bd tasks are referenced.
How this skill is triggered — by the user, by Claude, or both
Slash command
/disciplined-process:disciplined-workflowThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill enforces a rigorous, traceable development process inspired by the Rue language project. Every implementation traces back to specifications, every specification has tests, and every decision is recorded.
This skill enforces a rigorous, traceable development process inspired by the Rue language project. Every implementation traces back to specifications, every specification has tests, and every decision is recorded.
For any non-trivial work, follow the 7-phase loop:
Orient → Specify → Decide → Test → Implement → Review → Close
See references/workflow.md for the full workflow reference with commands.
For large features (multi-file, multi-task), use these tools to manage complexity:
/dp:decompose): Transforms specs into dependency-aware, context-window-sized work items. Ambiguities become first-class "holes" that block downstream work. Use after the Specify phase for feature-scale work./dp:progress): Generates structured reports from Beads and git state. Reports serve both humans (status updates, action items) and AI agents (context recovery for fresh sessions via docs/progress/latest.md). Use during Close phase or in watch mode for ongoing projects.Before implementing anything:
# Check what's ready to work on
/dp:task ready
# Claim a task
/dp:task update <task-id> --status in_progress
# Review the task context
/dp:task show <task-id>
When you discover related work:
# File discovered issues, linked to parent
/dp:task discover "Found: <issue>" --from <parent-id> -p <priority>
# Run quality gates (tests, lint, build)
# Close the task
/dp:task close <task-id> --reason "Implemented per spec [SPEC-ID]"
# Commit with task reference
git add -A && git commit -m "feat: <description> (<task-id>)"
The disciplined process expects this structure:
project/
├── CLAUDE.md # Project-specific adaptations
├── .claude/
│ └── settings.json # Hooks and permissions
├── .beads/ # Task tracking (or alternative)
├── docs/
│ ├── spec/ # Specifications with paragraph IDs
│ │ ├── 00-overview.md
│ │ ├── 01-<domain>.md
│ │ └── ...
│ ├── adr/ # Architecture Decision Records
│ │ ├── 0001-<decision>.md
│ │ └── template.md
│ └── process/ # Process documentation
│ ├── code-review.md
│ └── workflow.md
├── tests/ # Test suites by type
│ ├── unit/
│ ├── integration/
│ ├── property/
│ └── e2e/
└── src/ # Implementation
This workflow supports three enforcement levels (configured in .claude/settings.json):
npx claudepluginhub rand/disciplined-process-plugin --plugin disciplined-processEnforces a spec-first development workflow that creates spec.md, todo.md, and decisions.md artifacts before implementation.
Enforces a gated Spec → Plan → Build → Test → Review → Ship lifecycle for multi-file features and projects, preventing AI coding agents from skipping specification and verification steps.
Creates structured specifications before coding. Use when starting new projects, features, or significant changes with ambiguous requirements.