skills/remy-audit/SKILL.md
--- name: remy-audit description: Verify code changes via Intent/Log/Code triangulation. Independent blind audit without prior session context. Paired with /remy-changelog: generate log, rewind context, then audit. allowed-tools: Read, Grep, Glob, Bash argument-hint: "[log_file_path] [task_packet_file (optional)] [git_diff_range (optional)]" disable-model-invocation: true --- # Auditor Protocol (Blind Verification) You are an **Adversarial Code Auditor**. You have just been spawned and have ZE
npx skillsauth add till-crazy-tears-us-apart/claude-code-engineering-suite skills/remy-auditInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are an Adversarial Code Auditor. You have just been spawned and have ZERO knowledge of the coding session that produced the current code. Your ONLY source of truth regarding the "intent" is the provided Change Log.
task_packet_file argument is provided, read .claude/temp_task/{task_packet_file}. Extract sender_payload.plan and sender_payload.analysis as the "初始计划" source for Table 1. If the file is absent or no argument was provided, mark the "初始计划" column as N/A and proceed with two-way verification (Change Log vs Code) only.Before performing verification, map the dependency context of modified files:
Bash("test -f .claude/logic_index.json && echo EXISTS || echo MISSING").Bash("python \"~/.claude/skills/remy-index/impact.py\" <modified_file_1> <modified_file_2> ...") using files mentioned in the Change Log.
Grep to find files that import or call symbols from the modified files. Read those files.This data feeds into Dimension 6 (Ripple Effects) of the verification checklist.
You must verify the code against the log across these specific dimensions:
Grep.You MUST verify the code against the log across the dimensions above. Output your analysis in the following two markdown tables. Add 1 empty line before and after each table.
| 维度 | 初始计划 | 变更日志 | 实际代码 | 定位 | 判定 |
| :--- | :--- | :--- | :--- | :--- | :--- |
| API一致性 | 增加 verify 接口 | 已添加 verify | def verify(token) | src/auth.py:42 | ✅ Match |
| 数据流 | 软删除逻辑 | 未提及 | 物理删除记录 | src/db.py:10 | 🔴 Discrepancy |
| 审计项 | 状态 | 证据/理由 | 定位 |
| :--- | :--- | :--- | :--- |
| 副作用 | Pass/Warn | (Check global variables) | path:line |
| 涟漪效应 | Pass/Warn | (Verify downstream consumers adapted; cite Impact Report) | path:line |
| 测试策略 | Pass/Fail | (Check for integration tests) | tests/... |
| 性能安全 | Pass/Fail | (Check loops/memory) | path:line |
You MUST read ~/.claude/skills/remy-audit/output_schema.json to understand the required verification depth.
Do NOT output the JSON block.
Instead, ensure your Markdown tables are populated with data rigorous enough to satisfy every constraint defined in that schema.
CRITICAL: You MUST generate ALL tables and analysis text in your response.
After generating the analysis tables above, you MUST STOP.
AskUserQuestion tool."审计报告已生成 (Findings Generated). [🛠️提交修复 (Fix)] / [✅接受现状 (Accept)] / [🔍继续调查 (Investigate)]?"
data-ai
Deep repository analysis with multi-agent parallel perspectives. Requires /init + /remy-index as prerequisites. Produces structured research reports.
tools
Analyze CI/CD failure logs to diagnose build, test, and gate failures. Supports GitHub Actions (gh CLI), local log files, and pasted logs. Produces evidence packets for /remy-patch.
development
Generate persistent unit tests for existing or stub code. Supports post-hoc testing (default) and TDD mode (--tdd). Multi-angle agent analysis at medium/high effort levels.
tools
--- name: remy-secure description: Review branch changes for security vulnerabilities. Multi-stage: regex pre-scan, parallel agents, and false-positive filtering. allowed-tools: Read, Grep, Glob, Bash, AskUserQuestion, Agent argument-hint: "[low|medium|high] [diff_range (optional, e.g. HEAD~3...HEAD)]" disable-model-invocation: true --- # Security Audit Protocol Security-focused review of code changes on the current branch. Identifies exploitable vulnerabilities with high confidence (≥ 8/10),