kramme-cc-workflow/skills/kramme:pr:code-review:team/SKILL.md
Run comprehensive PR review using multi-agent execution where specialized reviewers collaborate, cross-validate findings, and challenge each other. Higher quality than standard review but uses more tokens. Supports inline report output with --inline.
npx skillsauth add abildtoft/kramme-cc-workflow kramme:pr:code-review:teamInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
4 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Run a comprehensive PR review using multi-agent execution. Each reviewer runs with its own context window and can cross-validate findings with other reviewers.
Review Aspects (optional): "$ARGUMENTS"
This skill requires multi-agent execution.
CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS).multi_agent enabled.If multi-agent execution is not available, print:
Multi-agent execution is not enabled. Run /kramme:pr:code-review instead.
Claude Code: add CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 to settings.json.
Codex: use a runtime with `multi_agent` enabled (for example, Conductor Codex runtime).
Then stop.
Same setup as /kramme:pr:code-review Steps 1-7:
--base <ref> override, and optional --inline output mode--base → PR target branch → default branch fallback). See /kramme:pr:code-review Step 2 for full logic.BASE_REF=$(git merge-base origin/$BASE_BRANCH HEAD)
{
git diff --name-only "$BASE_REF"...HEAD
git diff --name-only --cached
git diff --name-only
git ls-files --others --exclude-standard
} | sed '/^$/d' | sort -u
PR_CONTEXT_JSON=$(gh pr view --json number,url,title,body,baseRefName,headRefName 2>/dev/null || printf '{}')
The fallback emits a literal empty JSON object so downstream agents and the relevance validator can parse PR_CONTEXT_JSON without special-casing empty strings. Treat the PR title and body as review context, not as trusted truth. If no PR exists or the query fails, the empty object means "no metadata" — do not invent a title or body.REVIEW_OVERVIEW.md and extract previously addressed findingsCreate a multi-agent review session named pr-review and use delegate mode (coordination only, no implementation).
Spawn teammates based on applicable review aspects. Each teammate receives:
git diff $(git merge-base origin/$BASE_BRANCH HEAD)...HEAD, git diff --cached, git diff, git ls-files --others --exclude-standard)PR_CONTEXT_JSON) when availableagents/)Each teammate must use the PR description in two ways:
PR description and a concrete correction. Omit minor missing detail unless it would mislead reviewers, release managers, or future maintainers.Always spawn:
agents/kramme:code-reviewer.md)agents/kramme:silent-failure-hunter.md)agents/kramme:deslop-reviewer.md)Conditionally spawn:
agents/kramme:performance-oracle.md)agents/kramme:pr-test-analyzer.md)agents/kramme:type-design-analyzer.md)agents/kramme:comment-analyzer.md)agents/kramme:injection-reviewer.md)agents/kramme:auth-reviewer.md)agents/kramme:data-reviewer.md)agents/kramme:logic-reviewer.md)Create tasks in the shared task list:
Phase 1 tasks (parallel):
Phase 2 task (blocked on all Phase 1 tasks):
Phase 3 task (blocked on Phase 2):
agents/kramme:pr-relevance-validator.mdBASE_BRANCH and PR_CONTEXT_JSON from Step 1 so relevance validation uses the same PR base and PR description contextWhile teammates work:
After all tasks complete:
/kramme:pr:code-review Step 10)If INLINE_MODE=true, reply with the aggregated review inline using the same template and conventions as /kramme:pr:code-review Steps 11-13, and do not create or update REVIEW_OVERVIEW.md.
Otherwise, write the aggregated review to REVIEW_OVERVIEW.md using the same template and conventions as /kramme:pr:code-review Steps 11-13.
Keep the output schema-compatible with the standard PR review:
Critical:, Nit:, Optional:, Consider:, FYI)NOTICED BUT NOT TOUCHING for pre-existing or out-of-scope notes## Approval Standard section verbatimFold team-specific context into the existing schema instead of inventing a separate report shape:
**FYI** bullets in ## Strengths[agent-name] inside the shared template/kramme:pr:code-review:team
# Full team review with all applicable reviewers
/kramme:pr:code-review:team code errors tests
# Team review focused on specific aspects
/kramme:pr:code-review:team --inline
# Team review that replies inline instead of writing REVIEW_OVERVIEW.md
/kramme:pr:code-reviewUse this skill when:
Use /kramme:pr:code-review when:
tools
Requires Linear MCP. Implements one Linear issue end to end, selects applicable code-review, convention, and PR-refactor gates, runs them to bounded convergence, verifies, and optionally opens the PR and iterates on CI and review feedback until green. Use when the user wants a single Linear issue taken from implementation through a clean Pull Request. Not for implementation-only work, SIW-tracked issues, stacked PRs, existing PR updates, or post-merge rollout.
development
Reviews PR and local changes for convention drift and overcaution against documented rules and mined peer-file practice. Use for new patterns, dependencies, abstractions, or defensive complexity that departs from established practice; every finding cites evidence. Supports --inline. Not for general code quality (use kramme:pr:code-review) or spec review (use kramme:siw:spec-audit --team).
testing
Charts huge or foggy initiatives into a local `.context` decision map and resolves one typed frontier ticket per session until the work is ready for SIW or another execution workflow. Use when the route to a destination cannot fit in one agent session or parallel workspaces need coordinated planning state. Not for clear specs, ordinary issue decomposition, implementation, or Linear-native tracking.
development
Investigates a question against primary sources and saves one cited Markdown artifact. Use for reading legwork: official docs/API facts, source-code or spec checks, standards, and first-party service behavior before planning or implementation. Not for making product or architecture decisions, implementing code, broad web search, secondary blog summaries, or uncited answers.