ws-codebase-documenter
Codebase Documenter
Generate structured documentation designed for consumption by AI assistants and code agents working on dependent projects.
Workflow
1. Determine Mode
Check if documentation/config.json exists:
- Does not exist: Bootstrap Mode (first run)
- Exists: Check the user's argument:
regenerate [doc-type]: Regenerate Mode (targeted re-generation)- Otherwise: Incremental Mode (subsequent runs)
2. Bootstrap Mode
Execute when documentation/config.json is absent.
2.1 Detect Stack
More from wondersauce/claude-code-plugin
ws-dev
Development implementation agent for the ws-orchestrator lifecycle. Implements fully-specified tasks from ws-planner by reading project documentation, following established patterns, and reusing existing capabilities. Supports frontend, backend, and fullstack task areas. Does not make architectural decisions — returns to ws-orchestrator for re-planning if uncovered issues arise.
10ws-planner
Development planner for the ws-orchestrator lifecycle. Given a task description and project documentation, produces fully specified, structured development plans. Determines what to build, how to structure it per existing patterns, how to decompose into sub-tasks, and what constraints apply. Returns Task Definition arrays that ws-dev can execute without making architectural decisions.
10ws-orchestrator
Development orchestrator for Claude Code sessions. Enforces a plan-build-verify-document lifecycle by routing all implementation work to sub-agents (ws-planner, ws-dev, ws-verifier, ws-codebase-documenter) via Task() delegation. Manages session state, survives context compaction, and prevents architectural drift. Use as the default operating mode for all development sessions.
10ws-verifier
Output verifier for the ws-orchestrator lifecycle. Independently reviews ws-dev output against task definitions, project documentation, and coding conventions. Reads, analyzes, and judges — never re-implements. Returns structured pass/fail/partial results with specific, actionable findings for ws-orchestrator to drive iteration.
9