How brownbull/gabe-suite works
Purpose and Entry Points
Gabe Suite is a Claude Code plugin/distribution that installs a KDBP-guided development workflow: slash-command skills, enforcement hooks, reusable project templates, and generated documentation/command-center surfaces. Primary installation is install.sh; Claude discovers plugin metadata through .claude-plugin/plugin.json and .claude-plugin/marketplace.json. Each command is defined by a skill directory, e.g. skills/gabe-plan/SKILL.md, rather than a standalone application server.
Skill Command Layer
The skills/ tree is the principal capability boundary. Each SKILL.md provides a compact command contract and loads detailed behavior from colocated references/scripts. Architecturally central command groups are:
• Lifecycle/state: skills/gabe-init/SKILL.md, skills/gabe-plan/SKILL.md, skills/gabe-execute/SKILL.md, skills/gabe-push/SKILL.md.
• Governance and quality: skills/gabe-assess/SKILL.md, skills/gabe-commit/SKILL.md, skills/gabe-review/SKILL.md, skills/gabe-health/SKILL.md.
• Documentation and command-center publishing: skills/gabe-docsite/SKILL.md, skills/gabe-cc-init/SKILL.md, skills/gabe-cc-update/SKILL.md.
• Human-facing reasoning/artifact generation: skills/gabe-lens/SKILL.md, skills/gabe-imagine/SKILL.md, skills/gabe-mockup/SKILL.md.
Skills operate primarily through Claude-mediated file reads/writes and shell commands; they are not an HTTP API layer.
KDBP State and Workflow Control
KDBP is the persistent project-state contract created/adopted by the suite: behavior, values, decisions, pending work, ledger, and active plan. Templates define the canonical files in templates/BEHAVIOR.md, templates/DECISIONS.md, templates/PLAN.md, and templates/PENDING.md; schemas formalize machine-readable scope/session data in schemas/scope-session.schema.json and schemas/scope-references.schema.json.
Primary flow: init/adopt creates .kdbp/ → scope and plan establish canonical Markdown plus a machine plan mirror → execute/red/commit update evidence and state → handoff/push close or transfer work. The critical boundary is human-readable canonical Markdown versus structured mirrors used by automation and hooks.
Enforcement and Automation
Claude Code hooks enforce workflow at tool/session boundaries, especially commit/push gates, red-first work, plan-proof validation, and direction-change assessment. Hook implementations live in scripts/hooks/kdbp/, notably push-gate-guard.sh, red-entry-guard.sh, and plan-proof-guard.sh. Supporting shell/Python utilities such as scripts/suite-doctor.sh, scripts/disposition.py, and scripts/archmap-census.py provide deterministic checks or analysis that skills invoke.
This layer is intentionally local and filesystem-based: it modifies project state and Claude settings rather than hosting centralized infrastructure.
Documentation and Command-Center Generation
The repository both ships and dogfoods a static documentation/command-center system. Source Markdown and configuration are under docs/src/, docs/docsite.config.py, and docs/center/; generated site output is committed under docs/site/. The main site generator is skills/gabe-docsite/generator/build_docsite.py; the command-center generator pipeline centers on docs/center/generators/build_center_a3.py and docs/center/generators/_center_data.py.
Data flows from project facts/configuration and result ingestion into generated HTML pages, using reusable shell layouts/assets from docs/center/shell/. templates/center/ is the distributable starter equivalent, distinct from the repo’s own populated docs/center/.
Artifact and Visualization Pipeline
Several skills produce static, inspectable artifacts rather than runtime applications: documentation HTML, command-center pages, mockups, and “prism” explanatory pages. Prism source pairs structured metadata with HTML bodies in docs/prisms/*/prism.json and docs/prisms/*/body.html; generation logic is in skills/gabe-imagine/generator/build_prisms.py. Mockup templates support optional React/Vite/Storybook-style downstream projects through templates/mockup/react/, but this repository itself is chiefly a plugin/template suite.
Runtimes and External Dependencies
Core implementation uses Markdown, Bash, Python, JSON, HTML/CSS/JavaScript, with Node .mjs utilities for browser/render checks. Claude Code is the key external runtime and integration point. Browser-oriented verification/generation is represented by Playwright helpers in skills/gabe-docsite/tools/_playwright.mjs, Mermaid rendering helpers such as docs/center/generators/_render_mermaid.mjs, and artifact checks. Some skills reference external services such as memegen.link, while Git/GitHub are operational dependencies for commit, PR, and push workflows.
Main entry points: gabe-plan/SKILL.md Lifecycle skills · push-gate-guard.sh KDBP hook guards · gabe-docsite/SKILL.md Publishing skills · build_docsite.py Docsite builder
Components 23
Plugin Distribution
- Installer · Installs the suite into a Claude Code environment.
install.sh - Plugin metadata
.claude-plugin/plugin.json - Marketplace metadata
.claude-plugin/marketplace.json
Claude Skill Commands
- Lifecycle skills · Init, plan, execute, and push manage the project workflow.
skills/gabe-plan/SKILL.md - Governance skills · Assessment, commit, review, and health checks govern delivery.
skills/gabe-assess/SKILL.md - Publishing skills · Docsite and command-center commands publish project surfaces.
skills/gabe-docsite/SKILL.md - Artifact skills · Lens, imagine, and mockup commands create inspectable artifacts.
skills/gabe-imagine/SKILL.md
KDBP State Contract
- Canonical KDBP Markdown · Human-readable behavior, decisions, plan, pending work, and ledger.
templates/PLAN.md - Scope/session schemas · Formalize machine-readable scope and reference data.
schemas/scope-session.schema.json - Structured plan mirrors · Machine-readable state consumed by skills and hooks.
Local Enforcement
- KDBP hook guards · Gate push, red-first work, plan proof, and direction changes.
scripts/hooks/kdbp/push-gate-guard.sh - Suite utilities · Provide deterministic diagnosis, disposition, and architecture analysis.
scripts/suite-doctor.sh - Browser/render tools · Support browser checks and Mermaid rendering.
skills/gabe-docsite/tools/_playwright.mjs
Publishing & Artifacts
- Docsite source
- Docsite builder
skills/gabe-docsite/generator/build_docsite.py - Generated docsite · Committed static site output.
- Command-center pipeline · Builds pages from center data, results, layouts, and assets.
docs/center/generators/build_center_a3.py - Command-center source · The repository's populated command-center content and shell.
- Command-center starter · Starter equivalent shipped for downstream projects.
- Prism generator · Builds explanatory pages from prism metadata and HTML bodies.
skills/gabe-imagine/generator/build_prisms.py - Prism sources
Other components
- Claude Code · Discovers commands and executes skills, hooks, and shell tools.
- Git & GitHub · Support commit, PR, and push workflows.
Connections 27
- Installer → Plugin metadata: installs
- Plugin metadata → Claude Code: discovered by
- Marketplace metadata → Claude Code: publishes plugin
- Claude Code → Lifecycle skills: runs
- Claude Code → Governance skills: runs
- Claude Code → Publishing skills: runs
- Claude Code → Artifact skills: runs
- Lifecycle skills → Canonical KDBP Markdown: creates and updates
- Lifecycle skills → Structured plan mirrors: maintains
- Scope/session schemas → Structured plan mirrors: defines
- Governance skills → Canonical KDBP Markdown: assesses evidence
- KDBP hook guards → Canonical KDBP Markdown: validates
- KDBP hook guards → Structured plan mirrors: checks
- Claude Code → KDBP hook guards: invokes at boundaries
- Governance skills → Suite utilities: invokes
- Publishing skills → Docsite builder: invokes
- Docsite source → Docsite builder: provides content
- Docsite builder → Generated docsite: generates
- Publishing skills → Command-center pipeline: invokes
- Command-center source → Command-center pipeline: provides facts and layouts
- Command-center pipeline → Command-center source: updates pages
- Command-center starter → Publishing skills: ships starter
- Artifact skills → Prism generator: invokes
- Prism sources → Prism generator: provides metadata and bodies
- Docsite builder → Browser/render tools: verifies rendering
- Lifecycle skills → Git & GitHub: commits and pushes
- KDBP hook guards → Git & GitHub: gates push