Stats
Links
Categories
Commands for writing, auditing, and managing dark-factory specs, prompts, and scenarios
npx claudepluginhub bborbe/dark-factoryCommands for writing, auditing, and managing dark-factory specs, prompts, and scenarios
Autonomous coding pipeline — drop prompts in, get commits out.
One factory per project, sequential prompt processing, zero human intervention between spec and commit.
You (fast) Factory (slow, unattended)
├── write prompt ──→ prompts/ (inbox, passive)
├── ready to go ──→ prompts/in-progress/ ┌─ watcher renames, processor executes
├── write prompt 2 ──→ prompts/ │ YOLO → commit → tag → push
├── move to queue ──→ prompts/in-progress/ │ YOLO → commit → tag → push
└── go AFK └─ idle, watching prompts/in-progress/
↓
You come back ←── changes committed and pushed
docker pull docker.io/bborbe/claude-yolo:v0.3.1go install github.com/bborbe/dark-factory@latest
Or build from source:
git clone https://github.com/bborbe/dark-factory.git
cd dark-factory
make install
# 1. Initialize project
cd ~/your-project
mkdir -p prompts/in-progress prompts/completed prompts/log
cat > .dark-factory.yaml <<'EOF'
pr: false
worktree: false
EOF
# 2. Write a prompt
cat > prompts/my-feature.md << 'EOF'
<summary>
- Adds a /health endpoint returning 200 OK
- No authentication required
- Existing endpoints unchanged
</summary>
<objective>
Add a health check endpoint for load balancer probes.
</objective>
<context>
Read CLAUDE.md for project conventions.
</context>
<requirements>
1. Add GET /health handler returning 200 with body "ok"
2. Register in the router
3. Add test
</requirements>
<constraints>
- Do NOT commit — dark-factory handles git
- Existing tests must still pass
</constraints>
<verification>
Run `make precommit` -- must pass.
</verification>
EOF
# 3. Approve and run
dark-factory prompt approve my-feature
dark-factory daemon
| Command | Purpose |
|---|---|
dark-factory daemon | Watch for prompts and process continuously |
dark-factory run | Process all queued prompts and exit |
dark-factory status | Show combined status |
dark-factory prompt list | List prompts with status |
dark-factory prompt approve <name> | Queue a prompt for execution |
dark-factory prompt cancel <name> | Cancel an approved or executing prompt |
dark-factory prompt requeue <name> | Re-queue a failed or cancelled prompt |
dark-factory spec list | List specs with status |
dark-factory spec approve <name> | Approve a spec (triggers prompt generation) |
dark-factory spec complete <name> | Mark a verified spec as completed |
Dark-factory includes a Claude Code plugin for writing and auditing specs and prompts.
# Install
claude plugin marketplace add bborbe/dark-factory
claude plugin install dark-factory
# Update
claude plugin marketplace update dark-factory
claude plugin update dark-factory@dark-factory
| Command | Description |
|---|---|
/dark-factory:create-spec | Create a spec file interactively |
/dark-factory:create-prompt | Create a prompt from spec or description |
/dark-factory:audit-spec | Audit spec against quality criteria |
/dark-factory:audit-prompt | Audit prompt against Definition of Done |
/dark-factory:daemon | Start daemon in background |
/dark-factory:watch | Monitor daemon with sound alerts (auto-detects project) |
/dark-factory:run | One-shot: generate prompts from specs, execute queue |
/dark-factory:init-project | Initialize project for dark-factory |
/dark-factory:read-guides | Load all dark-factory guides into context |
/dark-factory:generate-code-review-prompts | Review service against guidelines, generate fix prompts |
Optional .dark-factory.yaml in project root: