How chan4lk/specclaw works
SpecClaw is a plugin-based spec-driven development workflow for Claude Code and Codex. A user proposes a change, reviews a browser-openable mock, plans and builds the approved change, verifies it, then opens a pull request; project change records provide the paper trail. Add-ons extend this with brownfield rebuilds, issue/PR synchronization, review and learning tools, fleet execution, and a dashboard. The workflow and add-on capabilities are documented in the README; internal edges are limited to relationships visible in sampled source. Some add-on implementations were not sampled, so their internal links are omitted.
Main entry points: skills Lifecycle commands · gate.ts Propose gate · read.ts Dashboard refresh · changes Change records
Components 25
Change lifecycle
- Lifecycle commands
plugins/specclaw/skills - Living mock
plugins/specclaw/templates - Change records
.specclaw/changes - Project state
.specclaw
Project hooks
- Propose gate
plugins/specclaw/hooks/core/gate.ts - Hook registration
plugins/specclaw/hooks/register.tsx - Change state parser
plugins/specclaw/hooks/core/state.ts - Status views
plugins/specclaw/hooks/core/view.ts
Workflow add-ons
- Brownfield rebuild
plugins/specclaw-bf/skills - Issue and PR sync
plugins/specclaw-sync/skills - Learning tools
plugins/specclaw-extras/skills
Fleet execution
- Fleet commands
plugins/specclaw-fleet/skills - Fleet report parser
plugins/specclaw-fleet/hooks/core/report.ts - Fleet dashboard view
plugins/specclaw-fleet/hooks/core/view.ts
Dashboard and review
- Review engine
plugins/specclaw-review/lib/review_core.py - Review memory
plugins/specclaw-review/lib/review_memory.py - Review MCP server
plugins/specclaw-review/mcp/server.py - Dashboard refresh
plugins/specclaw-dash/hooks/read.ts - Transcript scanner
plugins/specclaw-dash/hooks/core/scan.ts - Dashboard actions
plugins/specclaw-dash/hooks/core/actions.ts - Dashboard view
plugins/specclaw-dash/hooks/core/view.ts - Dashboard registration
plugins/specclaw-dash/hooks/register.tsx - Dashboard action hook
plugins/specclaw-dash/hooks/act.ts - Loop parsing
plugins/specclaw-dash/hooks/core/loops.ts
Other components
- Developer
Connections 21
- Developer → Lifecycle commands: starts workflow
README.md - Lifecycle commands → Living mock: draws mock
README.md - Lifecycle commands → Change records: records change
README.md - Lifecycle commands → Project state: updates lifecycle
README.md - Hook registration → Propose gate: checks edits
plugins/specclaw/hooks/register.tsx - Hook registration → Status views: renders status
plugins/specclaw/hooks/register.tsx - Propose gate → Change state parser: reads snapshot
plugins/specclaw/hooks/core/gate.ts - Propose gate → Status views: checks approval
plugins/specclaw/hooks/core/gate.ts - Brownfield rebuild → Change records: rebuilds legacy app
README.md - Issue and PR sync → Change records: syncs issues and PRs
README.md - Learning tools → Lifecycle commands: extends workflows
README.md - Fleet commands → Fleet report parser: produces report
- Fleet dashboard view → Fleet report parser: formats report
plugins/specclaw-fleet/hooks/core/view.ts - Review engine → Review memory: queries lessons
plugins/specclaw-review/lib/review_core.py - Review MCP server → Review engine: invokes engine
plugins/specclaw-review/mcp/server.py - Review MCP server → Review memory: uses memory
plugins/specclaw-review/mcp/server.py - Dashboard refresh → Transcript scanner: scans transcripts
plugins/specclaw-dash/hooks/read.ts - Dashboard refresh → Loop parsing: parses fleet
plugins/specclaw-dash/hooks/read.ts - Dashboard registration → Dashboard refresh: refreshes data
plugins/specclaw-dash/hooks/register.tsx - Dashboard registration → Dashboard view: renders dashboard
plugins/specclaw-dash/hooks/register.tsx - Dashboard action hook → Dashboard actions: runs actions
plugins/specclaw-dash/hooks/act.ts