Brewcode Overview

Install prompt

If Claude refuses to run the commands, paste the prompt below directly into the chat.
Execute these commands in this Claude Code session, one by one, show full output for each, do not skip any, do not summarize:

1. claude plugin marketplace add https://github.com/kochetkov-ma/claude-brewcode
2. claude plugin install brewcode@claude-brewcode

After all commands succeed, run `/reload-plugins`. If `/reload-plugins` is unavailable, tell me to type `exit` and run `claude` again. Run the commands now.

Install the entire suite:

Install prompt

If Claude refuses to run the commands, paste the prompt below directly into the chat.
Execute these commands in this Claude Code session, one by one, show full output for each, do not skip any, do not summarize:

1. claude plugin marketplace add https://github.com/kochetkov-ma/claude-brewcode
2. claude plugin install brewcode@claude-brewcode
3. claude plugin install brewdoc@claude-brewcode
4. claude plugin install brewtools@claude-brewcode
5. claude plugin install brewui@claude-brewcode

After all commands succeed, run `/reload-plugins`. If `/reload-plugins` is unavailable, tell me to type `exit` and run `claude` again. Run the commands now.

Brewcode is a plugin for Claude Code for spec authoring, multi-agent review, and a toolkit of skills and agents. The name is a nod to brewing: skills (recipes) define what to brew, agents (brewers) do the work, and hooks (processes) manage prompt-time injection.

Key Features

♾️

Native plugin paths

Agents resolve paths via native ${CLAUDE_PLUGIN_ROOT}, substituted in each agent .md at Task spawn. No hook injection, no shared runtime state.

πŸ“Ÿ

8 skills (recipes)

From specification (/brewcode:spec) to convention analysis (/brewcode:convention) and multi-agent review (/brewcode:superreview).

πŸ‘₯

9 agents (brewers)

Specialized agents: developer, tester, reviewer, architect, skill-creator, agent-creator, hook-creator, and bash-expert.

βš™οΈ

2 hooks (processes)

Prompt-time delegation reminder and session-start version-check.

βœ…

E2E testing

BDD scenario authoring and Playwright autotest orchestration via /brewcode:e2e.

πŸ›‘οΈ

Code quality

Standards-review, convention analysis. Rules are automatically synced to .claude/rules/.

πŸ‘₯

Dynamic teams

Create project-specific agent teams (5-20) with self-selection, performance tracking, and automatic tuning.

Architecture

Brewcode works as a layer on top of Claude Code through the hook system. The plugin has no external runtime β€” all context is managed through built-in Claude Code events.

                         Brewcode Plugin
  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
  β”‚                                                          β”‚
  β”‚   Skills (recipes)            Agents (brewers)           β”‚
  β”‚   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”          β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”         β”‚
  β”‚   β”‚ spec, e2e    β”‚          β”‚ developer, tester β”‚         β”‚
  β”‚   β”‚ superreview  β”‚ ──────>  β”‚ reviewer, architectβ”‚         β”‚
  β”‚   β”‚ convention,. β”‚          β”‚ + dynamic teams   β”‚         β”‚
  β”‚   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜          β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜         β”‚
  β”‚          β”‚                          β”‚                     β”‚
  β”‚          v                          v                     β”‚
  β”‚   Hooks (processes)           Templates + Knowledge      β”‚
  β”‚   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”          β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”         β”‚
  β”‚   β”‚ session-startβ”‚          β”‚ SPEC.md.template  β”‚         β”‚
  β”‚   β”‚ forced-eval  β”‚ <──────> β”‚ artifacts/        β”‚         β”‚
  β”‚   β”‚              β”‚          β”‚                   β”‚         β”‚
  β”‚   β”‚              β”‚          β”‚                   β”‚         β”‚
  β”‚   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜          β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜         β”‚
  β”‚                                                          β”‚
  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Plugin structure

brewcode/
β”œβ”€β”€ .claude-plugin/
β”‚   └── plugin.json                    # Plugin manifest
β”œβ”€β”€ hooks/
β”‚   β”œβ”€β”€ hooks.json                     # 2 hooks (SessionStart, UserPromptSubmit)
β”‚   β”œβ”€β”€ session-start.mjs              # Version-check, plan-symlink, permission tag
β”‚   β”œβ”€β”€ forced-eval.mjs                # [ROLE] delegate + [SPLIT] bounded units
β”‚   └── lib/
β”‚       └── utils.mjs                  # I/O, version cache, configuration
β”œβ”€β”€ agents/                            # 9 agents
β”‚   β”œβ”€β”€ developer.md                   # Feature implementation (opus)
β”‚   β”œβ”€β”€ tester.md                      # Testing (sonnet)
β”‚   β”œβ”€β”€ reviewer.md                    # Code review (opus)
β”‚   β”œβ”€β”€ architect.md                   # Architecture (opus)
β”‚   β”œβ”€β”€ skill-creator.md               # Skill creation (opus)
β”‚   β”œβ”€β”€ agent-creator.md               # Agent creation (opus)
β”‚   β”œβ”€β”€ hook-creator.md                # Hook creation (opus)
β”‚   β”œβ”€β”€ bash-expert.md                 # Bash scripts (opus)
β”‚   └── bc-rules-organizer.md          # Rules organizer (haiku)
β”œβ”€β”€ skills/                            # 8 skills
β”‚   β”œβ”€β”€ spec/                          # Specification creation
β”‚   β”œβ”€β”€ convention/                    # Convention analysis
β”‚   β”œβ”€β”€ rules/                         # Rule extraction
β”‚   β”œβ”€β”€ superreview/                   # Multi-agent quorum review
β”‚   β”œβ”€β”€ skills/                        # Skill management
β”‚   β”œβ”€β”€ agents/                        # Agent management
β”‚   β”œβ”€β”€ teams/                         # Dynamic agent teams
β”‚   └── e2e/                           # E2E testing orchestration
└── templates/                         # Rule templates

Components in detail

8 skills (recipes) cover spec, review, conventions, and meta-tooling. See Skills for details.

GroupSkillsPurpose
SpecspecSpecification authoring via research + interaction
Qualitysuperreview, convention, rulesMulti-agent review, conventions, rule extraction
DynamicteamsAgent team creation and management
Testinge2eE2E testing orchestration with BDD scenarios
Metaskills, agentsSkill and agent management

9 agents (brewers) with different models and specializations. See the Agents section for details.

RoleAgentsModel
Implementationdeveloper, tester, architectopus/sonnet
Reviewrevieweropus
Creationskill-creator, agent-creator, hook-creatoropus
Optimizationbash-expertopus
Internalbc-rules-organizerhaiku

2 hooks manage prompt-time injection and session start. See the Hooks section for details.

EventHookPurpose
SessionStartsession-startInitialization, version-check
UserPromptSubmitforced-evalManager-role + split-discipline reminder

Quick start

  1. Specification/brewcode:spec

    Parallel codebase research and user refinement loop. Generates SPEC.md scoped to the project.

  2. Deep review/brewcode:superreview

    Generate a project-tailored quorum review skill. Run once per project.

  3. Team Creation (optional)/brewcode:teams

    Create a project-specific agent team with performance tracking.

Next steps

Check Skills for detailed descriptions of all available skills, or explore Agents for the full list of specialized agents.

πŸš€

Latest Release

Download, changelog, and installation instructions.

πŸ“–

Installation Guide

Full setup, update, and troubleshooting instructions.

πŸ”—

View on GitHub

Source code, README, and configuration files.