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 convention analysis (/brewcode:convention) and agent teams (/brewcode:teams) to multi-agent review (/brewcode:superreview).

πŸ‘₯

5 agents (brewers)

Specialists only: skill-creator, agent-creator, hook-creator, bash-expert, and the internal bc-rules-organizer. Generic roles are generated per project into .claude/agents/.

βš™οΈ

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)           β”‚
  β”‚   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”          β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”         β”‚
  β”‚   β”‚ semble, e2e  β”‚          β”‚ skill/agent/hook  β”‚         β”‚
  β”‚   β”‚ superreview  β”‚ ──────>  β”‚ creator, bash     β”‚         β”‚
  β”‚   β”‚ convention,. β”‚          β”‚ + project teams   β”‚         β”‚
  β”‚   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜          β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜         β”‚
  β”‚          β”‚                          β”‚                     β”‚
  β”‚          v                          v                     β”‚
  β”‚   Hooks (processes)           Templates + Knowledge      β”‚
  β”‚   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”          β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”         β”‚
  β”‚   β”‚ session-startβ”‚          β”‚ rules templates   β”‚         β”‚
  β”‚   β”‚ 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/                            # 5 agents
β”‚   β”œβ”€β”€ 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
β”‚   β”œβ”€β”€ semble/                        # Semantic code search setup
β”‚   β”œβ”€β”€ 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 search, review, conventions, and meta-tooling. See Skills for details.

GroupSkillsPurpose
SearchsembleSemantic code-search MCP setup and maintenance
Qualitysuperreview, convention, rulesMulti-agent review, conventions, rule extraction
DynamicteamsAgent team creation and management
Testinge2eE2E testing orchestration with BDD scenarios
Metaskills, agentsSkill and agent management

5 agents (brewers), all specialists. Generic implementation/review roles are generated per project into .claude/agents/ by /brewcode:teams β€” brewcode no longer ships them. See the Agents section for details.

RoleAgentsModel
Creationskill-creator, agent-creator, hook-creatorinherit
Scriptingbash-expertinherit
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. Conventions/brewcode:convention

    Parallel per-layer analysis. Writes etalon classes and recurring patterns into .claude/convention/.

  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.