一键导入
workflow-team-code-review
Perform final Smelter multi-perspective code review before human check on implementation workflows.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Perform final Smelter multi-perspective code review before human check on implementation workflows.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when: User wants to run a SUBSTANTIAL multi-step coding task as a workflow (fix/implement a whole issue or feature, comprehensive review), CREATE workflows or commands, set up workflow automation, or manage workflow configuration. Triggers (run): "use workflow to", "run workflow", "with workflow", "workflow to", "workflow run", "use a workflow to", "run a workflow", and generic task-completion intents that imply a full coding deliverable: "실행해줘", "돌려줘", "구현해줘", "고쳐줘", "이슈 고쳐줘", "PR 만들어줘", "implement this", "fix this issue", "build this feature", "ship this". Triggers (create): "create a workflow", "write a workflow", "make a command", "author a workflow", "new workflow", "new command", "workflow yaml". Triggers (setup): "set up workflows", "install workflow automation", "how to use workflows", "configure workflows", "workflow setup", "get started with workflows". Triggers (config): "change my workflow config", "modify workflow config", "workflow
Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.
Smelter deep interview for planning-first requirement discovery before /brainstorm, /implement, or /fix execution
Create a release from dev branch. Generates changelog entries from commits, bumps version, and creates a PR to main. TRIGGERS - Use this skill when user says: - "/release" - create a patch release (default) - "/release minor" - create a minor release - "/release major" - create a major release - "make a release", "cut a release", "ship it", "release to main"
Replicate and validate a GitHub issue by spinning up Smelter, analyzing the issue, and systematically testing all described symptoms using browser automation. Use when: User wants to reproduce a bug, validate a GitHub issue, confirm a reported problem, or investigate whether an issue is real before working on a fix. Triggers: "replicate issue", "reproduce issue", "validate issue", "confirm bug", "test issue", "can you reproduce", "try to replicate", "verify the bug". Capability: Checks out main, pulls latest, starts Smelter, reads the GitHub issue, then uses agent-browser to systematically test every symptom and produce a findings report. NOT for: Fixing issues (use /smelter or /exp-piv-loop:fix-issue), general UI testing (use /validate-ui).
Autonomous rule adherence checker. Scans the codebase for rule violations, fixes the highest-impact ones in an isolated worktree, runs full validation, creates a PR. Uses memory to track progress across runs.
| name | workflow-team-code-review |
| description | Perform final Smelter multi-perspective code review before human check on implementation workflows. |
| version | 0.55 |
| type | workflow |
| consumes | full task change + e2e artifacts |
| produces | team_review.md |
| default_pattern | B |
| default_agents | ["advocate","critic","arbitrator"] |
| supports_patterns | ["B"] |
| team_template | {"B":{"agents":["advocate","critic","arbitrator"],"consensus_threshold":0.95,"max_rounds":5,"aggregator":"arbitrator"}} |
| result_types | ["pass","fail"] |
| min_verification_rounds | 2 |
| verification_rounds | [{"n":1,"focus":"omission","prompt_template":"templates/verification/round-1-omission.md"},{"n":2,"focus":"contradiction","prompt_template":"templates/verification/round-2-contradiction.md"}] |
| gate | {"postcondition":[{"file_exists":"team_review.md"},{"consensus_reached":true},{"severity_classified":true}]} |
The final team review. Re-examines the whole implementation from 3 independent perspectives (advocate / critic / arbitrator). This is distinct from workflow-agent-review:
workflow-agent-review = diff-scoped, dual adversarial (code + security), runs immediately after codingworkflow-team-code-review = whole-task scope, 3-role consensus, runs after E2E — last technical gate before human-checkCore principle: The last technical gate before human-check must see the whole task (diff + artifacts + prior reviews) from 3 independent perspectives and reach 95% consensus.
Violating the letter of this rule is violating the spirit of this rule.
Announce at start: "I'm using workflow-team-code-review to run 95% consensus + 2-round review on the complete task."
NO HUMAN-CHECK HANDOFF WITHOUT 95% CONSENSUS AND 2/2 ROUNDS AT pass
Both must hold: consensus_reached === true AND completed_rounds === 2 && all rounds result === pass.
advocate: advocate for implementation merits and correct decisions
critic: call out defects, missed cases, and latent bugs
arbitrator: synthesize both sides, compute score, render final judgment
Rounds repeat until agreement ≥ 95% (max 5).
workflow-agent-review findings have been resolved| Severity | Criterion | Routing |
|---|---|---|
CRITICAL | data loss, security vulnerability, service outage | workflow-tasker (redesign) |
HIGH | major bugs, missed edges | workflow-tasker |
MEDIUM | minor bugs, improvements | workflow-coding |
LOW | style, naming | record in ## Risks, pass |
team_review.md:
## Advocate Report## Critic Report## Arbitrator Synthesis## Final Verdict (severity)## Consensus Rounds| Thought | Reality |
|---|---|
| "workflow-agent-review passed, this is rubber-stamp" | Team review sees the WHOLE task + E2E artifacts. Agent review saw only the diff. New findings here are common. |
| "95% is close to 90%" | Threshold is 95%. 90% is not pass. Run another round. |
| "Advocate and critic have stopped disagreeing early — force consensus" | 95% computed by arbitrator, not forced. |
| "All findings are MEDIUM, route to coding and call it done" | MEDIUM routes to coding. But the review itself still needs 2-round pass before the handoff. |
| "Prior agent-review findings are auto-resolved by now" | Re-verify that each finding has been addressed in the diff. Missing resolutions are HIGH. |
| Excuse | Reality |
|---|---|
| "Nothing will change in round 2" | Round 2 targets contradiction. Absence is what the round reveals. |
| "Skip round 2 — contradictions are too rare" | Contradictions in review evidence are costly. Round 2 catches them. |
| "I'm tired" | Iron Law applies. |
5 rounds exceeded → enter section 11-7 Stall Cascade Level 2. Do NOT force-pass.
This skill runs 2 mandatory rounds before declaring pass. Each round has a distinct focus:
| Round | Focus | Question |
|---|---|---|
| 1 | Omission | Are any diff paths, prior review findings, or plan items unaddressed? |
| 2 | Contradiction | Are there conflicts between advocate/critic findings, or with earlier review artifacts? |
All rounds recorded in state.json.team_runtime.workflow-team-code-review.rounds[]. Skill-level pass is declared only when completed_rounds === 2 && all rounds result === pass.
fail → skill-level fail with cause: verification_failed, evidence: {round, focus, findings[]}workflow-tasker or workflow-coding)pass with completed_rounds < 2 is blocked by hookREQUIRED NEXT SKILL on pass: workflow-human-check
On fail: route per severity:
CRITICAL / HIGH → workflow-taskerMEDIUM → workflow-codingLOW → record in ## Risks, proceed to human-checkOn consensus exceeded (5 rounds): Stall Cascade Level 2.
Do NOT:
workflow-human-check does thatworkflow-human-check is the next skill and it's the ONLY allowed halting pointEvery fail verdict MUST cite at least one anchor in the strict form:
Evidence: path/to/file.ext:LINE[-LINE] "verbatim quote substring"
Rules:
PostToolUse hook (scripts/review-evidence-verifier.mjs) blocks writes that violate these rules.