A Claude Code plugin for structured software development workflows: project planning, research, design, execution, and validation with TDD enforcement and beads integration.
A personal workbench of tools and workflows for Claude Code. Streamlines software development through structured planning, research, and persistent task tracking with beads.
# Add the marketplace and install the plugin
claude plugin marketplace add gvarela/workbench
claude plugin install wb@gvarela-workbenchUsing the pre-2.0 version? The final 1.x release (v1.1.0, old
commands/layout, pre-embedded-Dolt beads) lives on the1.xbranch. It receives critical fixes only — see RELEASING.md and the 2.0.0 migration notes before upgrading.
For local development:
# Clone and test locally (changes take effect immediately)
git clone git@github.com:gvarela/workbench.git
claude --plugin-dir /path/to/workbench/pluginTo release new commands/skills/agents:
-
Bump
versionin bothplugin/.claude-plugin/plugin.jsonand.claude-plugin/marketplace.json(must match) -
Commit and push to GitHub
-
Users run from their shell (not a slash command):
claude plugin update wb@gvarela-workbench
-
Restart Claude (or
/reload-plugins) to apply
Note: /reload-plugins alone does NOT pull updates — the cache is keyed by version and only claude plugin update invalidates it.
# Initialize -> Research -> Design -> Implement -> Validate
/wb:create_project my-feature docs/plans TICKET-123
/wb:create_research docs/plans/2025-01-15-TICKET-123-my-feature
/wb:create_mockup docs/plans/... "UI component" # Optional for UI
/wb:explore_design docs/plans/... # Optional for big architecture decisions
/wb:create_design docs/plans/...
/wb:create_tasks docs/plans/...
/wb:implement docs/plans/...
/wb:validate_execution docs/plans/...Skills (auto-activated): project-structure, doc-adherence, tdd-discipline, verification-before-completion, status-sync. mockup-iteration and review-prep run when you or the model invoke them.
Auto-activation depends on the model electing these skills, which in practice happens rarely inside workflow-command sessions. During coordinated execution the discipline is guaranteed structurally instead: task-workers preload tdd-discipline and every task passes through task-verifier. The auto-activated skills primarily protect solo and ad-hoc changes made outside the workflow commands.
Slash commands for project documentation and task management:
/wb:create_project- Initialize structured documentation with rich metadata/wb:create_research- Document codebase using parallel research agents/wb:create_mockup- Research UI patterns and create HTML mockups with visual validation/wb:explore_design- Explore architecture directions and record the decision (optional)/wb:create_design- Create architectural design decisions (WHAT and WHY)/wb:create_tasks- Transform design into phased execution plan (HOW)/wb:implement- Implement the plan with coordinated worker agents (the default execution path)/wb:implement_inline- Implement the plan inline in this session with TDD/wb:validate_execution- Validate implementation matches plan/wb:validate_project- Validate project documentation structure/wb:create_handoff- Create session handoff for work continuity/wb:resume_handoff- Resume from handoff document/wb:update_status- Intelligently sync status across all documentation files/wb:help- Quick reference for all commands
Specialized agents for codebase analysis:
codebase-locator- Find specific components and filescodebase-analyzer- Analyze implementation details with file:line referencespattern-finder- Find similar patterns and implementationsresearch-validator- Check a research document's paths, snippets, and claims against the codetask-worker- Implement exactly one beads task with TDD under/wb:implementtask-verifier- Verify task completion against requirements
Background capabilities that Claude automatically invokes:
project-structure- Enforces document separation (research.md, design.md, tasks.md)doc-adherence- Requires claims about a plan document to come from a read of that file in the current contexttdd-discipline- Enforces RED-GREEN-REFACTOR cycle before writing production codeverification-before-completion- Requires running verification before claiming work is donestatus-sync- Monitors for status drift and reminds to sync
Invoked by you (or by the model when you ask for it):
mockup-iteration- Iterate on UI mockups with KEEP/REMOVE/CHANGE trackingreview-prep- Interactive code review walkthrough using tmux and nvim
- SessionStart -
wb-prime.sh: orientation on startup, resume, clear, and fork (stage chain, plan layout, the beads sanity check, active plans); recovery text on compact. Override with.claude/wb/PRIME.md; print the default withhooks/wb-prime.sh --export - PreCompact -
wb-prime.shis also registered here, but PreCompact output never reaches the model or the summary; the recovery text arrives through SessionStart'scompactsource - SessionEnd - Reminds to
bd dolt pushonly when a Dolt remote is configured (silent otherwise) - PostToolUse - Lints markdown files after Write/Edit operations
workbench/
├── .claude-plugin/ # Marketplace manifest (source: ./plugin)
├── plugin/ # The shipped runtime — the only thing installs cache
│ ├── .claude-plugin/plugin.json
│ ├── skills/<name>/SKILL.md # /wb:* workflow commands + background capabilities
│ ├── agents/ # Specialized subagents
│ ├── hooks/ # Event handlers
│ ├── scripts/ # Utility scripts (lint)
│ └── docs/reference/ # Runtime-referenced shared docs
└── docs/ # Maintainer guides + project plans (not shipped)
Requires beads 1.1.0 or later for persistent task tracking (the supported version, the bd contract the plugin relies on, and the upgrade protocol are in docs/beads-guide.md):
bd init --stealth # any repository with collaborators who do not use beads (writes the shared .git/info/exclude)
bd init # only a repository you own outright; .beads/ is still excluded, never committedCommands create and track beads issues for phases, tasks, and UI questions. The local Dolt database is the source of truth; a Dolt remote or bd backup carries it across machines. Setup rule, persistence tiers, worktrees, the session-start sanity check, and hygiene: plugin/docs/reference/beads-mode.md.
- Document, Don't Judge: Research describes what EXISTS, not what should change
- Explicit Barriers: Synchronization points prevent rushing ahead
- Dual Verification: Automated (tests, CI) + Manual (UX, edge cases)
- Zero Scope Creep: Tasks only from plans - no ad-hoc additions
./plugin/scripts/lint # Lint changed files
./plugin/scripts/lint --fix # Auto-fix issues
./plugin/scripts/lint --all # Lint all markdown files# Run with local plugin (point at the plugin/ subdirectory)
claude --plugin-dir /path/to/this/repo/plugin
# Reload after changes (inside Claude Code)
/reload-pluginsMIT