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:
development
Compare an existing PR's title and body against the actual branch diff and report drift — false claims, missing major changes, stale scope, missing risk callouts. Use after pushing changes to a branch with an open PR, or before requesting review. Read-only by default; add --fix to delegate to kramme:pr:generate-description for an updated description. Complements kramme:pr:code-review (which checks description accuracy as one signal among many code-quality checks) by being a fast, focused, single-purpose check that runs in seconds.
tools
Reviews plugin skills for focused scope, progressive disclosure, portability, safety, retry behavior, and documentation quality. Use when auditing a SKILL.md, skill directory, or proposed skill text against skill-authoring standards. Not for creating new skills, editing skills, or reviewing ordinary application code.
tools
Reviews recent agent session transcripts to find repeated manual workflows or repeated user asks, then proposes and optionally scaffolds only useful new skills or custom subagents. Use when the user asks to inspect recent sessions, find automation opportunities, or create reusable workflows from repeated work. Not for summarizing one session, general retrospectives, or codebase refactoring.
data-ai
Remove all DONE issues and renumber remaining issues within each prefix group. Not for editing live issue content, archiving still-open issues, or moving issues between prefix groups.