audit
無料Audit the repository or a broad subsystem for security, correctness, and maintainability risks. Use for audit requests or /audit; use review for a specific change and vuln-check for a security-only assessment.
日本語の概要は準備中です。原文の説明を表示しています。
Review or de-slop concrete changes in ccch1mneyyy/dsh-TUI at maintainer level: PR numbers or URLs, branches, commit ranges, patch files, staged or unstaged worktrees, and scoped repository-hygiene requests. Use for evidence-first correctness, contract, repository-rule, process, and behavior-preserving cleanup review, including debug residue, dead or duplicate code, speculative abstractions, stale comments or tests, and unrelated diff churn. Do not use for abstract designs with no concrete repository artifact; use audit for repository-wide assessments and vuln-check for security-only checks.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
按规则 → 独立取证 → 叙事对账 → 验证 → 裁决工作。文件引用一律仓库根相对或技能根相对,部署环境到仓库根的映射由调用方解析;不得跳过脚本或伪称运行。
pnpm test、pnpm lint 或泛化的 npm test。每阶段记账,未闭环不得交付结论。gh pr view 必须显式选 JSON 字段,禁止裸跑。trusted-maintainer、trusted-local 或 untrusted-fork,供阶段 5 执行门使用。node .agents/skills/review/scripts/contract-snapshot.mjs --repo . --compare <latest-base-sha> <head-sha>;输出只作索引,仍解释语义;不可用则逐 git 对象对照同一真源。
账本:模式、范围、base/head SHA、merge-base、信任级别、契约差异表、缺失材料。细读 diff 前全文读目标分支的 AGENTS.md、ADAPTER.md、docs/contributing.md,以及改动目录更近的规则、README、协议/治理文档;CLAUDE.md 只核对仍指向首个规则真源。按需加载:
在 PR 叙事前:读每个改动文件完整上下文(仅 patch 须声明视野);映射生产者 → 消费者 → 持久化 → 协议镜像 → 文档 → 验证判定器,新增/删除/重命名/收紧同等检查。
此时才读 PR 正文、关联 issue、评论、历史 review:每条声称标已验真/已证伪/未验证,附精确出处与当前 head 证据;引语逐字核对,缺原句须明写“该句不在来源中”,不得近似补引。
逐轴给出适用/不适用及证据,不只报整洁项;各轴细则见阶段 1 对应参考:
trusted-maintainer / trusted-local 的适用、安全且环境具备检查必须实跑;untrusted-fork 默认仅静态,执行条件以验证映射“不可信 fork 执行门”为唯一真源。记录命令、退出码、SHA、输出摘要。未明确要求修改则跳过并记“只读”;本节是清理操作唯一编排真源,熵参考与验证映射只引用:
固定结构、Verdict、finding 字段/排序、零发现要求与禁止章节,唯一真源为 references/report-contract.md。阶段 0–6 每条分歧、失败、确认事实须归入 finding、澄清问题或附证据的不适用结论,不得静默消失。 账本:报告 SHA、findings/问题/不适用计数、覆盖面、验证表、Merge Conditions。
仅发用户明确选定条目;同 PR 复审仅报新增或未解决实质问题,不重复已发布且仍有效评论。 账本:选定条目、目标线程、已发布/未发布/被否决项。
| 借口 | 处理 |
|---|---|
| “diff 未改契约文件” | 对照最新目标分支与 head,旧 merge-base 会藏回退。 |
| “扫描器 HIGH 可直接删” | 候选非 finding,先证删除安全并验行为。 |
| “像 AI 写的” | 不猜来源,只报可观察机制/影响。 |
| “单调用者所以多余” | 不足为证;查边界、所有权、替换点和测试隔离接口。 |
| “CI/机器会抓” | 查当前 head 结果及断言强度,类别覆盖不免责。 |
| “只是 import type/注释/测试” | 仍审边界、叙事、假绿及执行路径影响。 |
| “跑不了,静态不可证” | 继续文件、清单及调用链对照。 |
| “时间紧先列 nits” | 只压措辞,不压契约对照、机制、定位、验证。 |
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Audit the repository or a broad subsystem for security, correctness, and maintainability risks. Use for audit requests or /audit; use review for a specific change and vuln-check for a security-only assessment.
日本語の概要は準備中です。原文の説明を表示しています。
Turn a reported defect into an actionable bug report or issue draft. Use when the user asks to capture or document a bug; a request to fix broken behavior should proceed to diagnosis and repair.
日本語の概要は準備中です。原文の説明を表示しています。
Use when the user asks about dsh-tui itself (usage, shortcuts, config, themes, migration, VS Code). Load before answering; skip for normal coding tasks.
日本語の概要は準備中です。原文の説明を表示しています。
Open or update a pull request in this repository, including writing or rewriting its description. Use for every PR you create or edit here, and for /pr.
日本語の概要は準備中です。原文の説明を表示しています。
Read and triage existing pull request review comments, or address them when requested. Use for PR comment requests or /pr-comments; use review to inspect code without existing reviewer feedback.
日本語の概要は準備中です。原文の説明を表示しています。
Guide a programming exercise using dsh-tui or a topic the user wants to learn. Use for practice and coaching requests, rather than requests to deliver a product change.
日本語の概要は準備中です。原文の説明を表示しています。