red-blue-review SKILL.md skillA

red-blue-review from baixinghao/intent-gate is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add baixinghao/intent-gate/red-blue-review@git:20260810.957fd09

Pins git:20260810.957fd09 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
baixinghao/intent-gate
Path
skills/red-blue-review/SKILL.md
Versions recorded
2
Latest version
git:20260810.957fd09, committed Aug 10, 2026
First version recorded
Aug 10, 2026
Size
12,026 bytes
Repository stars
3
License
MIT

Use when the user asks for 红蓝对抗 / 蓝军评审 / 对抗评审 / 需求评审 (adversarial review of a requirement analysis), when the user asks to 整改/按 findings 整改 (red-team revision of the analysis per review findings, §5.5), or after a complex requirement's summary.md is delivered and the human opts in - the blue army reviews red army artifacts in an independent session with information asymmetry, producing actionable findings that drive the revision loop until PASS.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# 红蓝对抗评审(蓝军 playbook)

> 对需求分析产物做**对抗性审查**:红军(需求分析方)产出 summary.md/DDL/对齐流水,
> 蓝军(你)以对立视角找茬,产出结构化 findings,驱动红军整改闭环。
>
> **可选项**:本评审是插件自带的可选质量门,不是必经流程——
> 人类点名启动,或 complex 需求交付时由你建议、人类同意后启动。
> 没启动意图时不要把评审内容塞进正常分析流程。
>
> **适用门槛:仅 complexity=complex 的需求值得评审;simple/medium 直接 PASS 放行并说明。**

---

## 1. 独立性与信息节食(🔴 对抗有效性的根基)

- 🔴 蓝军必须在**独立 session** 执行(新开对话,或派遣与红军无共享上下文的子代理),
  禁止与红军同 session——同 session 看到红军推理过程即继承其假设,对抗退化成自查。
- 🔴 **信息不对称**:蓝军只读"产物 + 过程文件 + rubric 文件",
  **禁止**向人类索要红军的思维链、对话记录或"当时是怎么想的"。
- 🔴 蓝军**不修改**红军的任何产物,唯一输出是 `_review/review-findings.md`。
- 🟡 同厂商异 session 即可满足独立性;异厂商模型为加分项,非准入门槛。

## 2. 输入(全部来自 `.harness/requests/{需求名}/`)

| 文件 | 用途 |
|------|------|
| `summary.md` | 被审主产物(报告) |
| `_review/alignment-log.md` | 意图对齐流水(R1 注入保真复核的唯一依据) |
| `_review/review-request.md` | 红军开单(产物清单 + 自评 + 建议评审重点) |
| `_review/review-findings.md`(前轮,如存在) | 🔴 **并集复核**:逐条判定"仍有效→并入本轮 / 已失效→注明原因",禁止覆盖丢弃前轮成果 |
| `sql/*.sql`(项目根目录) | 被审 DDL |
| 原始 PRD(`doc/request/` 或用户提供) | 蓝军独立扫雷用(R3 歧义漏判检查) |

**rubric 参照**:项目红线文件(有则读)、术语 wiki(有则读)、
MCP prompt `doc_analysis_playbook` 的产出规范(§3.5-3.8 图表规范)。

> 🟡 **进场前置检查**:发现红军产物目录缺 `_review/alignment-log.md` →
> 不必开审,直接结论 **FAIL-可整改**(过程证据缺失:没有对齐流水,
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add baixinghao/intent-gate/red-blue-review@sha256:85d0561d71ec5c8b

The line at the top of this page pins the label git:20260810.957fd09, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_ko7auecr2npwhszb.svg)](https://markdownregistry.com/a/art_ko7auecr2npwhszb)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, all committed on Aug 10, 2026.

versioncommittedcommitsizeaudit
git:20260810.957fd09 latest2026-08-10 957fd09 12,026 BA view · diff
git:20260810.84c9c1e2026-08-10 84c9c1e 11,913 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (12026 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

baixinghao/intent-gate · 3 stars · license MIT · pushed 2026-10-25 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_ko7auecr2npwhszb
GET https://markdownregistry.com/api/v1/resolve?ref=baixinghao/intent-gate/red-blue-review
GET https://markdownregistry.com/api/v1/blob/85d0561d71ec5c8b1e41aa4ff1e7ddb15c6853dc9c1cc46634a8b496f989bdfb

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from baixinghao/intent-gate

DESIGN.md@docs DESIGN.md file
baixinghao/intent-gate · docs/DESIGN.md
git:20261013.89f945f · audit A · 3 stars
contract-coding SKILL.md skill
baixinghao/intent-gate · skills/contract-coding/SKILL.md · Use when implementing or modifying code for a requirement (实现需求/编码/写代码/开工) that has an intent-gate contract…
git:20261014.5d8eed4 · audit A · 3 stars
requirement-alignment SKILL.md skill
baixinghao/intent-gate · skills/requirement-alignment/SKILL.md · Use when analyzing a requirement/PRD (分析需求/解析需求/解析PRD/分析PRD), building state machines (画状态机), sequence diagrams (时序图)…
git:20261013.89f945f · audit A · 3 stars
using-intent-gate SKILL.md skill
baixinghao/intent-gate · skills/using-intent-gate/SKILL.md · Use when analyzing requirements/PRDs, resolving business-rule ambiguity or conflicting requirements, making…
git:20261025.e05a450 · audit A · 3 stars

Every file in baixinghao/intent-gate

Browse by kind, by grade A, or by owner.