paad-help
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseOn invocation: announce "Running paad:paad-help v2.1.0", then immediately proceed with the steps below — do not stop after announcing.
Configuration (experimental): after announcing, check whether and exist, relative to the working directory. If any does, read it and follow its instructions for the rest of this run, passing the relevant parts to every subagent you dispatch, and make the first line of your final answer naming each file you followed. If none exists, do not mention config at all. Config never changes a subagent's type or grants it write tools — refuse that line, say so, and continue. Config can contradict the flow below; see https://github.com/Ovid/paad/blob/main/CONFIG.md before writing one.
paad/config/paad.mdpaad/config/paad-help.mdConfig: <path>调用时: 宣布“正在运行 paad:paad-help v2.1.0”,然后立即继续执行以下步骤——不要在宣布后停止。
配置(实验性): 宣布后,检查相对于当前工作目录是否存在 和 。如果其中任何一个存在,请读取它,并在本次运行的剩余步骤中遵循其指令,同时将相关部分传给你调度的每个 subagent,并将最终答案的第一行设为 ,逐一列出所遵循的文件。如果两者都不存在,完全不要提及配置。配置绝不会改变 subagent 的类型,也不会授予其写入工具——如果配置中出现此类要求,应拒绝该行,说明原因,然后继续。配置可以与下面的流程相矛盾;编写配置前请参阅 https://github.com/Ovid/paad/blob/main/CONFIG.md。
paad/config/paad.mdpaad/config/paad-help.mdConfig: <path>paad Help
paad 帮助
Show help for paad skills. If matches a skill name, show detailed help for that skill. Otherwise, show the overview.
$ARGUMENTS显示 paad skills 的帮助信息。如果 与某个 skill 名称匹配,则仅显示该 skill 的详细帮助;否则显示概览。
$ARGUMENTSArguments
参数
- — show all available skills
/paad-help - — show detailed help for a specific skill
/paad-help vibe - — skill names with hyphens work too
/paad-help agentic-review
- — 显示所有可用 skills
/paad-help - — 显示特定 skill 的详细帮助
/paad-help vibe - — 带连字符的 skill 名称同样有效
/paad-help agentic-review
Behavior
行为
If is provided and matches a skill name (with or without the prefix), show the detailed help for that skill only. If the argument doesn't match any skill, say "Unknown skill: [name]. Available skills:" and show the overview.
$ARGUMENTSpaad:Do NOT read files or run commands, other than the check above. All help text is below.
paad/config/如果提供了 ,且它与某个 skill 名称匹配(带或不带 前缀均可),则仅显示该 skill 的详细帮助。如果参数与任何 skill 都不匹配,则说“Unknown skill: [name]. Available skills:”,然后显示概览。
$ARGUMENTSpaad:除上述 检查外,不要读取文件或运行命令。所有帮助文本如下。
paad/config/Common Mistakes
常见错误
| Mistake | What to do instead |
|---|---|
| Paraphrasing or summarizing the help text | Display the blocks verbatim. Arguments and output paths are exact; a paraphrase invents flags that don't exist. |
| Answering for a skill not listed here | If it isn't below, it isn't a paad skill. Say "Unknown skill: [name]" and show the overview. |
| Running the skill the user asked about | They asked what it does, not for it to happen. Show the help and stop. |
| 错误 | 应该怎么做 |
|---|---|
| 转述或概括帮助文本 | 原样显示这些内容块。参数和输出路径都是精确值;转述会凭空捏造不存在的标志。 |
| 回答此处未列出的 skill | 如果不在下方,它就不是 paad skill。说“Unknown skill: [name]”,然后显示概览。 |
| 运行用户询问的 skill | 用户问的是它的作用,而不是要求实际执行。显示帮助后停止。 |
Overview (no arguments)
概览(无参数)
When showing the overview, display exactly this:
paad — Engineering-driven AI.
Use your engineering excellence — the one thing AI reliably skips.
Full tutorial: https://curtispoe.org/paad/
Available skills:
/agentic-a11y [path] Accessibility audit (web, mobile, desktop, CLI, games)
/agentic-architecture [path...] Multi-agent architecture analysis (strengths & flaws)
/fix-architecture [report] Fix architectural flaws from an analysis report
/agentic-review [base-branch] [path] Multi-agent code review of current branch (bug hunting)
/alignment [files...] Requirements-to-tasks alignment + TDD rewrite
/makefile Create or update a Makefile with standard targets
/handoff [save|resume] Hand this session's work to a fresh session, in writing
/pushback [document] Spec/PRD/doc critic (finds issues before you build)
/rethink [what to re-examine] Verify the premises under options already on the table
/test-roadmap Plan and build a test suite that catches real regressions
/vibe [task description] Safe vibe coding with TDD guardrails
Experimental — may change or be withdrawn in any release, including patches:
/backlog [clean|fix] Clean or fix the out-of-scope bug backlog
/agentic-dedup [scope] Find semantic duplication (same meaning, different code)
/agentic-owasp [scope] Security review against the OWASP Top 10:2025
Picking between them:
Want structural flaws found? agentic-architecture (diagnoses, does not fix)
Want them fixed? fix-architecture (needs a report first)
Want bugs in a branch? agentic-review (a diff, not the codebase)
Have a backlog of found bugs? backlog (experimental; clean stale
entries, or fix the next one —
agentic-review fills it)
Want accessibility barriers? agentic-a11y (not general correctness)
Want duplicated logic found? agentic-dedup (experimental; reports,
never refactors)
Worried about security specifically? agentic-owasp (experimental; the OWASP
Top 10:2025, never exploits or fixes)
Have no tests, or tests you distrust? test-roadmap (writes tests and commits
them, one commit per phase)
Have one document, is it any good? pushback (a spec, a steering file, a
generated report)
Been handed options, are they sound? rethink (checks premises, does not
invent alternatives)
Out of context, work unfinished? handoff (writes a file for a NEW
session — /compact stays in this one)
Have a spec AND a plan, do they match? alignment (needs both; does not read code)
Making a small change? vibe (1-3 files, same module)
Change is clearly multi-module? write a plan, then alignment against it
Build is broken? none of these — makefile manages targets,
it does not debug builds
Run /paad-help <skill-name> for detailed help on a specific skill.
Invoking: the names above are slash commands on Claude Code. If your
assistant does not take them, ask for the skill by name ("run the pushback
skill"). If another plugin ships a skill with the same name, disambiguate with
the paad: prefix — /paad:vibe rather than /vibe.
Configuration (experimental): put instructions in paad/config/paad.md to
steer every skill, or paad/config/<skill-name>.md to steer one. A skill that
finds a file follows it and opens its final answer with "Config: <path>".
Details and the caveats: https://github.com/Ovid/paad/blob/main/CONFIG.md
Security findings: any finding that would help an attacker is written only
under paad/security/, which carries its own .gitignore, and the ordinary
report gets a count and a pointer. Add paad/security/ to your root
.gitignore too. The directory is local scratch — git clean -x deletes it.
Reports from older releases in paad/owasp-reviews/ move under it by hand:
if git tracks them, git rm -r --cached paad/owasp-reviews/ first, then move
them and remove the old directory. Bug class: Security entries in
paad/code-reviews/backlog.md are copied across by /agentic-review; delete
the committed copies (/backlog clean does it). History keeps what was
committed either way, so rotate whatever it exposed.显示概览时,准确输出以下内容:
paad — 工程驱动的 AI。
发挥你的工程优势——这是 AI 总会跳过的一件事。
完整教程:https://curtispoe.org/paad/
可用 skills:
/agentic-a11y [path] 面向 Web、移动端、桌面端、CLI 和游戏的无障碍审计
/agentic-architecture [path...] 多 Agent 架构分析(优势与缺陷)
/fix-architecture [report] 根据分析报告修复架构缺陷
/agentic-review [base-branch] [path] 对当前分支进行多 Agent 代码审查(查找 Bug)
/alignment [files...] 需求到任务的映射检查与 TDD 重写
/makefile 创建或更新包含标准目标的 Makefile
/handoff [save|resume] 以书面形式将本次会话的工作移交给全新会话
/pushback [document] Spec/PRD/文档批评者(在你开始构建前找出问题)
/rethink [what to re-examine] 重新审视桌上已有选项所依赖的前提
/test-roadmap 规划并构建能捕获真实回归的测试套件
/vibe [task description] 在 TDD 护栏下安全地进行 vibe coding
实验性功能——可能在任何版本中发生改变或被撤回,包括补丁版本:
/backlog [clean|fix] 清理或修复范围之外的 Bug backlog
/agentic-dedup [scope] 查找语义重复(含义相同但代码不同)
/agentic-owasp [scope] 根据 OWASP Top 10:2025 进行安全审查
如何选择:
想找出结构性缺陷? agentic-architecture(只诊断,不修复)
想修复这些缺陷? fix-architecture(需要先有报告)
想查找分支中的 Bug? agentic-review(审查差异,而非整个代码库)
已有发现 Bug 的 backlog? backlog(实验性;清理过期条目,
或修复下一个条目——agentic-review
会负责填充 backlog)
想查找无障碍障碍? agentic-a11y(不检查一般正确性)
想查找重复逻辑? agentic-dedup(实验性;只生成报告,
从不重构)
特别担心安全问题? agentic-owasp(实验性;OWASP
Top 10:2025,从不利用或修复问题)
没有测试或不信任测试? test-roadmap(编写测试并提交,
每个阶段一个提交)
有一份文档,想知道质量? pushback(适用于 Spec、引导文件或
生成的报告)
已获得一些选项,想验证? rethink(检查前提,不发明替代方案)
已脱离上下文且工作未完成?handoff(为全新会话写入文件——
/compact 仍在当前会话中)
同时有 Spec 和计划,想检查?alignment(两者都需要;不读取代码)
进行小型修改? vibe(1–3 个文件,同一模块)
修改明显涉及多个模块? 先编写计划,再与其进行 alignment
构建已损坏? 这些 skill 均不适用——makefile 用于
管理目标,而不是调试构建
运行 /paad-help <skill-name> 可获取特定 skill 的详细帮助。
调用:以上名称是 Claude Code 中的 slash commands。如果你的
助手无法直接使用它们,请按名称请求该 skill(“运行 pushback
skill”)。如果另一个插件提供同名 skill,请使用 paad: 前缀
消除歧义——使用 /paad:vibe,而不是 /vibe。
配置(实验性):将指令放在 paad/config/paad.md 中,为每个
skill 提供引导,或放在 paad/config/<skill-name>.md 中,为单个
skill 提供引导。找到文件的 skill 会遵循它,并使最终答案以
“Config: <path>”开头。
详情和注意事项:https://github.com/Ovid/paad/blob/main/CONFIG.md
安全发现:任何可能帮助攻击者的发现只会写入 paad/security/,
该目录带有自己的 .gitignore,普通报告则只包含数量和指针。还需
将 paad/security/ 添加到根目录 .gitignore。该目录是本地临时
区域——git clean -x 会将其删除。
旧版本在 paad/owasp-reviews/ 中的报告会手动移入其中:
如果 git 跟踪这些文件,请先运行
git rm -r --cached paad/owasp-reviews/,然后移动它们并删除
旧目录。Bug 类别:paad/code-reviews/backlog.md 中的 Security
条目会由 /agentic-review 复制过去;删除已提交的副本
(/backlog clean 会处理)。无论哪种方式,历史都会保留已提交
的内容,因此请轮换其中暴露过的任何敏感信息。Detailed Help (per skill)
详细帮助(按 skill)
agentic-a11y
agentic-a11y
/agentic-a11y [path]
Comprehensive multi-agent accessibility audit of user-facing code.
Supports: web, iOS, Android, React Native, Flutter, desktop, CLI, and games.
Target: WCAG 2.2 AA baseline, AAA flagged as bonus recommendations.
Output: paad/a11y-reviews/
Arguments:
/agentic-a11y Audit all user-facing code in the repo
/agentic-a11y src/components/ Scope to a directory
/agentic-a11y Modal.tsx Scope to a file
What it does:
1. Detects the platform(s) automatically
2. Dispatches 5 specialist agents in parallel:
- Screen Reader & Assistive Tech
- Visual & Color
- Keyboard & Motor
- Cognitive & Learning
- Multimedia & Temporal
3. Dispatches a Platform-Specific agent if a framework is detected
4. Verifies findings (filters false positives from component libraries)
5. Writes a report with:
- Impact summary by user group
- Issues ranked by severity (Critical/Serious/Moderate/Minor)
- WCAG conformance checklist
- Quick wins (top 5 highest-impact, lowest-effort fixes)
Best used in a fresh session — consumes significant context./agentic-a11y [path]
对面向用户的代码执行全面的多 Agent 无障碍审计。
支持:Web、iOS、Android、React Native、Flutter、桌面端、CLI 和游戏。
目标: WCAG 2.2 AA 基线,并将 AAA 标记为额外建议。
输出: paad/a11y-reviews/
参数:
/agentic-a11y 审计代码库中所有面向用户的代码
/agentic-a11y src/components/ 将范围限定为某个目录
/agentic-a11y Modal.tsx 将范围限定为某个文件
工作内容:
1. 自动检测平台
2. 并行调度 5 个专职 Agent:
- 屏幕阅读器与辅助技术
- 视觉与颜色
- 键盘与运动操作
- 认知与学习
- 多媒体与时间因素
3. 检测到框架时,调度一个平台专属 Agent
4. 验证发现,过滤组件库导致的误报
5. 写入包含以下内容的报告:
- 按用户群体汇总影响
- 按严重程度排序的问题
(Critical/Serious/Moderate/Minor)
- WCAG 一致性检查清单
- 快速改进项(影响最高且修复成本最低的前 5 项)
最好在全新会话中使用——会占用大量上下文。agentic-architecture
agentic-architecture
/agentic-architecture [path...]
Multi-agent architecture analysis. Diagnosis only — finds strengths and
flaws with evidence but does not propose fixes.
Output: paad/architecture-reviews/
paad/security/agentic-architecture-<date>-<repo>.md (security findings, ignored)
Arguments:
/agentic-architecture Full repo
/agentic-architecture src/ Scope to a directory
/agentic-architecture packages/api/ packages/shared/ Multiple dirs
What it does:
1. Reconnaissance: repo overview, dependency snapshot, steering files
2. Dispatches 5 specialist agents in parallel:
- Structure & Boundaries (god objects, cohesion, domain modeling)
- Coupling & Dependencies (tight coupling, circular deps, abstractions)
- Integration & Data (API contracts, data ownership, resilience)
- Error Handling & Observability (error strategy, logging, config)
- Security & Code Quality (auth, secrets, dead code, test coverage)
3. Verifies findings (reads actual code, checks git history)
4. Writes a report with:
- 14 strength categories assessed
- 34 flaw/risk types assessed
- Coverage checklist (every category: observed / not observed / N/A)
- Hotspots (top 3 files/directories to review)
- Next questions (max 5, no solutions)
Best used in a fresh session — consumes significant context./agentic-architecture [path...]
多 Agent 架构分析。仅用于诊断——会发现有证据支持的优势和
缺陷,但不提出修复方案。
输出:paad/architecture-reviews/
paad/security/agentic-architecture-<date>-<repo>.md(安全发现,不纳入版本控制)
参数:
/agentic-architecture 整个代码库
/agentic-architecture src/ 将范围限定为某个目录
/agentic-architecture packages/api/ packages/shared/ 多个目录
工作内容:
1. 侦察:代码库概览、依赖快照、引导文件
2. 并行调度 5 个专职 Agent:
- 结构与边界(巨型对象、内聚性、领域建模)
- 耦合与依赖(紧密耦合、循环依赖、抽象)
- 集成与数据(API 契约、数据所有权、韧性)
- 错误处理与可观测性(错误策略、日志、配置)
- 安全与代码质量(身份验证、密钥、废弃代码、测试覆盖率)
3. 验证发现(读取实际代码,检查 Git 历史)
4. 写入包含以下内容的报告:
- 评估 14 类优势
- 评估 34 类缺陷或风险
- 覆盖检查清单(每个类别:已观察到/未观察到/不适用)
- 重点区域(最值得审查的前 3 个文件或目录)
- 后续问题(最多 5 个,不提供解决方案)
最好在全新会话中使用——会占用大量上下文。fix-architecture
fix-architecture
/fix-architecture [report]
Guided fixing of architectural flaws from an agentic-architecture report.
Test-first workflow with developer approval at every step.
Output: Updates the report in paad/architecture-reviews/ with fix status
Also loads and updates the matching paad/security/ file, where
agentic-architecture puts flaws that would help an attacker; their
commit messages never name the flaw or the file
Arguments:
/fix-architecture Find most recent report
/fix-architecture path/to/report.md Use a specific report
Requirements:
- Must be on a feature branch (not main/master/trunk)
- An architecture report must exist (run /agentic-architecture first)
What it does:
1. Pre-flight: branch check, report staleness, test infrastructure,
baseline test run
2. Developer conversation:
- Solo or team? (affects batch size recommendations)
- Auto-commit or manual review?
- Flaw triage: high-impact, quick wins, or specific F-IDs
- Plan confirmation before any code is touched
3. For each selected flaw:
- Validates the flaw still exists (checks code and git history)
- Assesses test coverage, writes safety-net tests if needed
- Proposes fix options with tradeoffs (recommended option first)
- Executes with red/green/refactor
- Handles test failures (distinguishes structural vs behavioral)
- Commits (one per fix) and updates the report
- Checks if the fix resolved other flaws too
4. Post-session summary with remaining flaw count
Status tracking in the report:
Fixed | Won't fix | Partially fixed | Skipped |
Fixed (pre-existing) | Attempted, reverted
Best used in a fresh session — consumes significant context./fix-architecture [report]
根据 agentic-architecture 报告,以引导式方式修复架构缺陷。
采用测试优先的工作流,并在每个步骤获得开发者批准。
输出:使用修复状态更新 paad/architecture-reviews/ 中的报告
同时加载并更新匹配的 paad/security/ 文件;
agentic-architecture 会将可能帮助攻击者的缺陷放在其中,
它们的提交消息不会提及该缺陷或文件
参数:
/fix-architecture 查找最近的报告
/fix-architecture path/to/report.md 使用特定报告
要求:
- 必须位于功能分支上(不能是 main/master/trunk)
- 必须存在架构报告(先运行 /agentic-architecture)
工作内容:
1. 预检:分支检查、报告时效性、测试基础设施、
基线测试运行
2. 与开发者沟通:
- 个人还是团队?(影响推荐的批次大小)
- 自动提交还是手动审查?
- 缺陷分诊:高影响、快速改进项,还是特定 F-ID
- 修改任何代码之前确认计划
3. 对于每个选中的缺陷:
- 验证缺陷是否仍然存在(检查代码和 Git 历史)
- 评估测试覆盖率,必要时编写安全网测试
- 提出带有权衡的修复选项(首先给出推荐方案)
- 按 red/green/refactor 流程执行
- 处理测试失败(区分结构性问题与行为问题)
- 提交(每次修复一个提交)并更新报告
- 检查该修复是否同时解决了其他缺陷
4. 会话结束后汇总剩余缺陷数量
报告中的状态跟踪:
Fixed | Won't fix | Partially fixed | Skipped |
Fixed (pre-existing) | Attempted, reverted
最好在全新会话中使用——会占用大量上下文。agentic-review
agentic-review
/agentic-review [base-branch] [path]
Multi-agent bug-hunting code review of the current branch.
Output: paad/code-reviews/<branch>-<timestamp>-<short-sha>.md (per-review)
paad/code-reviews/backlog.md (project-wide, persistent)
paad/security/code-review-<branch>-<timestamp>-<sha>.md and
paad/security/backlog.md (security findings, ignored)
Arguments:
/agentic-review Diff against the default branch
/agentic-review develop Diff against a different branch
/agentic-review main src/auth/ Scope to a directory
One argument is read as a base branch if git can resolve it, otherwise
as a path if it exists on disk. If it is both -- "docs", "release",
"test" and "api" are ordinary names for either -- the skill stops and
asks rather than guessing.
Requirements:
- Must be on a feature branch (not the repository's default branch,
resolved from origin/HEAD, falling back to main/master/trunk)
- Uncommitted changes: asks whether to review the committed state or wait
Stops before reviewing when:
- The base branch does not resolve
- A path filter was given and does not exist
- An argument is neither a ref nor a path, or is ambiguously both
- An argument holds a character git could read as a flag
- The default branch cannot be determined at all
- The filtered diff is empty
What it does:
1. Reconnaissance: diff stats, file manifest, callers/callees
2. Dispatches 6 specialist agents in parallel:
- Logic & Correctness
- Error Handling & Edge Cases
- Contract & Integration
- Concurrency & State
- Security
- Spec Compliance — pulls intent from PR description, plan/design
docs, recent commits, or branch name; flags missing features,
deviations, and out-of-scope additions (replaces the older
Plan Alignment agent)
3. Verifies findings (reads actual code, filters false positives)
4. Classifies each finding as in-scope (this branch caused/worsened it),
out-of-scope (pre-existing bug — persists to the project-wide backlog,
or the security backlog for Bug class: Security), or
out-of-scope-addition (this branch added it but the spec didn't
promise it — flagged for per-PR user decision)
5. Writes a report with:
- In-scope issues ranked: Critical / Important / Suggestion
- Out-of-scope bugs batched by tier with handoff instructions
- Out-of-scope additions in a separate section for keep/split/revert
decisions (no backlog persistence)
- Each finding: file:line, bug, impact, suggested fix, confidence,
and the model that found it
- Backlog updates surfaced in metadata
Best used in a fresh session — consumes significant context./agentic-review [base-branch] [path]
对当前分支执行多 Agent Bug 查找式代码审查。
输出: paad/code-reviews/<branch>-<timestamp>-<short-sha>.md(每次审查)
paad/code-reviews/backlog.md(项目级、持续保留)
paad/security/code-review-<branch>-<timestamp>-<sha>.md 和
paad/security/backlog.md(安全发现,不纳入版本控制)
参数:
/agentic-review 与默认分支比较差异
/agentic-review develop 与其他分支比较差异
/agentic-review main src/auth/ 将范围限定为某个目录
如果 Git 可以解析某个参数,则将其视为基础分支;否则,如果磁盘上
存在对应路径,则将其视为路径。如果两者都成立——"docs"、"release"、
"test" 和 "api" 都是两者的普通名称——该 skill 会停止并询问,
而不是自行猜测。
要求:
- 必须位于功能分支上(不能是代码库的默认分支;默认分支从
origin/HEAD 解析,失败时回退到 main/master/trunk)
- 存在未提交的更改:询问是审查已提交状态,还是等待提交
在以下情况下会在开始审查前停止:
- 无法解析基础分支
- 给出的路径过滤器不存在
- 参数既不是 Git 引用也不是路径,或同时具备两种含义而存在歧义
- 参数包含 Git 可能解析为标志的字符
- 完全无法确定默认分支
- 过滤后的差异为空
工作内容:
1. 侦察:差异统计、文件清单、调用方与被调用方
2. 并行调度 6 个专职 Agent:
- 逻辑与正确性
- 错误处理与边缘情况
- 契约与集成
- 并发与状态
- 安全
- Spec 合规性——从 PR 描述、计划或设计文档、
最近的提交或分支名称中获取意图;标记缺失功能、
偏离项和范围外新增内容(取代旧版 Plan Alignment Agent)
3. 验证发现(读取实际代码,过滤误报)
4. 将每项发现分类为:
- 范围内(此分支引入或加重了问题)、
- 范围外(既有 Bug——保留在项目级 backlog 中,
或针对 Bug 类别 Security 保留在安全 backlog 中)、或
- 范围外新增内容(此分支添加了内容,但 Spec 并未承诺;
标记后交由每个 PR 的用户决定)
5. 写入包含以下内容的报告:
- 范围内问题按重要性排序:
Critical / Important / Suggestion
- 范围外 Bug 按级别批量列出,并附带移交说明
- 范围外新增内容单独成节,供用户决定保留、拆分或还原
(不持久化到 backlog)
- 每项发现包含:file:line、Bug、影响、建议修复方式、
置信度以及发现该问题的模型
- 在元数据中展示 backlog 更新
最好在全新会话中使用——会占用大量上下文。backlog
backlog
/backlog [clean|fix] EXPERIMENTAL
EXPERIMENTAL — arguments, modes, and behavior may change or be withdrawn in
any release, including patch releases.
Work the project-wide out-of-scope bug backlog that /agentic-review writes
to. Two modes, two flat files. Never commits — it edits files and prints the
commit command for you to run.
Input/output: paad/code-reviews/backlog.md and paad/security/backlog.md
(the files /agentic-review fills; the security one is never
committed)
Arguments:
/backlog List the entries, then show the two-option menu
/backlog clean Go straight to Clean mode
/backlog fix Go straight to Fix mode
Requirements:
- A populated paad/code-reviews/backlog.md or paad/security/backlog.md.
If both are missing or empty, the skill says so and points you at
/agentic-review.
Clean mode:
1. One skeptical read-only analyst per entry re-verifies it against the
current code: STILL-PRESENT / RESOLVED / GONE, each with cited evidence
2. Deletes only RESOLVED/GONE entries — any doubt keeps the entry. A
renamed or moved symbol is not treated as a fix
3. Removes committed copies of entries already copied to the security
backlog, then dedupes/merges any duplicate survivors (rare —
agentic-review dedupes at mint time)
4. Prints a git commit command with the resolution notes when the
committed backlog changed; does not run it
Fix mode:
1. Ranks entries by severity then age, proposes the top one, you pick
(one item per run — no batch-fixing)
2. Fixes the bug test-first: a regression test that fails before the
fix, then the fix, then refactor. Small same-module fixes go via
/vibe, which does the same. RED is skipped only with no test command
or a bug no test can express, and the report says why
3. Validation gate before removal: an INDEPENDENT read-only analyst must
confirm from the code that the bug is gone; project tests run if a
command exists. No test command means "validated by inspection only" —
never a pass on its own, and your own edit is never the evidence
4. Gate passes -> deletes the entry and prints the commit command;
gate fails -> keeps the entry and reports what is still wrong
Deleting a backlog entry destroys a record, so the skill leans conservative:
a wrongly-kept entry is one stale line, a wrongly-deleted one loses a real
bug (recoverable only from git log on the committed file; a security
entry is not recoverable at all)./backlog [clean|fix] 实验性功能
实验性功能——参数、模式和行为可能在任何版本中发生改变或被撤回,
包括补丁版本。
处理 /agentic-review 写入的项目级范围外 Bug backlog。
包含两种模式和两个扁平文件。绝不提交——它会编辑文件,并打印
需要你自行运行的提交命令。
输入/输出:paad/code-reviews/backlog.md 和 paad/security/backlog.md
(由 /agentic-review 填充的文件;安全文件绝不提交)
参数:
/backlog 列出条目,然后显示双选项菜单
/backlog clean 直接进入 Clean 模式
/backlog fix 直接进入 Fix 模式
要求:
- paad/code-reviews/backlog.md 或 paad/security/backlog.md 中
至少有一个已填充条目。如果两者都不存在或为空,该 skill 会说明
情况,并指向 /agentic-review。
Clean 模式:
1. 每个条目由一名持怀疑态度的只读分析师根据当前代码重新验证:
STILL-PRESENT / RESOLVED / GONE,并分别引用证据
2. 仅删除 RESOLVED/GONE 条目——有任何疑问都会保留条目。
重命名或移动符号不会被视为已修复
3. 删除已复制到安全 backlog 的条目的已提交副本,然后对剩余
重复项去重或合并(很少发生——agentic-review 在创建条目时
已完成去重)
4. 当已提交的 backlog 发生变化时,打印带有解决说明的 Git
提交命令;不会运行该命令
Fix 模式:
1. 先按严重程度、再按存在时间排序条目,提出排在第一位的条目,
由你选择(每次运行只处理一个条目——不批量修复)
2. 以测试优先方式修复 Bug:先编写修复前会失败的回归测试,
然后修复,最后重构。同一模块中的小型修复通过 /vibe 完成,
后者采用相同流程。只有在没有测试命令或 Bug 无法用测试表达时
才跳过 RED,并会在报告中说明原因
3. 删除条目前进行验证门禁:一名独立只读分析师必须从代码中确认
Bug 已消失;如果存在测试命令,则运行项目测试。没有测试命令时
意味着“仅通过检查验证”——绝不单独视为通过,而且你自己的编辑
绝不能作为证据
4. 门禁通过 -> 删除条目并打印提交命令;
门禁失败 -> 保留条目并报告仍存在的问题
删除 backlog 条目会销毁记录,因此该 skill 采取保守策略:
错误保留一个条目只会留下过期内容,而错误删除一个条目会丢失真实
Bug(仅能从已提交文件的 Git 日志中恢复;安全条目则完全无法恢复)。alignment
alignment
/alignment [files...]
Checks that requirements and implementation plans are aligned.
Rewrites all tasks in TDD red/green/refactor format (mandatory).
Output: paad/alignment-reviews/
Arguments:
/alignment Auto-detect documents
/alignment requirements.md plan.md Specific files
/alignment docs/specs/ docs/plans/ Directories
Auto-detection scans: .kiro/, specs/ (spec-kit), docs/plans/, docs/specs/,
common filenames, and conversation history.
What it does:
1. Classifies documents as intent (requirements) vs action (tasks)
2. Reality check: scans git history for conflicts
3. Three alignment checks:
- Requirements coverage (every requirement has tasks?)
- Scope compliance (every task maps to a requirement?)
- Design alignment (if design docs exist)
4. Presents issues one at a time, dependency-ordered:
- Missing requirements first (root causes)
- Design gaps second
- Missing/orphaned tasks last (symptoms)
5. Rewrites all tasks in red/green/refactor format
6. Updates documents or writes a separate report
Works within an existing conversation — no fresh session needed./alignment [files...]
检查需求与实施计划是否一致。
将所有任务重写为 TDD red/green/refactor 格式(强制要求)。
输出:paad/alignment-reviews/
参数:
/alignment 自动检测文档
/alignment requirements.md plan.md 指定文件
/alignment docs/specs/ docs/plans/ 目录
自动检测会扫描:.kiro/、specs/(spec-kit)、docs/plans/、
docs/specs/、常见文件名以及对话历史。
工作内容:
1. 将文档分类为意图(需求)或行动(任务)
2. 实际情况检查:扫描 Git 历史以发现冲突
3. 执行三项一致性检查:
- 需求覆盖(每项需求都有对应任务吗?)
- 范围合规(每项任务都映射到某项需求吗?)
- 设计一致性(如果存在设计文档)
4. 按依赖顺序逐项呈现问题:
- 首先是缺失需求(根本原因)
- 其次是设计缺口
- 最后是缺失或孤立的任务(症状)
5. 将所有任务重写为 red/green/refactor 格式
6. 更新文档或写入独立报告
适用于当前已有对话——无需全新会话。makefile
makefile
/makefile
Creates or updates a project Makefile with standard targets.
Arguments:
/makefile Create a new Makefile or update an existing one
What it does:
1. Detects your stack (reads CLAUDE.md, README, package.json, etc.)
2. Checks if a Makefile already exists
3. Creating: builds from scratch with all required targets
4. Updating: adds missing targets; asks before changing existing ones
Required targets (always included):
help List all targets with descriptions
all Full CI pass (lint + format + test)
test Run test suite
cover One-shot coverage report
lint Lint (with autofix if available)
format Format code
Extra targets (build, dev, preview, etc.) added only if the project
supports them.
Key rules:
- Never modifies an existing target without explicit approval
- Forces one-shot mode for coverage (no watch-mode hanging)
- Uses self-documenting pattern (## comments + grep/awk help target)
- Balanced test output: concise on success, detailed on failure
No fresh session needed — this is a lightweight workflow skill./makefile
创建或更新包含标准目标的项目 Makefile。
参数:
/makefile 创建新的 Makefile 或更新现有 Makefile
工作内容:
1. 检测技术栈(读取 CLAUDE.md、README、package.json 等)
2. 检查 Makefile 是否已经存在
3. 创建:从头构建,并包含所有必需目标
4. 更新:添加缺失目标;修改现有目标前先询问
始终包含的必需目标:
help 列出所有目标及其说明
all 完整 CI 检查(lint + format + test)
test 运行测试套件
cover 一次性生成覆盖率报告
lint 执行 lint(如果支持则自动修复)
format 格式化代码
仅当项目支持时,才添加额外目标(build、dev、preview 等)。
关键规则:
- 未经明确批准,绝不修改现有目标
- 强制覆盖率使用一次性模式,避免 watch 模式卡住
- 使用自文档化模式(## 注释 + grep/awk help 目标)
- 测试输出保持平衡:成功时简洁,失败时详细
无需全新会话——这是一个轻量级工作流 skill。pushback
pushback
/pushback [document]
Critically reviews a spec, PRD, or design before you start building —
or any document that makes claims about the code, such as an agent
steering file (CLAUDE.md, AGENTS.md) or a generated analysis report.
Every finding must name a concrete consequence and the mechanism behind
it; candidates that can't are dropped and reported as discards. Each
finding also names the off-disk fact that would change its severity —
or says it is unconditional.
Output: the conversation, plus your spec if you ask for edits.
Writes paad/pushback-reviews/ only when issues go undiscussed
or you ask for a report. Security findings in that report go to
paad/security/pushback-<date>-<spec>.md (ignored).
Arguments:
/pushback path/to/spec.md Review a specific file
/pushback Auto-detect from conversation or files
Auto-detection checks: conversation history first, then common locations
(docs/plans/, docs/specs/, requirements.md, PRD.md, spec.md), then agent
steering files (CLAUDE.md, AGENTS.md, .cursorrules, .kiro/steering/,
.github/copilot-instructions.md) and generated analysis (paad/*-reviews/).
What it does:
1. Reality check: scans git history for conflicts with what the
spec assumes (presented upfront — showstoppers first)
2. Scope shape check:
- Feature cohesion: flags unrelated features bundled together
(things that would be separate PRs)
- Spec size: flags oversized specs, suggests splits only when
each piece delivers independent value
3. Analyzes the spec across 6 categories:
- Contradictions
- Feasibility (given the current codebase)
- Scope imbalance
- Omissions
- Ambiguity
- Security concerns
4. Presents issues one at a time, most impactful first
5. For each: concrete options from best to worst, with recommendation
6. Stop when you say "good enough"
7. Updates the spec or writes a separate report
Works within an existing conversation — no fresh session needed./pushback [document]
在你开始构建之前,批判性地审查 Spec、PRD 或设计文档——
或任何对代码作出声明的文档,例如 Agent 引导文件
(CLAUDE.md、AGENTS.md)或生成的分析报告。
每项发现都必须指出具体后果及其背后机制;无法做到这一点的候选项
会被丢弃并报告为已排除项。每项发现还必须指出代码库之外、能够
改变其严重程度的事实;如果不存在此类事实,则说明该发现不受条件限制。
输出:当前对话;如果你要求编辑,还会包含你的 Spec。
仅当问题未得到讨论或你要求生成报告时,才写入
paad/pushback-reviews/。报告中的安全发现会写入
paad/security/pushback-<date>-<spec>.md(不纳入版本控制)。
参数:
/pushback path/to/spec.md 审查特定文件
/pushback 从对话或文件中自动检测
自动检测首先检查对话历史,然后检查常见位置
(docs/plans/、docs/specs/、requirements.md、PRD.md、spec.md),
接着检查 Agent 引导文件(CLAUDE.md、AGENTS.md、.cursorrules、
.kiro/steering/、.github/copilot-instructions.md)和生成的分析
(paad/*-reviews/)。
工作内容:
1. 实际情况检查:扫描 Git 历史,寻找与 Spec 所假设内容冲突之处
(首先呈现;优先显示严重阻塞项)
2. 范围形态检查:
- 功能内聚性:标记捆绑在一起的不相关功能
(它们本应拆分成不同的 PR)
- Spec 规模:标记过大的 Spec,仅当每个部分都能独立
交付价值时才建议拆分
3. 从 6 个类别分析 Spec:
- 矛盾
- 可行性(结合当前代码库)
- 范围失衡
- 遗漏
- 歧义
- 安全问题
4. 按影响从高到低逐项呈现问题
5. 对每项问题,从最佳到最差给出具体选项,并提供推荐方案
6. 当你说“足够好了”时停止
7. 更新 Spec 或写入独立报告
适用于当前已有对话——无需全新会话。rethink
rethink
/rethink [what to re-examine]
Independently verifies the premises under options that are already on
the table. Reports what it checked, and how it checked it.
Output: none — it speaks in the conversation and writes no files.
Arguments:
/rethink Re-examine the most recent option set
/rethink the caching approach Name which decision, if several are live
What it does:
1. Extracts every premise the recommendation depends on, including
the unstated ones, and sorts them:
- checkable now (a primary source exists)
- checkable by experiment (names the cheapest one)
- not checkable (judgment, taste, prediction)
2. Dispatches one read-only subagent to verify them against
PRIMARY sources — the software, not its documentation
3. Reports one of five verdicts:
- Sound premises hold, and were checked
- Lucky premises hold, but nobody checked them
- Wrong reason a premise is false, the conclusion survives
- Premise false a premise is false, the conclusion does not
- Ungrounded unsettleable; names the experiment that would settle it
4. Per premise: what was claimed, what was found, what was checked
5. Re-presents the options in plain language — no jargon, no internal
names — with pros AND cons for each, and says what verification
changed about their standing
6. Recommends one, with the reason. Where the call also turns on
something it cannot see — a deadline, headcount, an unshipped
roadmap — it still recommends, then names that input and what it
would flip the answer to. It withholds entirely only when the
evidence supports no default at all
What it deliberately does NOT do:
- Produce an option list. It is not pushback. It proposes an
alternative only when verification exposed a defect, and then
exactly one, tied to that defect.
- Write, edit, or create any file.
Use it when a choice rests on cited docs, remembered behavior, or
premises nobody tested. Not for critiquing a spec — that is pushback./rethink [what to re-examine]
独立验证桌上已有选项所依赖的前提。报告检查了什么,以及如何检查。
输出:无——它只在对话中发言,不写入任何文件。
参数:
/rethink 重新审视最近的一组选项
/rethink the caching approach 指定要重新审视的决策;如果有多个
尚待决定的选项
工作内容:
1. 提取推荐方案依赖的每项前提,包括未明确说明的前提,并分类:
- 现在即可检查(存在一手来源)
- 可通过实验检查(指出成本最低的实验)
- 无法检查(判断、偏好或预测)
2. 调度一名只读 subagent,根据一手来源验证这些前提——
即软件本身,而不是它的文档
3. 报告五种结论之一:
- Sound 前提成立,且已接受检查
- Lucky 前提成立,但无人检查过
- Wrong reason 某项前提为假,但结论仍然成立
- Premise false 某项前提为假,结论不再成立
- Ungrounded 无法判定;指出能够解决该问题的实验
4. 针对每项前提,说明提出了什么、发现了什么、检查了什么
5. 使用通俗语言重新呈现这些选项——不使用术语或内部名称——
并列出每个选项的优点和缺点,同时说明验证如何改变了它们的
评估结果
6. 推荐一个选项并说明原因。如果该决策还取决于它无法看到的内容
——例如截止日期、人员数量或尚未发布的路线图——它仍会给出
推荐,然后指出该输入以及什么情况会反转答案。只有当证据完全
无法支持任何默认选择时,它才会拒绝作出推荐
它刻意不做以下事情:
- 生成选项列表。它不是 pushback。只有当验证暴露出缺陷时,它才会
提出替代方案,而且只提出一个与该缺陷直接相关的替代方案。
- 写入、编辑或创建任何文件。
当某个选择依赖已引用的文档、记忆中的行为或无人验证的前提时使用。
不用于批评 Spec——那是 pushback 的用途。vibe
vibe
/vibe [task description]
Safe vibe coding. Quick fixes with TDD guardrails.
Arguments:
/vibe fix the login timeout Task description inline
/vibe Ask what needs fixing
What it does:
1. Understands the task (asks clarifying questions if needed)
2. Pre-flight checks:
- Test infrastructure exists?
- Scope check (4+ files = warning)
- Architecture smell (simple task but hard work = investigate)
- Reusable components (search before building from scratch)
3. Implements with mandatory red/green/refactor:
- RED: one failing test first — a new one, or an existing test
updated to the new expectation (stop if unexpected behavior)
- GREEN: write minimal code to pass
- REFACTOR: clean up duplication, hard-coded values, patterns
4. Post-fix summary with contextual follow-up suggestions:
- Security-sensitive code → /agentic-review
- UI changes → /agentic-a11y
- Harder than expected → /agentic-architecture
No fresh session needed — this is a lightweight workflow skill./vibe [task description]
安全的 vibe coding。通过 TDD 护栏快速修复问题。
参数:
/vibe fix the login timeout 在行内提供任务描述
/vibe 询问需要修复什么
工作内容:
1. 理解任务(必要时提出澄清问题)
2. 预检:
- 是否存在测试基础设施?
- 范围检查(4 个及以上文件会触发警告)
- 架构异味(任务简单但工作异常困难,需要调查)
- 可复用组件(构建前先搜索)
3. 使用强制性的 red/green/refactor 流程实现:
- RED:先编写一个失败的测试——可以是新测试,也可以是更新
现有测试以匹配新预期(如果出现意外行为则停止)
- GREEN:编写使测试通过的最小代码
- REFACTOR:清理重复代码、硬编码值和模式
4. 修复后进行汇总,并根据上下文给出后续建议:
- 安全敏感代码 -> /agentic-review
- UI 更改 -> /agentic-a11y
- 难度超出预期 -> /agentic-architecture
无需全新会话——这是一个轻量级工作流 skill。agentic-dedup
agentic-dedup
/agentic-dedup [scope]
EXPERIMENTAL — arguments, output paths, and behavior may change or be
withdrawn in any release, including patch releases.
Multi-agent hunt for semantic duplication: code that means the same thing
behind different names, different syntax, different control flow, or
independently evolved implementations. Not a syntactic clone detector.
Output: paad/dedup-reviews/<branch-or-scope>-<timestamp>-<sha>.md
paad/dedup-reviews/INDEX.md (persistent, newest run on top)
paad/security/agentic-dedup-<branch-or-scope>-<timestamp>-<sha>.md (security findings, ignored)
Arguments:
/agentic-dedup Scan the repository
/agentic-dedup src/auth/ Scope to a path or module
/agentic-dedup --changed main Seed from the diff against main
/agentic-dedup --type-constraints Schemas, type aliases, validators
/agentic-dedup --domain "payments" Scope to a domain term
What it does:
1. Reconnaissance: manifest grouped by semantic domain, not by extension
2. Candidate discovery via six strategies: name/concept search,
behavioral fingerprints, type & constraint equivalence, control-flow
normalization, tests as behavioral specs, canonical utility search
3. Dispatches 5 specialist agents in parallel:
- Semantic Equivalence
- Type & Constraint Equivalence
- Domain Boundary & Intent
- Divergence Risk
- Refactoring Safety
4. Verifies findings — rejects name-only, shape-only, and structural
matches, and anything where duplication is the safer choice
5. Writes a report with:
- Findings ranked Critical / Important / Suggestion
- Type and constraint equivalence table (exact/overlap/subset/drift)
- Rejected candidates, so the next run does not rediscover them
- A consolidation strategy with a safe migration sequence
Never refactors anything. The report is the deliverable.
Best used in a fresh session — consumes significant context./agentic-dedup [scope]
实验性功能——参数、输出路径和行为可能在任何版本中发生改变或被
撤回,包括补丁版本。
使用多 Agent 查找语义重复:含义相同,但使用不同名称、不同语法、
不同控制流或独立演化实现的代码。它不是语法克隆检测器。
输出:paad/dedup-reviews/<branch-or-scope>-<timestamp>-<sha>.md
paad/dedup-reviews/INDEX.md(持续保留,最新运行位于顶部)
paad/security/agentic-dedup-<branch-or-scope>-<timestamp>-<sha>.md(安全发现,不纳入版本控制)
参数:
/agentic-dedup 扫描整个代码库
/agentic-dedup src/auth/ 将范围限定为某个路径或模块
/agentic-dedup --changed main 以相对 main 的差异为起点
/agentic-dedup --type-constraints Schema、类型别名和验证器
/agentic-dedup --domain "payments" 按领域术语限定范围
工作内容:
1. 侦察:按语义领域而非文件扩展名对清单分组
2. 通过六种策略发现候选项:名称或概念搜索、
行为特征、类型与约束等价、控制流归一化、
作为行为规范的测试、规范工具函数搜索
3. 并行调度 5 个专职 Agent:
- 语义等价
- 类型与约束等价
- 领域边界与意图
- 偏差风险
- 重构安全性
4. 验证发现——拒绝仅有名称、仅有形状或仅结构匹配的候选项,
也拒绝那些重复实现反而更安全的情况
5. 写入包含以下内容的报告:
- 按 Critical / Important / Suggestion 排序的发现
- 类型与约束等价表(精确一致/重叠/子集/漂移)
- 已拒绝的候选项,避免下次运行时重复发现
- 包含安全迁移顺序的整合策略
绝不重构任何内容。报告就是交付物。
最好在全新会话中使用——会占用大量上下文。agentic-owasp
agentic-owasp
/agentic-owasp [scope]
EXPERIMENTAL — arguments, output paths, and behavior may change or be
withdrawn in any release, including patch releases.
Multi-agent security review of source code against the OWASP Top 10:2025.
Reads code. Never starts the app, never sends a request anywhere, never
writes exploit code, never fixes what it finds.
Output: paad/security/owasp-<branch-or-scope>-<timestamp>-<sha>.md
paad/security/INDEX.md (newest run on top; local scratch, not
persistent across git clean -x)
paad/security/<report-stem>-proofs/ (if you authorized the proof stage)
Everything lands under paad/security/, which ignores itself.
Arguments:
/agentic-owasp Review the repository
/agentic-owasp src/api/ Scope to a path or module
/agentic-owasp --changed main Seed from the diff against main
/agentic-owasp --category A01 One category, or A01,A05,A07
/agentic-owasp --deps Supply chain only: deps, CI/CD
What it does:
1. Reconnaissance: framework defaults first — the ORM, template engine,
and middleware decide which findings are even real
2. Attack surface mapping: untrusted sources, dangerous sinks, and the
controls already sitting between them, each with path:line.
Then, before specialists launch, an optional benign-execution offer:
with your explicit yes, specialists may run read-only in-process
probes — your existing tests, a deparse, a pure-function call on
ordinary input — to settle questions reading cannot. Never a payload,
never a server or network, never a write; a separate decision from the
proof stage below, and off unless you say yes
3. Dispatches 7 specialist agents in parallel. Six cover all ten
categories with none left over:
- Access Control & Authentication (A01, A07)
- Injection & Untrusted Input (A05)
- Cryptography & Data Protection (A04)
- Configuration & Supply Chain (A02, A03)
- Design, Integrity & Failure Modes (A06, A08, A10)
- Logging, Alerting & Detection (A09)
The seventh owns no category and hunts by mechanism instead:
- Mechanism & Round-Trip (the seams)
Round-trip asymmetry between paired APIs, and facts the code
stores twice where a control reads only one copy. Files its
findings under the category of the impact.
4. Exploitability gate: a finding must name an attacker-controlled
source, a traced path to the sink, and why the existing controls do
not hold. Anything that cannot becomes a hardening note or is rejected.
The verifier's job is to refute, not confirm, and it clears a control
by enumerating the callers that bypass it — not by reading where the
control lives, and it composes across specialists before rejecting —
each specialist reports out-of-category observations as fragments, so a
weakness split across two categories is not lost by both
5. Optional proof stage: where a sink is reachable in-process, offers to
write a standalone script per finding that exits 0 while the weakness
is open, worked down the severity order rather than by whichever
proof looks easiest. Always asks first, with the trade-offs; never
executes without a yes. Declining costs nothing — unproven findings
keep their severity, and each says why it went unproven
6. Writes a report with:
- Coverage table across all ten categories — "not assessed" is
stated, never passed off as clean
- Findings ranked Critical / High / Medium, hardening notes separate
- Dependency findings marked called vs present-but-unreachable
- Every pooled fragment listed individually — path:line, what the
specialist saw, where it ended up — not just a count, so a sink
that was seen and dropped stays distinguishable from one nobody
looked at once the session is gone
- Rejected candidates, each with the positive evidence that killed
it, so the next run does not rediscover them
- A remediation order, which is not severity order
Live credentials are reported by location and type only — never by value,
and rotation comes before anything else in the report.
No report is a complete list of the weaknesses in the code, and the skill
says so at the end of every run — along with why committing the report is
risky even after the findings are fixed: git history is permanent, the
report ages into a false clearance, and the caveats do not travel with the
severity table. Zero findings means one reviewer looked once inside ten
categories and could not prove a path — not that the code is secure. Two
runs find different things, and the larger the codebase the wider the gap,
so union two runs rather than diffing them. Severity states impact;
whether a finding was executed is a separate field and never lowers it.
Scope is gated on size. Past roughly 40 source files the skill stops and
offers a choice: narrow to the untrusted-input surface, split into separate
subsystem passes, or take one wide pass with the dilution recorded in the
report. Breadth costs depth, and it costs it silently — a wide run returns a
different result rather than a shallower one, often reporting more findings
overall while missing a weakness a narrow pass over the same file finds
every time. Prefer several scoped runs to one repository-wide sweep.
Best used in a fresh session — consumes significant context./agentic-owasp [scope]
实验性功能——参数、输出路径和行为可能在任何版本中发生改变或被
撤回,包括补丁版本。
根据 OWASP Top 10:2025 对源代码执行多 Agent 安全审查。
它会读取代码。绝不启动应用,绝不向任何位置发送请求,绝不编写
漏洞利用代码,也绝不修复发现的问题。
输出:paad/security/owasp-<branch-or-scope>-<timestamp>-<sha>.md
paad/security/INDEX.md(最新运行位于顶部;本地临时区域,
无法在 git clean -x 后持续保留)
paad/security/<report-stem>-proofs/(如果你授权了证明阶段)
所有内容都位于 paad/security/ 下,该目录会忽略自身。
参数:
/agentic-owasp 审查整个代码库
/agentic-owasp src/api/ 将范围限定为某个路径或模块
/agentic-owasp --changed main 以相对 main 的差异为起点
/agentic-owasp --category A01 一个类别,或 A01,A05,A07
/agentic-owasp --deps 仅检查供应链:依赖、CI/CD
工作内容:
1. 侦察:首先检查框架默认值——ORM、模板引擎和中间件
决定哪些发现实际上成立
2. 映射攻击面:不可信来源、危险汇聚点,以及二者之间已经存在的
控制措施,每项都附带 path:line。随后,在启动专职 Agent 前,
提供可选的良性执行方案:只有在你明确同意后,专职 Agent 才能
运行只读的进程内探针——现有测试、反编译,或对普通输入调用
纯函数——以解决仅靠阅读无法确定的问题。绝不使用攻击载荷,
绝不启动服务器或访问网络,绝不执行写入;这与下面的证明阶段是
独立决策,并且默认关闭
3. 并行调度 7 个专职 Agent。其中 6 个覆盖全部十个类别,
没有剩余类别:
- 访问控制与身份验证 (A01、A07)
- 注入与不可信输入 (A05)
- 密码学与数据保护 (A04)
- 配置与供应链 (A02、A03)
- 设计、完整性与故障模式 (A06、A08、A10)
- 日志、告警与检测 (A09)
第七个 Agent 不负责任何类别,而是按机制进行查找:
- 机制与往返转换 (接缝处)
检查成对 API 之间的往返不对称,以及代码存储了两次、但控制措施
只读取其中一个副本的事实。它会将发现归入其影响所属的类别。
4. 可利用性门禁:一项发现必须指出攻击者可控的来源、从来源到
汇聚点的可追踪路径,以及现有控制措施为何无效。无法满足这些
条件的发现会变成加固建议或被拒绝。验证者的任务是反驳,
而不是确认;它通过枚举绕过控制的调用方来排除控制措施,
而不是只阅读控制措施所在位置,并且会在拒绝之前跨专职 Agent
组合信息——每个专职 Agent 都会将类别外观察报告为碎片,
以免跨越两个类别的弱点被双方遗漏
5. 可选证明阶段:当某个汇聚点可以在进程内到达时,提供为每项
发现编写独立脚本的选项。脚本会在弱点仍存在时以状态码 0 退出,
并按照严重程度顺序逐项处理,而不是挑选看起来最容易证明的一项。
始终会先询问并说明权衡;未经同意绝不执行。拒绝不会造成任何损失
——未证明的发现会保留其严重程度,并说明未证明的原因
6. 写入包含以下内容的报告:
- 覆盖全部十个类别的表格——明确注明“未评估”,绝不将其
冒充为安全
- 按 Critical / High / Medium 排序的发现,加固建议单独列出
- 标记依赖项发现为“已调用”或“存在但无法到达”
- 逐一列出汇集的所有碎片——path:line、专职 Agent 发现了什么、
最终归入何处——而不只是给出数量,以便会话结束后仍能区分
“发现后被舍弃的汇聚点”和“从未有人检查过的汇聚点”
- 已拒绝的候选项,并附上否定它们的正面证据,避免下次运行时
重复发现
- 修复顺序,该顺序不是按严重程度排列
实时凭据只会按位置和类型报告——绝不报告其值,并且报告中的首要事项
是轮换凭据。
没有哪份报告能够完整列出代码中的全部弱点,该 skill 会在每次运行
结束时说明这一点——还会说明为什么即使修复了发现,提交报告仍有风险:
Git 历史是永久的,报告会随着时间推移变成虚假的放行证明,而且这些
注意事项不会随严重程度表格一起传播。零项发现只意味着一名审查者在十个
类别中检查了一次,却无法证明存在可利用路径,并不代表代码安全。两次运行
会发现不同的问题,代码库越大,差距越大,因此应取两次结果的并集,
而不是比较差异。严重程度表示影响;某项发现是否实际执行过是独立字段,
绝不能因此降低其严重程度。
范围受代码库大小限制。超过约 40 个源文件后,该 skill 会停止并
提供选择:缩小到不可信输入界面、拆分为多个子系统审查,或进行一次
全面审查并在报告中记录稀释情况。广度会消耗深度,而且这种消耗是
无声的——全面审查返回的结果会不同,而不只是更浅,通常总体报告的
发现更多,却经常遗漏对同一文件进行窄范围审查时每次都能发现的问题。
优先执行多次有明确范围的审查,而不是一次覆盖整个代码库。
最好在全新会话中使用——会占用大量上下文。test-roadmap
test-roadmap
/test-roadmap
This skill writes tests and commits them, one commit per phase.
/fix-architecture also commits; /vibe and /backlog fix edit source
but leave the commit to you.
Builds a test suite that catches real regressions, in phases, across as
many sessions as it takes. One command on day 1 and on day 90.
Run it once to get a roadmap, then KEEP RUNNING IT — one phase of tests
per run — until it tells you the roadmap is finished. A 14-phase roadmap
takes 15 invocations. Running it once leaves you with a plan and no
tests.
Output: paad/test-roadmap/test-roadmap.md (the roadmap, and the memory)
paad/test-roadmap/test-roadmap-findings.md (suspected bugs, committed)
paad/security/test-roadmap-findings.md (security findings, never committed)
Tests, committed one phase per commit, on your working branch
Arguments:
/test-roadmap No arguments — the roadmap file decides the mode
Requirements:
- A git checkout (bug injection runs in a disposable git worktree)
- A working branch, not main/master/trunk — it offers to make one
What it does:
Routing is one check: does paad/test-roadmap/test-roadmap.md exist?
Absent → BUILD mode, five stages:
1. Detect — stack, test runner, and existing tests from manifests,
never from a hardcoded language list
2. Grade — fan-out subagents grade existing tests for weakness and
classify mocks (see the test-theater catalog)
3. Plan — phases, each naming the bug it would catch
4. Critique — a phase that cannot name its bug is coverage theater
and gets rewritten or dropped
5. Write — the roadmap, including the decisions you settled
Present → EXECUTE mode, one phase per run:
- Writes that phase's tests
- break-it-check: injects the very bug the phase claims to catch,
in a throwaway worktree, and confirms the test goes red
- Runs your whole suite, once normally and once under coverage;
will not call a phase done while the run is noisy
- Commits the phase and marks it done
- Ends by telling you where you are (Phase 8 of 14 — 7 done, 6 to
go) and to run it again, until no phases remain
Logs concrete bugs it finds along the way. It never fixes them.
Best used in a fresh session — consumes significant context./test-roadmap
该 skill 会编写测试并提交,每个阶段一个提交。
/fix-architecture 也会提交;/vibe 和 /backlog fix 会编辑源代码,
但把提交操作留给你。
分阶段构建能够捕获真实回归的测试套件,可跨任意数量的会话完成。
第 1 天运行一次,第 90 天再运行一次。
运行一次以获得路线图,然后持续运行它——每次运行完成一个测试阶段
——直到它告诉你路线图已经完成。14 个阶段的路线图需要调用 15 次。
只运行一次只会得到计划,而不会得到测试。
输出:paad/test-roadmap/test-roadmap.md(路线图和记忆)
paad/test-roadmap/test-roadmap-findings.md(疑似 Bug,纳入版本控制)
paad/security/test-roadmap-findings.md(安全发现,绝不提交)
在当前工作分支上提交测试,每个阶段一个提交
参数:
/test-roadmap 无参数——由路线图文件决定模式
要求:
- Git checkout(Bug 注入测试在一次性 Git worktree 中运行)
- 一个工作分支,不能是 main/master/trunk——它会询问是否创建
工作内容:
路由只需一次检查:paad/test-roadmap/test-roadmap.md 是否存在?
不存在 -> BUILD 模式,共五个阶段:
1. Detect —— 根据清单检测技术栈、测试运行器和现有测试,
绝不依赖硬编码的语言列表
2. Grade —— 扇出 subagent,评估现有测试的薄弱程度并
对 mock 进行分类(参见 test-theater 目录)
3. Plan —— 规划各个阶段,并明确每个阶段能够捕获的 Bug
4. Critique —— 无法指出所捕获 Bug 的阶段属于覆盖率表演,
必须重写或删除
5. Write —— 编写路线图,包括已经确定的各项决策
已存在 -> EXECUTE 模式,每次运行完成一个阶段:
- 编写该阶段的测试
- break-it-check:在一次性 worktree 中注入该阶段声称能够
捕获的 Bug,并确认测试变为失败
- 完整运行测试套件一次常规模式、一次覆盖率模式;
只要运行结果嘈杂,就不会将阶段标记为完成
- 提交该阶段并标记为已完成
- 最后说明当前进度(第 14 个阶段中的第 8 个——已完成 7 个,
还剩 6 个),并要求再次运行,直到没有剩余阶段
沿途记录发现的具体 Bug。它绝不修复这些 Bug。
最好在全新会话中使用——会占用大量上下文。handoff
handoff
/handoff [save|resume]
Writes a handoff.md that lets a FRESH session continue this one's
work, and reads it back on the other side.
Output: handoff.md in the working directory. Suggests you gitignore it.
Arguments:
/handoff Infer: history above → save, empty session → resume
/handoff save Write a handoff regardless
/handoff resume Read the existing handoff regardless
Why not just /compact:
/compact summarizes and keeps working — same session, and the
summary is machine-written, unreviewed, and buried in
the transcript where you cannot edit it
--resume restores the whole prior conversation, re-paying the
context cost you were escaping
/clear genuinely fresh, carries nothing forward
handoff a file a human reads and corrects BEFORE anything is
built on it
That review is the only thing it adds. A handoff nobody reads is a
worse /compact.
Saving:
1. Checks .gitignore for handoff.md and suggests adding it —
never edits .gitignore itself
2. Verifies with tools what agents get wrong from memory:
commit and branch, what is really IN the last commit (not what
its message claims), file paths, line numbers, test names,
whether the suite passes. Unsettleable claims are marked
inferred, not asserted
3. Writes the file: goal and what done looks like, decisions and
why, approaches ruled out and how far they got, constraints the
user stated, the next step, the verify command
NOT: architecture tours, session narrative, anything git diff
already shows — padding makes the file too long to review
4. Names the two or three claims it is least sure of, instead of a
generic "review this, AI makes mistakes"
Resuming:
1. Reads handoff.md, summarizes it in a few lines
2. Compares the recorded commit against HEAD and reports drift
3. Asks before proceeding
4. Confirms the files and state it names still exist, reports every
mismatch, asks again
5. Then starts the recorded next step
Never deletes handoff.md — it is untracked, so git cannot restore
it. The next save overwrites it./handoff [save|resume]
写入 handoff.md,让全新会话能够继续当前会话的工作,并在另一端读回该文件。
输出:当前工作目录中的 handoff.md。建议将其加入 .gitignore。
参数:
/handoff 自动判断:上方有历史记录 -> save;空会话 -> resume
/handoff save 无论状态如何都写入 handoff
/handoff resume 无论状态如何都读取现有 handoff
为什么不直接使用 /compact:
/compact 汇总内容并继续工作——仍在同一会话中,而且该
摘要由机器生成、未经审查,并埋在无法编辑的
对话记录中
--resume 恢复整个之前的对话,需要再次支付原本想避开的
上下文成本
/clear 开启真正全新的会话,不继承任何内容
handoff 一个供人在构建任何内容之前阅读并纠正的
文件
人工审查是它唯一额外增加的价值。没人阅读的 handoff 比
/compact 更糟糕。
保存:
1. 检查 .gitignore 中是否包含 handoff.md,并建议将其加入——
绝不自行编辑 .gitignore
2. 使用工具核验 Agent 仅凭记忆容易弄错的信息:
提交和分支、最后一次提交中实际包含的内容(而不是提交消息
所声称的内容)、文件路径、行号、测试名称,以及测试套件是否
通过。无法确定的信息会标记为推断,而不是断言
3. 写入文件:目标及完成标准、决策及其原因、已排除的方案及其
推进程度、用户声明的约束、下一步以及验证命令。
不包括:架构导览、会话叙事,以及 Git diff 已经展示的任何内容
——这些填充内容会使文件过长,难以审查
4. 明确指出自己最不确定的两三项声明,而不是泛泛地说
“请审查,AI 会犯错”
恢复:
1. 读取 handoff.md,并用几行内容进行汇总
2. 将记录的提交与 HEAD 比较,并报告偏移
3. 继续之前先询问
4. 确认其中提到的文件和状态仍然存在,报告每处不匹配,并再次询问
5. 然后开始执行记录的下一步
绝不删除 handoff.md——它是未跟踪文件,因此 Git 无法恢复它。
下一次保存会覆盖它。