From paceflow
Audits PACEflow system files via 5 parallel subagents reviewing code quality, process integrity, consistency, Skill templates, and architecture. Produces deduplicated graded reports with C/H validation for pre-release quality gates.
npx claudepluginhub paceaitian/paceflow --plugin paceflowThis skill uses the workspace's default tool permissions.
- 用户说"完整分析"、"全面审查"、"全面检查"
Conducts tiered code reviews for security (OWASP top 10), performance, and quality on staged git changes, PRs, or files before commits or releases.
Runs comprehensive codebase audits with mechanical verification (build, lint, tests, secrets scan, git status) and specialist reviewers, producing scored reports across 7+ axes. Quick modes skip reviewers.
Coordinates parallel agent audits for codebase health, evaluation (12-pillar scoring), technical debt, and documentation drift, producing intake docs for /pipeline.
Share bugs, ideas, or general feedback.
/paceflow-auditAgent 必须动态发现文件,不依赖预设数量。使用 Glob 扫描。
| 类别 | Glob 模式 |
|---|---|
| Hook 脚本 | paceflow/hooks/*.js |
| Skill 定义 | paceflow/skills/*/SKILL.md |
| Skill 引用 | paceflow/skills/*/references/*.md |
| Hook 模板 | paceflow/hooks/templates/*.md |
| Skill 模板 | paceflow/skills/*/templates/*.md |
| 配置 | paceflow/config/*.json |
| Plugin 元数据 | paceflow/.claude-plugin/plugin.json + paceflow/hooks/hooks.json |
| 工具链 | paceflow/install.js + paceflow/verify.js |
| 测试 | paceflow/tests/*.js |
| 文档 | CLAUDE.md + paceflow/README.md + paceflow/REFERENCE.md |
| 级别 | 定义 | C 级门槛 |
|---|---|---|
| C Critical | 功能错误、数据丢失、流程阻塞 | 必须证明具体触发路径 |
| H High | 影响可靠性但不阻塞 | — |
| W Warning | 代码质量、文档过时 | — |
| I Info | 优化建议、风格改进 | — |
每个发现必须包含:文件名:行号、问题描述、建议修复。
启动 5 个 subagent 并行执行(Agent 工具,subagent_type: general-purpose)。
| Agent | 审查目标 | 关注维度 |
|---|---|---|
| 1. 代码质量 | 核心 Hook(公共模块 + Write/Edit hook) | Bug/正则/路径/异常/I/O 协议 |
| 2. 流程完整性 | 生命周期 Hook(SessionStart/Stop/PreCompact) | stdin 解析/防循环/快照/降级 |
| 3. 一致性 | 辅助 Hook + Plugin + 工具链 | hooks.json 一致性/install/verify |
| 4. Skill 模板 | 所有 Skill + 模板 | 交叉引用/格式/正则兼容 |
| 5. 架构优化 | 测试 + 文档 + 整体架构 | 覆盖度/文档准确性/流程缺口 |
每个 agent 的完整 prompt 和共享审查纪律见 references/agent-prompts.md。
历史误报率 50-80%,验证是流程核心。
对 C/H 级发现启动验证 subagent:
| 验证方法 | 适用场景 |
|---|---|
| 路径追踪 | 逻辑错误 — 从问题行追踪到入口确认可达 |
| 实际 diff | 不一致声称 — 逐行对比两个文件 |
| 设计意图查证 | 可能有意设计 — 检查 CLAUDE.md + 注释 |
| 最小复现 | 可构造触发条件 — E2E 测试验证 |
结果三分类:✅ 确认 / ⚠️ 部分正确 / ❌ 误报
W/I 级快速扫描去重合并,不逐一验证。
报告模板和误报防御策略见 references/audit-procedures.md。
flowchart TD
A["/paceflow-audit 触发"] --> B["Phase 1: 5 subagent 并行审查"]
B --> C1["Agent 1: 核心 Hook"]
B --> C2["Agent 2: 生命周期 Hook"]
B --> C3["Agent 3: 辅助 Hook + 工具链"]
B --> C4["Agent 4: Skill 模板同步"]
B --> C5["Agent 5: 架构与优化"]
C1 & C2 & C3 & C4 & C5 --> D["汇总所有发现"]
D --> E["Phase 2: C/H 级路径追踪验证"]
E --> F["三分类: ✅确认 / ⚠️部分正确 / ❌误报"]
F --> G["Phase 3: 去重+分级+报告"]
G --> H["ticketNN.md 标准报告"]