Skip to content

alo-exp/silver-bullet

Repository files navigation

Silver Bullet

AI-native Software Engineering Process Orchestrator

"There is no single development, in either technology or management technique, which by itself promises even one order-of-magnitude improvement..." — Fred Brooks, 1986

Brooks was right then. AI changes the equation now.

Silver Bullet is a Claude Code plugin that orchestrates the best open-source agentic workflows into one enforced process. It combines GSD (multi-agent execution), Superpowers (code review, branch management), Engineering (testing, docs, deploy), and Design (design system, UX copy, accessibility) into a single orchestrated workflow — then enforces it with 7 layers of compliance so Claude can never skip steps.

Current version: v0.6.0 — double-pass review loop enforcement (✅ Approved twice in a row), blocking CI gate (hard stop on failure), expanded CI stack detection (8 new stacks), and critical /create-release skill rename fix.

How It Works

When you edit source code without completing the planning phase, you see this:

🚫 HARD STOP — Planning incomplete. Missing skills:
❌ quality-gates
Run the missing planning skills before editing source code.

When you try to git commit before completing the full workflow:

🛑 COMPLETION BLOCKED — Workflow incomplete.

You are attempting to commit/push/deploy but these required steps are missing:
  ❌ /code-review
  ❌ /receiving-code-review
  ❌ /testing-strategy
  ❌ /documentation
  ❌ /finishing-a-development-branch
  ❌ /deploy-checklist
Complete ALL required workflow steps before finalizing.

On every single tool use, you see progress:

Silver Bullet: 3 steps | PLANNING 1/1 | REVIEW 1/2 | FINALIZATION 0/4 | Next: /receiving-code-review

There is no way to skip steps without the plugin telling Claude (and you) exactly what's missing.

Two Workflows

Silver Bullet supports two workflow modes, selected during project initialization:

Workflow For Steps Unique features
full-dev-cycle Application development (web, API, CLI, library) 20 GSD wave execution, 8 quality dimensions, TDD, release notes
devops-cycle Infrastructure / DevOps (Terraform, k8s, Helm, CI/CD) 24 Blast radius assessment, IaC-adapted quality gates, environment promotion, incident fast path, release notes

Both workflows use GSD as the primary execution engine and Silver Bullet skills for quality gates, code review, and finalization.

The Four-Plugin Ecosystem

Plugin Role Key capabilities
GSD (primary) Multi-agent execution Fresh 200K-token context per agent, wave-based parallel execution, dependency graphs, atomic per-task commits, context rot prevention
Superpowers Code review + branch management Brainstorming, code-review, receiving-code-review, git worktrees, verification
Engineering Testing + docs + deploy testing-strategy, documentation, deploy-checklist, debugging, architecture
Design Design system + UX design-system, ux-copy, accessibility-review, design-critique

Install

1. Install prerequisites

npx get-shit-done-cc@^1.30.0
/plugin install obra/superpowers
/plugin install anthropics/knowledge-work-plugins/tree/main/engineering
/plugin install anthropics/knowledge-work-plugins/tree/main/design

Install jq if you don't have it:

brew install jq    # macOS
apt install jq     # Linux

2. Install Silver Bullet

/plugin install alo-exp/silver-bullet

3. (Optional) Install DevOps plugins

If you'll use the devops-cycle workflow, these optional plugins provide context-aware enrichment. Silver Bullet's skill router automatically selects the best plugin for your IaC toolchain and cloud provider. None are required — the workflow works without them.

/plugin marketplace add hashicorp/agent-skills          # Terraform, Packer
/plugin marketplace add awslabs/agent-plugins           # AWS architecture, serverless, databases
/plugin marketplace add pulumi/agent-skills             # Pulumi programs, IaC migration
/plugin marketplace add ahmedasmar/devops-claude-skills  # k8s, CI/CD, GitOps, monitoring, cost optimization
/plugin marketplace add wshobson/agents                 # Kubernetes operations, Helm, multi-agent teams
Plugin Best for
hashicorp/agent-skills Terraform HCL authoring, module design, provider development, Packer images
awslabs/agent-plugins AWS architecture, serverless (Lambda/API GW), databases, CDK/CloudFormation
pulumi/agent-skills Pulumi programs, ComponentResource, Automation API, IaC migration (TF/CDK/CF/ARM → Pulumi)
ahmedasmar/devops-claude-skills Terraform/Terragrunt, k8s troubleshooting, AWS cost optimization, CI/CD pipelines, GitOps (ArgoCD/Flux), monitoring/observability
wshobson/agents Kubernetes manifests/Helm/GitOps/security, multi-agent orchestration

During /using-silver-bullet setup, Silver Bullet detects which of these are installed and stores the results in .silver-bullet.json. The devops-cycle workflow then uses the /devops-skill-router to invoke the best available skill at each trigger point.

4. Initialize your project

Open your project in Claude Code and run:

/using-silver-bullet

This will:

  • Check that all 4 plugin dependencies are installed
  • Auto-detect your project name, tech stack, and source directory
  • Ask whether this is an application or DevOps/infrastructure project
  • Create a CLAUDE.md with enforcement rules
  • Create .silver-bullet.json with your project config
  • Copy the appropriate workflow file(s) to docs/workflows/
  • Create placeholder docs (docs/Master-PRD.md, etc.)
  • Commit everything

That's it. Enforcement is now active.

Full Dev Cycle (20 Steps)

INITIALIZATION

# Step Source Required
1 Worktree decision Inline No
2 /gsd:new-project GSD If new project

PER-PHASE LOOP (repeat for each phase in ROADMAP)

# Step Source Required
3 /gsd:discuss-phase GSD Yes
4 /quality-gates Silver Bullet Yes
5 /gsd:plan-phase GSD Yes
6 /gsd:execute-phase GSD Yes
7 /gsd:verify-work GSD Yes
8 /code-review + code-reviewer Superpowers Yes
9 /requesting-code-review Superpowers Yes
10 /receiving-code-review Superpowers Yes
11-12 Post-review plan + execute GSD If needed

FINALIZATION

# Step Source Required
13 /testing-strategy Engineering Yes
14 Tech-debt notes Inline No
15 /documentation Engineering Yes
16 /finishing-a-development-branch Superpowers Yes

DEPLOYMENT

# Step Source Required
17 CI/CD pipeline (CI must be green) Inline Yes
18 /deploy-checklist Engineering Yes
19 /gsd:ship GSD Yes

RELEASE

# Step Source Required
20 /create-release Silver Bullet Yes

DevOps Cycle (24 Steps)

Same structure as full-dev-cycle with these additions:

  • Incident fast path at the top for emergency production changes
  • /blast-radius assessment before quality gates (maps change scope, dependencies, failure scenarios, rollback plan)
  • /devops-quality-gates — 7 IaC-adapted quality dimensions (usability excluded)
  • Environment promotion section (dev → staging → prod)
  • .yml/.yaml files are NOT exempt from enforcement (they are infrastructure code)

Built-in Silver Bullet Skills

Skills installed by this plugin that extend the workflow:

Skill When to use
/using-silver-bullet Once per project — initializes CLAUDE.md, config, CI, and docs scaffold
/quality-gates Before planning (dev) — checks all 8 quality dimensions in parallel
/blast-radius Before planning (DevOps) — maps change scope, dependencies, and rollback plan
/devops-quality-gates Before planning (DevOps) — 7 IaC-adapted quality dimensions (usability excluded)
/devops-skill-router During DevOps execution — routes to best available IaC toolchain plugin
/forensics After a completed, failed, or abandoned session — structured post-mortem investigation
/create-release After /gsd:ship — generates release notes and creates GitHub Release

/forensics

When a session produces wrong output, stalls, or is abandoned, /forensics guides Claude through structured root-cause investigation rather than blind retrying.

Four invocation contexts:

  • Session completed but left things broken
  • Session abandoned, timed out, or interrupted
  • /gsd:verify-work (step 7) fails or produces suspect output
  • Autonomous session has stalled mid-run

Three investigation paths:

  1. Session-level — Timeout flag, session log, git history → classifies as pre-answer gap, anti-stall trigger, genuine blocker, external kill, or unknown
  2. Task-level — Plan vs. diff comparison, test failures → classifies as plan ambiguity, implementation drift, upstream dependency, or verification gap
  3. General — Open-ended; delegates to Path 1 or 2 after one targeted follow-up

Output: Saves a docs/forensics/YYYY-MM-DD-<slug>.md report with symptom, evidence, root cause, contributing factors, next steps, and prevention.

Workflow integration: The step 7 VERIFY gate now instructs Claude to invoke /forensics before retrying on any verification failure. The Enforcement Rules section and CLAUDE.md Section 3 both reference it alongside the debugging rule.


Eight Enforcement Points

The plugin doesn't rely on Claude reading instructions. It enforces compliance through hooks that fire automatically:

Silver Bullet installs 6:

Layer How it works
1. Skill tracker record-skill.sh fires on every Skill tool invocation. Records completed skills to state file.
2. Stage enforcer dev-cycle-check.sh fires on every Edit/Write/Bash. HARD STOP if quality gates incomplete and you're touching source code.
3. Compliance status compliance-status.sh fires on every tool use. Shows progress score so Claude always knows where it stands.
4. Completion audit completion-audit.sh fires on every Bash command. Blocks git commit, git push, gh pr create, and deploy if workflow is incomplete.
5. Redundant instructions CLAUDE.md + workflow file both enforce the same rules, so skipping one doesn't escape enforcement.
6. Anti-rationalization Explicit rules against skipping, combining, or implicitly covering steps. "I covered this while writing" is not valid.

GSD adds 2 more:

Layer How it works
7. GSD workflow guard GSD's own hook detects file edits made outside a /gsd:* command and warns.
8. GSD context monitor GSD's own hook warns at ≤35% tokens remaining, escalates at ≤25%.

Customization

Edit .silver-bullet.json in your project root:

{
  "version": "0.2.0",
  "project": {
    "name": "my-app",
    "src_pattern": "/src/",
    "src_exclude_pattern": "__tests__|\\.test\\.",
    "active_workflow": "full-dev-cycle"
  },
  "skills": {
    "required_planning": ["quality-gates"],
    "required_deploy": [
      "code-review", "requesting-code-review", "receiving-code-review",
      "testing-strategy", "documentation",
      "finishing-a-development-branch", "deploy-checklist",
      "create-release"
    ],
    "all_tracked": [
      "quality-gates", "blast-radius", "devops-quality-gates", "devops-skill-router",
      "design-system", "ux-copy", "architecture", "system-design",
      "code-review", "requesting-code-review", "receiving-code-review",
      "testing-strategy", "documentation",
      "finishing-a-development-branch", "deploy-checklist",
      "create-release"
    ]
  },
  "devops_plugins": {
    "hashicorp": false,
    "awslabs": false,
    "pulumi": false,
    "devops-skills": false,
    "wshobson": false
  },
  "state": {
    "state_file": "/tmp/.silver-bullet-state",
    "trivial_file": "/tmp/.silver-bullet-trivial"
  }
}

What you can change

Field What it controls Default
src_pattern Which file paths trigger enforcement /src/
src_exclude_pattern Which files are exempt (regex) __tests__|\.test\.
active_workflow Which workflow to enforce full-dev-cycle
required_planning Skills that must run before code edits quality-gates
required_deploy Skills that must run before commit/push/deploy code-review, requesting-code-review, receiving-code-review, testing-strategy, documentation, finishing-a-development-branch, deploy-checklist, create-release
all_tracked All skills that get recorded 16 skills (see above)
devops_plugins Which optional DevOps plugins are installed (auto-detected) all false

Trivial Changes

For typo fixes, copy edits, and config tweaks that don't need the full workflow, Claude will automatically detect the change is trivial and bypass enforcement by running:

touch /tmp/.silver-bullet-trivial

You can also run this manually if Claude doesn't detect a trivial change. The flag is automatically cleaned up on the next session start.

Note: In devops-cycle mode, .yml, .yaml, .json, and .toml files are infrastructure code and are NOT auto-exempted from enforcement.

For CI/CD Pipelines

Copy the deploy gate snippet into your pipeline:

# In your deploy script:
bash scripts/deploy-gate-snippet.sh

# Or with bypass:
bash scripts/deploy-gate-snippet.sh --skip-workflow-check

This checks the workflow state file and blocks deployment if required skills are missing.

Updating

If the plugin is updated and you want to refresh templates:

/using-silver-bullet

It detects the existing config and asks if you want to refresh templates while preserving your customizations.

Troubleshooting

"jq not found" — Install jq: brew install jq (macOS) or apt install jq (Linux).

"Superpowers plugin not found" — Run /plugin install obra/superpowers.

"Engineering plugin not found" — Run /plugin install anthropics/knowledge-work-plugins/tree/main/engineering.

"Design plugin not found" — Run /plugin install anthropics/knowledge-work-plugins/tree/main/design.

"GSD plugin not found" — Run npx get-shit-done-cc@^1.30.0.

Hooks not firing — Make sure you ran /using-silver-bullet in the project. Check that .silver-bullet.json exists in your project root.

Wrong files triggering enforcement — Edit src_pattern in .silver-bullet.json to match your project's source directory (e.g., /app/ or /lib/).

Want to start fresh — Delete .silver-bullet.json and CLAUDE.md, then run /using-silver-bullet again.

Architecture

Enforcement hooks (fire automatically)     Project files (created by /using-silver-bullet)
──────────────────────────────────────     ───────────────────────────────────────────────
hooks/record-skill.sh                      .silver-bullet.json (config)
  → records skill invocations              CLAUDE.md (enforcement rules)
                                           docs/workflows/full-dev-cycle.md (20 steps)
hooks/dev-cycle-check.sh                   docs/workflows/devops-cycle.md (24 steps)
  → HARD STOP if planning incomplete
                                           State files (ephemeral, in /tmp/)
hooks/compliance-status.sh                 ─────────────────────────────────
  → progress score on every tool use       /tmp/.silver-bullet-state (skill log)
                                           /tmp/.silver-bullet-trivial (bypass flag)
hooks/completion-audit.sh                  /tmp/.silver-bullet-mode (interactive|autonomous)
  → blocks commit/push/deploy              /tmp/.silver-bullet-session-log-path

Support hooks (fire automatically)
───────────────────────────────────
hooks/semantic-compress.sh
  → TF-IDF context compression after Skill invocations

hooks/session-log-init.sh
  → creates session log file on first Bash use

hooks/ci-status-check.sh
  → verifies CI green before push/deploy proceeds

hooks/timeout-check.sh
  → monitors for stall conditions

hooks/session-start
  → injects Superpowers + Design context at session open

External enforcement (GSD's own hooks)
──────────────────────────────────────
GSD workflow guard → warns on edits outside /gsd:* commands
GSD context monitor → warns at ≤35% tokens, escalates at ≤25%

License

MIT — Alo Labs

About

A Claude Code plugin that enforces a 31-step development workflow through 6 layers of enforcement. Stops AI agents from skipping planning, quality gates, and code review.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors