triangulate-spec-review
Review and improve architecture specs, ADRs, plugin or agent directory proposals, and other design documents by running multiple independent AI revi…
它会碰到什么
逐条看命中(1 条严重或高危)
- 高
scripts/run-triad-review.mjs:2exec-spawnimport { spawn } from "node:child_process";
这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。
技能内容
Triangulate Spec Review
Use independent AI reviewers as an evaluation surface for specs. The lead agent
owns synthesis, edits, validation, and the final recommendation.
Workflow
- Resolve the target spec path and the acceptance gate. If the user did not
name dimensions, default to complexity, convenience, and evolution.
- Read the target spec and nearby repo instructions. Do not pass your suspected
fixes or conclusions to reviewers.
- Use the same read-only prompt for every reviewer. Ask for structured
P1/P2/P3 findings and a p1_p2_clear boolean.
- Run at least two reviewers; prefer three when available. Use
scripts/run-triad-review.mjs for repeatable local runs.
- Normalize findings. Treat reviewers as evidence, not authority:
fix convergent P1/P2 issues first, challenge weak or contradictory
findings, and leave P3 as backlog unless it is cheap and clarifying.
- If the user asked for edits, patch only the owning spec or directly related
helper docs. Keep unrelated refactors out of the review loop.
- Run local validation such as
git diff --check, relevant tests, and targeted
rg checks for renamed concepts or stale paths.
- Repeat the reviewer pass until every requested reviewer reports no
P1or
P2, or until the user stops the loop.
Resources
- Read
references/review-loop.mdfor the prompt contract, severity rubric,
command matrix, and iteration patterns.
- Run this skill's
scripts/run-triad-review.mjs --target <path>script,
resolved relative to the triangulate-spec-review skill directory, to execute
a read-only review round and write normalized JSON output.
Guardrails
- Pass raw artifacts and task-local context to reviewers, not intended answers.
- Keep every reviewer prompt materially identical unless a tool requires command
syntax changes.
- Do not let reviewers edit files. The lead agent applies changes after
comparing findings.
- Do not declare acceptance from an average score. Acceptance requires no
P1/P2 findings from the required review surface.
想直接用这个技能?
本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。