一键导入
codebase-audit-reviewer
Reviewer CSA for fact-checking Writer outputs against source code
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Reviewer CSA for fact-checking Writer outputs against source code
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | codebase-audit-reviewer |
| description | Reviewer CSA for fact-checking Writer outputs against source code |
| allowed-tools | Bash, Read, Grep, Glob, Write, Edit |
Role MUST be determined by explicit mode marker, not fragile natural-language substring matching.
Treat the run as executor ONLY when initial prompt contains:
<skill-mode>executor</skill-mode>.
YOU ARE THE EXECUTOR. Follow these rules:
csa run, csa review, csa debate, or ANY csa command.Fact-check all documentation files generated by the Writer CSA for a single crate. Verify every claim against the actual source code and fix errors in-place.
For every line number reference in README.md, review_report.md, blog.md, and chapters/:
For every function signature in facts.toml:
For every type definition in facts.toml:
exported_apis appears in README.mdpub fn / pub struct / pub enum / pub trait in source appear in facts.tomlunwrap()/expect() callsWhen you find an error:
FIXED: {file} — {what was wrong} → {what you changed}CRITICAL_FIX: Wrong function signature, nonexistent API, wrong typeMINOR_FIX: Wrong line number, typo in description, missing minor detailPrint a review summary to stdout:
=== Review Summary: {crate_name} ===
Files checked: {count}
Critical fixes: {count}
Minor fixes: {count}
Verdict: PASS | PASS_WITH_FIXES | NEEDS_REWRITE
{List of all FIXED entries}
If NEEDS_REWRITE (>5 critical fixes), the workflow should re-run the Writer.
This skill is invoked by the codebase-audit workflow. Not meant to be called directly.
The workflow provides ${CRATE_DIR} and ${crate} variables.
Use when: full dev cycle branch->plan->implement->review->PR->merge
Use when: executing tasks via csa run/review/debate, session mgmt
Use when: iterative review-fix loop until csa review --diff is clean
Use when: running CSA-driven code review, independent model selection
Use when: three-layer manager-employee orchestration for delegation
Use when: legacy alias, redirects to dev2merge pipeline