reviewer-protocol

GitHub

定义代码审查中的拒绝工作流与严格锁定机制。当审查者拒绝作品时,强制原作者不可自我修订,由协调器指派其他代理进行修正或升级,防止防御性反馈循环,确保独立审查。

.github/skills/reviewer-protocol/SKILL.md microsoft/Generative-AI-for-beginners-dotnet

Trigger Scenarios

审查者拒绝提交内容 需要强制执行非原作者修订 处理审查死锁情况

Install

npx skills add microsoft/Generative-AI-for-beginners-dotnet --skill reviewer-protocol -g -y
More Options

Non-standard path

npx skills add https://github.com/microsoft/Generative-AI-for-beginners-dotnet/tree/main/.github/skills/reviewer-protocol -g -y

Use without installing

npx skills use microsoft/Generative-AI-for-beginners-dotnet@reviewer-protocol

指定 Agent (Claude Code)

npx skills add microsoft/Generative-AI-for-beginners-dotnet --skill reviewer-protocol -a claude-code -g -y

安装 repo 全部 skill

npx skills add microsoft/Generative-AI-for-beginners-dotnet --all -g -y

预览 repo 内 skill

npx skills add microsoft/Generative-AI-for-beginners-dotnet --list

SKILL.md

Frontmatter
{
    "name": "reviewer-protocol",
    "domain": "orchestration",
    "source": "extracted",
    "confidence": "high",
    "description": "Reviewer rejection workflow and strict lockout semantics"
}

Context

When a team member has a Reviewer role (e.g., Tester, Code Reviewer, Lead), they may approve or reject work from other agents. On rejection, the coordinator enforces strict lockout rules to ensure the original author does NOT self-revise. This prevents defensive feedback loops and ensures independent review.

Patterns

Reviewer Rejection Protocol

When a team member has a Reviewer role:

  • Reviewers may approve or reject work from other agents.
  • On rejection, the Reviewer may choose ONE of:
    1. Reassign: Require a different agent to do the revision (not the original author).
    2. Escalate: Require a new agent be spawned with specific expertise.
  • The Coordinator MUST enforce this. If the Reviewer says "someone else should fix this," the original agent does NOT get to self-revise.
  • If the Reviewer approves, work proceeds normally.

Strict Lockout Semantics

When an artifact is rejected by a Reviewer:

  1. The original author is locked out. They may NOT produce the next version of that artifact. No exceptions.
  2. A different agent MUST own the revision. The Coordinator selects the revision author based on the Reviewer's recommendation (reassign or escalate).
  3. The Coordinator enforces this mechanically. Before spawning a revision agent, the Coordinator MUST verify that the selected agent is NOT the original author. If the Reviewer names the original author as the fix agent, the Coordinator MUST refuse and ask the Reviewer to name a different agent.
  4. The locked-out author may NOT contribute to the revision in any form — not as a co-author, advisor, or pair. The revision must be independently produced.
  5. Lockout scope: The lockout applies to the specific artifact that was rejected. The original author may still work on other unrelated artifacts.
  6. Lockout duration: The lockout persists for that revision cycle. If the revision is also rejected, the same rule applies again — the revision author is now also locked out, and a third agent must revise.
  7. Deadlock handling: If all eligible agents have been locked out of an artifact, the Coordinator MUST escalate to the user rather than re-admitting a locked-out author.

Examples

Example 1: Reassign after rejection

  1. Fenster writes authentication module
  2. Hockney (Tester) reviews → rejects: "Error handling is missing. Verbal should fix this."
  3. Coordinator: Fenster is now locked out of this artifact
  4. Coordinator spawns Verbal to revise the authentication module
  5. Verbal produces v2
  6. Hockney reviews v2 → approves
  7. Lockout clears for next artifact

Example 2: Escalate for expertise

  1. Edie writes TypeScript config
  2. Keaton (Lead) reviews → rejects: "Need someone with deeper TS knowledge. Escalate."
  3. Coordinator: Edie is now locked out
  4. Coordinator spawns new agent (or existing TS expert) to revise
  5. New agent produces v2
  6. Keaton reviews v2

Example 3: Deadlock handling

  1. Fenster writes module → rejected
  2. Verbal revises → rejected
  3. Hockney revises → rejected
  4. All 3 eligible agents are now locked out
  5. Coordinator: "All eligible agents have been locked out. Escalating to user: [artifact details]"

Example 4: Reviewer accidentally names original author

  1. Fenster writes module → rejected
  2. Hockney says: "Fenster should fix the error handling"
  3. Coordinator: "Fenster is locked out as the original author. Please name a different agent."
  4. Hockney: "Verbal, then"
  5. Coordinator spawns Verbal

Anti-Patterns

  • ❌ Allowing the original author to self-revise after rejection
  • ❌ Treating the locked-out author as an "advisor" or "co-author" on the revision
  • ❌ Re-admitting a locked-out author when deadlock occurs (must escalate to user)
  • ❌ Applying lockout across unrelated artifacts (scope is per-artifact)
  • ❌ Accepting the Reviewer's assignment when they name the original author (must refuse and ask for a different agent)
  • ❌ Clearing lockout before the revision is approved (lockout persists through revision cycle)
  • ❌ Skipping verification that the revision agent is not the original author

Version History

  • bd4e082 Current 2026-08-20 14:04

Same Skill Collection

.github/skills/agent-collaboration/SKILL.md
.github/skills/coordinator-init-mode/SKILL.md
.github/skills/coordinator-response-mode/SKILL.md
.github/skills/coordinator-source-of-truth/SKILL.md
.github/skills/cross-squad-communication/SKILL.md
.github/skills/cross-squad/SKILL.md
.github/skills/error-recovery/SKILL.md
.github/skills/git-workflow/SKILL.md
.github/skills/iterative-retrieval/SKILL.md
.github/skills/reflect/SKILL.md
.github/skills/secret-handling/SKILL.md
.github/skills/session-recovery/SKILL.md
.github/skills/squad-conventions/SKILL.md
.github/skills/squad-help/SKILL.md
.github/skills/squad-version-check/SKILL.md
.github/skills/squad/SKILL.md
.github/skills/tiered-memory/SKILL.md
.squad/templates/skills/agent-collaboration/SKILL.md
.squad/templates/skills/agent-conduct/SKILL.md
.squad/templates/skills/architectural-proposals/SKILL.md
.squad/templates/skills/ci-validation-gates/SKILL.md
.squad/templates/skills/client-compatibility/SKILL.md
.squad/templates/skills/coordinator-init-mode/SKILL.md
.squad/templates/skills/coordinator-response-mode/SKILL.md
.squad/templates/skills/coordinator-source-of-truth/SKILL.md
.squad/templates/skills/cross-machine-coordination/SKILL.md
.squad/templates/skills/cross-squad-communication/SKILL.md
.squad/templates/skills/cross-squad/SKILL.md
.squad/templates/skills/distributed-mesh/SKILL.md
.squad/templates/skills/docs-standards/SKILL.md
.squad/templates/skills/e2e-template-testing/SKILL.md
.squad/templates/skills/economy-mode/SKILL.md
.squad/templates/skills/error-recovery/SKILL.md
.squad/templates/skills/external-comms/SKILL.md
.squad/templates/skills/fact-checking/SKILL.md
.squad/templates/skills/gh-auth-isolation/SKILL.md
.squad/templates/skills/git-workflow/SKILL.md
.squad/templates/skills/github-multi-account/SKILL.md
.squad/templates/skills/history-hygiene/SKILL.md
.squad/templates/skills/humanizer/SKILL.md
.squad/templates/skills/init-mode/SKILL.md
.squad/templates/skills/iterative-retrieval/SKILL.md
.squad/templates/skills/model-selection/SKILL.md
.squad/templates/skills/nap/SKILL.md
.squad/templates/skills/notification-routing/SKILL.md
.squad/templates/skills/personal-squad/SKILL.md
.squad/templates/skills/pr-review-response/SKILL.md
.squad/templates/skills/pr-screenshots/SKILL.md
.squad/templates/skills/ralph-two-pass-scan/SKILL.md

Metadata

Files
0
Version
bd4e082
Hash
1cabc792
Indexed
2026-08-20 14:04

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-25 11:42
浙ICP备14020137号-1 $방문자$