Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

qa-team

БесплатноЗапускает вложенные скриптыНе проверен

Multi-agent QA review team for code changes. This skill should be used when the user asks to "review my code", "run QA", "qa-team", "review this branch"…

PostHogот PostHog★ 41 278 звёзд на GitHub

Об этом скилле

QA Team: Multi-Agent Code Review

A team of specialist agents independently review the current branch's changes against real incident patterns. Their findings are synthesized into a single report with convergence analysis.

Agent independence is critical. Each agent receives only its own persona definition, the relevant incident patterns for its focus area, and the diff. Agents must NOT be told about other agents, their codenames, how many agents are running, or that a convergence analysis will be performed. This ensures findings are fully independent.

Workflow

Step 1: Gather the diff

Determine the base branch. If the user provided $ARGUMENTS, use that as the base branch. Otherwise, default to master.

Create a run directory outside the repository (session scratchpad or mktemp -d — never inside the repo), then collect context into it:

RUN_DIR="$(mktemp -d "${TMPDIR:-/tmp}/qa-team-XXXXXX")"
mkdir -p "$RUN_DIR/personas" "$RUN_DIR/claimed"
git diff <base>...HEAD --name-only > "$RUN_DIR/files.txt"
git log <base>...HEAD --oneline > "$RUN_DIR/commits.txt"
git diff <base>...HEAD > "$RUN_DIR/diff.patch"

The run directory holds the persona queue, the claim script, and the generated launch scripts (Step 3); the diff is baked into the shared agent prompt by the build script, without passing through the model (see Step 3 for why). Keep diff.patch on disk — the build script reads it, and oversized diffs fall back to it at review time.

If there are no changes, inform the user and stop.

Step 2: Classify changed files

Categorize changed files to determine which agents are relevant:

File pattern Relevant agents
*.py (migrations) database, reliability, compatibility
*.py (Django views/API) security, reliability, performance, data-integrity
*.py (Celery tasks) reliability, performance, data-integrity
*.rs (Rust services) security, performance, compatibility, reliability
*.tsx, *.ts (frontend) frontend, security, performance, copy
*.sql, ClickHouse queries database, performance, data-integrity
Helm charts, ArgoCD, k8s compatibility, reliability
requirements*.txt, pyproject.toml, package.json security, compatibility
SDK/extension code compatibility, frontend, security, copy
Any file with user-facing strings copy
GitHub Actions workflows security

Always run at least 4 specialist agents. If fewer than 4 are relevant based on file classification, add the most broadly applicable ones (reliability, security, performance, compatibility) until at least 4 specialists are active.

Always launch both generalist agents (generalist-a and generalist-b) regardless of file classification. They review all changes.

Step 3: Launch the review agents (cache-aware protocol)

Why this protocol exists: every agent request carries a large fixed prefix (system prompt, tools, project context, and the user prompt) that is prompt-cached only when the prompt is byte-identical across agents. Prompt caching is strict-prefix based: one divergent character anywhere in the prompt forces the entire prefix — tens of thousands of tokens — to be re-ingested at full price by every agent. Four rules follow:

  1. Every agent gets the same prompt, byte for byte — including the full diff. The diff inside the identical prompt is part of the shared cached prefix, so followers ingest it at cache-read prices instead of each re-paying write prices for a file-read tool result.
  2. The launch scripts are built by a shipped build tool, never typed by the orchestrator. scripts/build_launch_scripts.js JSON-encodes the prompt (diff included) into two Workflow script files, so the diff never passes through the model as output tokens and the two scripts' prompts cannot drift apart by a stray byte.
  3. Per-agent divergence (the persona) arrives via a tool result, not the prompt. Each agent's first action is to run a claim script that atomically assigns it a persona. Tool results come after the shared prefix, so they don't break the cache. Never deliver the persona as a follow-up message to a completed agent — resuming a finished agent rebuilds its request from scratch and misses the cache entirely.
  4. **Stagger the l
Полный SKILL.md на GitHub

Установить qa-team в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/incident-patterns.mdreferences/personas.mdscripts/build_launch_scripts.jsscripts/claim_persona.sh

FAQ

Что делает скилл qa-team?

Multi-agent QA review team for code changes. This skill should be used when the user asks to "review my code", "run QA", "qa-team", "review this branch", "code review", "check my changes", or wants a comprehensive multi-perspective code review of the current branch's changes. Spawns parallel specialist agents (security, database, reliability, compatibility, data integrity, performance, frontend, copy) that independently review the diff and produce a converged report. Also includes two generalist reviewers for convergence validation.

Как установить скилл qa-team?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл qa-team запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить qa-team с