Interactive setup wizard for the disciplined development workflow.
From disciplined-processnpx claudepluginhub rand/disciplined-process-plugin --plugin disciplined-process/initInitializes beads issue tracking database in current directory with optional prefix (defaults to dir name). Shows DB location, prefix, workflow overview, next steps; displays stats if already set up.
/initInitializes guided UI design for dashboards, apps, and tools. Assesses intent, proposes styles with rationale, builds components, and offers to save patterns.
/initDownloads and installs/updates the platform-specific notification binary for claude-notifications plugin from GitHub into the plugin's bin directory.
/initInitializes or re-boots llmdoc/ directory structure, runs multi-themed project investigations with investigator, and generates initial stable docs via recorder.
/initInitializes AI task harness with ai/tasks/ directory for modular backlog, progress log, bootstrap script, and CLAUDE.md instructions. Supports --mode new|scan and --task-type ops|data|infra|manual.
/initScans Claude Code agents directory for custom agents, lets user select and register them for orchestration workflows, updates registry JSON and documentation.
Interactive setup wizard for the disciplined development workflow.
.claude/dp-config.yaml+==========================================================================+
| Disciplined Process Plugin Setup |
+==========================================================================+
1. Task Tracker
-------------
Which issue tracker would you like to use?
[B] Beads (recommended)
- Git-native, dependencies tracked
- Multi-machine sync via git
- MCP server integration
[U] Builtin (Claude Code Native)
- Zero setup required
- Uses ~/.claude/tasks/
- Project-isolated, dependencies supported
[C] Chainlink
- Session/time tracking, tree view
- Not publicly available (requires source access)
[G] GitHub Issues
- Native GitHub integration
- Team collaboration
[M] Markdown
- Plain files, no dependencies
[N] None
- Skip task tracking
Selection: B
2. Migrating from Beads?
----------------------
Detected .beads/ directory with 12 tasks.
[M] Migrate to Chainlink now
[S] Skip (keep both, migrate later)
[R] Remove Beads data
Selection: M
Migrating...
[x] Parsed 12 Beads issues
[x] Created 12 Chainlink issues
[x] Generated migration map: .claude/dp-migration-map.json
[x] Updated spec references
Migration complete!
3. Enforcement Level
------------------
How strictly should the workflow be enforced?
[S] Strict - Blocks commits that violate process
- Require spec references in implementation
- Require @trace markers in code
- Block edits to protected files
[G] Guided (recommended) - Warns but allows override
- Suggest best practices
- Warn about missing traces
- No hard blocks
[M] Minimal - No enforcement, just tooling
- Skills available on demand
- No hooks or enforcement
Selection: G
4. Adversarial Review
-------------------
Enable VDD-style adversarial code review?
[E] Enabled - Reviews with Gemini before completion
- Fresh context per review
- Hallucination detection
- Iterative improvement loop
[D] Disabled
Selection: E
Adversary model [gemini-2.5-flash]: β΅
5. Language Detection
-------------------
Detected languages: Python, TypeScript
Installing language-specific rules...
[x] .claude/rules/python.md
[x] .claude/rules/typescript.md
CLI Verification: Before accepting a provider choice, verify the required CLI is available:
command -v bd and git rev-parse --git-dircommand -v chainlink (note: not publicly available)command -v gh and gh auth statuscommand -v linearIf a provider's CLI is missing, show installation instructions and allow:
π§ͺ Test Configuration
Based on {language}, recommended frameworks:
Unit tests: {framework} β
Integration: {framework} β
Property tests: {framework} [install? y/n]
E2E tests: {framework} [configure? y/n]
βοΈ Enforcement Level
How strictly should the workflow be enforced?
1. Strict (default)
- Hooks block commits without passing tests
- Require spec references in implementation
- Require task IDs in commits
2. Guided
- Hooks warn but don't block
- Skills suggest best practices
- No hard requirements
3. Minimal
- Skills available on demand
- No hooks or enforcement
- For exploratory work
Choice [1]:
π Ready to create:
.claude/dp-config.yaml - Configuration
.claude/settings.json - Hooks and permissions (merge with existing)
docs/
spec/00-overview.md - Specification template
adr/template.md - ADR template
adr/0001-adopt-disciplined-process.md
process/code-review.md - Review checklist
process/workflow.md - Workflow reference
tests/
unit/.gitkeep
integration/.gitkeep
property/.gitkeep
e2e/.gitkeep
CLAUDE.md - Update with project info (or create)
{If Beads selected:}
.beads/ - Initialize via 'bd init'
Proceed? [Y/n]:
.claude/dp-config.yaml:
# Disciplined Process Configuration v2
version: "2.0"
project:
name: "my-project"
languages:
- python
- typescript
# Issue tracker selection
task_tracker: beads # beads | builtin | chainlink | github | linear | markdown | none
# Beads-specific configuration (when task_tracker: beads)
beads:
auto_sync: true
daemon: true
prefix: null
# Builtin-specific configuration (when task_tracker: builtin)
# Uses Claude Code's native task system (~/.claude/tasks/)
builtin:
task_list_id: null # Auto-generated from project path if null
auto_set_env: true # Auto-set CLAUDE_CODE_TASK_LIST_ID env var
# Chainlink-specific configuration (requires private source access)
chainlink:
features:
sessions: true
milestones: true
time_tracking: true
rules_path: .claude/rules/
# Enforcement level
enforcement: guided # strict | guided | minimal
# Adversarial review configuration
adversarial_review:
enabled: true
model: gemini-2.5-flash
max_iterations: 5
prompt_path: .claude/adversary-prompt.md
# Spec configuration
specs:
directory: docs/spec/
id_format: "SPEC-{section:02d}.{item:02d}"
require_issue_link: true # In strict mode, specs must link to issues
# ADR configuration
adrs:
directory: docs/adr/
template: .claude/templates/adr.md
# Traceability configuration
traceability:
code_patterns:
- "src/**/*.py"
- "src/**/*.ts"
- "lib/**/*"
test_patterns:
- "tests/**/*.py"
- "tests/**/*.ts"
# Degradation behavior
degradation:
on_tracker_unavailable: warn # warn | skip | fail
on_hook_failure: warn
--config <path>: Use specific config file--minimal: Skip optional components (property tests, e2e)--force: Overwrite existing files without prompting--wizard: Force wizard even if config existsAfter collecting configuration:
.claude/dp-config.yaml.claude/settings.json with hooksdocs/spec/00-overview.md from templatedocs/adr/template.mddocs/process/code-review.mdCLAUDE.md with project adaptationsbd init --quiet+==========================================================================+
| Setup Complete! |
+==========================================================================+
Configuration saved to: .claude/dp-config.yaml
Created:
[x] .claude/dp-config.yaml - Plugin configuration
[x] .claude/settings.json - Hook configuration
[x] .claude/rules/python.md - Python best practices
[x] .claude/rules/typescript.md - TypeScript best practices
[x] docs/spec/00-overview.md - Specification template
[x] docs/adr/template.md - ADR template
[x] docs/adr/0001-adopt-dp.md - Initial ADR
Next steps:
chainlink session start # Begin a work session
chainlink ready # See available tasks
/dp:spec create 01 "Core" # Create first spec
/dp:task ready # Find work to do
Workflow reminder:
Orient β /dp:task ready
Specify β /dp:spec add <section> "<requirement>"
Decide β /dp:adr create "<decision>"
Test β Write tests with @trace SPEC-XX.YY
Implementβ Code until tests pass
Review β /dp:review [adversarial]
Close β /dp:task close <id>
Run '/dp:help' for full command reference.