skills/forge-playbooks/SKILL.md
[read-only] List available playbooks with usage stats and parameter details. Use when you want to see what playbooks are available, check playbook analytics, or find the right playbook for a task.
npx skillsauth add quantumbitcz/dev-pipeline forge-playbooksInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
List all available playbooks (project-specific and built-in) with their descriptions, parameter details, and usage analytics.
See shared/skill-contract.md for the standard exit-code table.
Before any action, verify:
git rev-parse --show-toplevel 2>/dev/null. If fails: report "Not a git repository. Navigate to a project directory." and STOP..claude/forge.local.md exists. If not: report "Forge not initialized. Run /forge-init first." and STOP.playbooks.enabled from forge-config.md. If false: report "Playbooks are disabled. Set playbooks.enabled: true in forge-config.md." and STOP.Scan both playbook directories:
playbooks.directory from forge-config.md (default: .claude/forge-playbooks). Glob for *.md files in that directory.*.md files in ${CLAUDE_PLUGIN_ROOT}/shared/playbooks/.For each discovered playbook:
name, description, version, parameters, tags, acceptance_criteria.name matches the filename (sans .md). If mismatch, note it as a warning..forge/playbook-analytics.json exists.run_count, success_count, avg_score, last_used.Display playbooks grouped by source (project first, then built-in):
## Available Playbooks
### Project Playbooks (.claude/forge-playbooks/)
| Playbook | Description | Params | Runs | Avg Score | Last Used |
|----------|-------------|--------|------|-----------|-----------|
| `{name}` | {description} | {required}/{total} | {run_count} | {avg_score} | {last_used or "never"} |
### Built-In Playbooks
| Playbook | Description | Params | Runs | Avg Score | Last Used |
|----------|-------------|--------|------|-----------|-----------|
| `{name}` | {description} | {required}/{total} | {run_count} | {avg_score} | {last_used or "never"} |
---
### Usage
To run a playbook:
/forge-run --playbook={name} param1=value1 param2=value2
To see playbook details:
/forge-playbooks {name}
If $ARGUMENTS contains a playbook name, show the detailed view for that specific playbook:
## Playbook: {name}
**Description:** {description}
**Version:** {version}
**Mode:** {mode}
**Tags:** {tags | join:", "}
**Source:** {project or built-in}
### Parameters
| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| `{name}` | {type} | {yes/no} | {default or "-"} | {description} |
### Acceptance Criteria
1. {ac_1}
2. {ac_2}
...
### Review Focus
- Categories: {focus_categories | join:", "}
- Min score: {min_score}
- Review agents: {review_agents | join:", "}
### Analytics
| Metric | Value |
|--------|-------|
| Total runs | {run_count} |
| Success rate | {success_count}/{run_count} ({pct}%) |
| Average score | {avg_score} |
| Average iterations | {avg_iterations} |
| Average duration | {avg_duration_seconds}s |
| Average cost | ${avg_cost_usd} |
| Last used | {last_used} |
### Common Findings
| Category | Occurrences |
|----------|-------------|
| {category} | {count} |
### Example
/forge-run --playbook={name} {example_params}
.claude/forge-playbooks/ or enable built-in playbooks with playbooks.builtin_playbooks: true."| Condition | Action | |-----------|--------| | Prerequisites fail | Report specific error message and STOP | | No playbooks found | Report "No playbooks available" with instructions to create or enable built-ins | | Playbook frontmatter invalid | Skip playbook, log WARNING with filename and parse error | | Analytics file corrupt | Report "Analytics data unavailable (corrupt file)" and list playbooks without stats | | Playbook name mismatch | Log WARNING: "Playbook {filename} has name={name} in frontmatter (should match filename)" | | Requested detail view for nonexistent playbook | Report "Playbook '{name}' not found" and list available playbooks |
/forge-run --playbook={name} -- Run a specific playbook/forge-shape -- Shape a requirement that could become a playbook/forge-insights -- Cross-run analytics including playbook effectivenessplaybooks.md (in shared) -- Playbook format specification and interpolation syntaxdevelopment
[writes] Build, fix, deploy, review, or modify code in this project. Universal entry for the forge pipeline. Auto-bootstraps on first run; brainstorms before planning when given a feature description. Use when you want to take any productive action: implementing features, fixing bugs, reviewing branches, deploying, committing, running migrations.
tools
[writes] Manage forge state and configuration: recovery, abort, config edits, session handoff, automations, playbooks, output compression, knowledge graph maintenance. Use when you need to recover from broken pipeline state, edit settings, or manage long-lived state.
development
[writes] Create, list, show, resume, or search forge session handoffs. Use when context is getting heavy and you want to transfer a forge run or conversation into a fresh Claude Code session, or to resume from a prior handoff artefact. Subcommands - no args (write), list, show, resume, search.
development
[writes] Manage the Neo4j knowledge graph. Subcommands: init, rebuild (writes); status, query <cypher>, debug (read-only). Requires Docker. No default — an explicit subcommand is required. Use when setting up the graph for the first time, rebuilding after major refactors, checking graph health, or running ad-hoc Cypher diagnostics.