brewcodee2elisted
Install: claude install-skill kochetkov-ma/claude-brewcode
<instructions>
# E2E Testing
Full-cycle E2E testing orchestration: setup agents, create BDD scenarios, write autotests, quorum review.
**Arguments:** `$ARGUMENTS`
---
## Phase 0: Parse Arguments
**EXECUTE** using Bash tool:
```bash
bash "${CLAUDE_SKILL_DIR}/scripts/detect-mode.sh" "$ARGUMENTS" && echo "OK" || echo "FAILED"
```
Output: `MODE:xxx` and optionally `PROMPT:xxx`. Store both.
> **STOP if FAILED** -- fix detect-mode.sh before continuing.
---
## Phase 1: Display Detection
Output detection result:
```
Mode: {MODE}
Prompt: {PROMPT or "none"}
```
---
## Phase 2: Load Mode Reference
Read the mode-specific reference file:
| MODE | Reference File |
|------|---------------|
| setup | `${CLAUDE_SKILL_DIR}/references/mode-setup.md` |
| create | `${CLAUDE_SKILL_DIR}/references/mode-create.md` |
| update | `${CLAUDE_SKILL_DIR}/references/mode-update.md` |
| review | `${CLAUDE_SKILL_DIR}/references/mode-review.md` |
| rules | `${CLAUDE_SKILL_DIR}/references/mode-rules.md` |
| status | `${CLAUDE_SKILL_DIR}/references/mode-status.md` |
Also load core references (always):
- `${CLAUDE_SKILL_DIR}/references/e2e-rules.md` -- rules for all agents
- `${CLAUDE_SKILL_DIR}/references/e2e-architecture.md` -- architecture reference
> **STOP if mode reference not found** -- report missing file.
---
## Phase 3: Execute Mode Flow
Follow the loaded mode reference step by step. Pass PROMPT as context where indicated.
**Common patterns across all modes:**
### Prerequisite Chec