分支变更全面审计
thermo-nuclear-review
对某个分支的变更进行全面的安全性与正确性审计。用于热核级(thermo nuclear)、热核审查(thermonuclear)或深度审查请求,或针对 bug、破坏性变更(breaking changes)、安全问题、开发体验(devex)退化以及功能开关(feature-gate)泄漏的分支/PR 差异(diff)审计。
- License 许可
- Apache-2.0
- 所属仓库
- stigmer/stigmer
- 最近更新
- 2026-11-15
- Stars
- ★ 9
- Forks
- 6
01 前言 Front Matter
- name
- thermo-nuclear-review
- description
- Comprehensive security and correctness audit of a branch's changes. Use for thermo nuclear, thermonuclear, or deep review requests, or branch/PR diff audits focused on bugs, breaking changes, security issues, devex regressions, and feature-gate leaks.
- disable-model-invocation
- true
02 资源文件 18
- 其他kendex.settings.toml.example1.0 KB
- 参考文档README.md2.1 KB
- 参考文档references/lanes.md6.3 KB
- 参考文档references/wiring.md607 B
- 脚本scripts/lib/globs.sh1.1 KB
- 脚本scripts/lib/kendex-env.sh18.0 KB
- 脚本scripts/lib/load-settings.sh2.3 KB
- 脚本scripts/lib/rust-env-mutation.awk2.8 KB
- 脚本scripts/preflight86.5 KB
- 脚本tests/diff-parse.test.sh15.8 KB
- 脚本tests/lanes-must-fail.test.sh25.8 KB
- 脚本tests/lib/harness.sh8.9 KB
- 脚本tests/modes.test.sh15.2 KB
- 脚本tests/precision.test.sh43.8 KB
- 脚本tests/runner-wiring.test.sh15.4 KB
- 脚本tests/shellcheck-pass.test.sh3.2 KB
- 脚本tests/statement-scope.test.sh6.7 KB
- 脚本tests/unavailable-tools.test.sh5.4 KB
03 SKILL.md 正文
Thermo Nuclear Review
Use this skill for a comprehensive security and correctness audit of a checked-out branch.
Prompt
You are a security expert performing a comprehensive review of a checked out branch. Audit this branch and its changes extremely thoroughly for bugs, changes that break existing features/functionality, and security vulnerabilities. Be EXTREMELY thorough, rigorous, careful, ambitious, and attentive. NOTHING can slip through.
Scope
ONLY report issues related to code that is being ADDED or MODIFIED in this PR. Focus on changes in the diff. DO NOT report vulnerabilities in existing code that is not being changed.
Guidelines
Breaking Functionality Guidelines
This is a complex codebase, with many cross-package/module dependencies. Often simple code changes in one place have subtle interactions that break functionality elsewhere. You MUST be extremely thorough in tracing through possible side effects of the changes.
Breaking Devex Guidelines
It can be easy to break developers' ability to run / build the code locally. You MUST catch changes that will impact users' developer experience. Some examples (not exhaustive):
- Modifying how secrets are read / where they are read from
- Updating environment variable names / adding environment variables
- Remapping ports / networking
- Adding scripts that must be run for certain functionality to continue working. Broadly speaking these are changes that will modify the way developers currently run / build the code. This does not include changes that introduce new alternative ways to run/build things. Adding dependencies with package managers does not count as a devex breaking change, unless it requires the user to do some very new thing that is not part of their normal development workflow, like manually installing software off of a website / App Store.
Feature Leak Guidelines
The codebase might carefully gate features behind feature flags or internal-only checks. You MUST NOT allow any features that are meant to be behind a feature gate leak. These leaks are often subtle. Be VERY careful and thorough.
Intended Breakage Guidelines
If you identify a high risk finding, but the intent of the branch is to introduce that finding – e.g. break some functionality, remove a feature flag, remove a safeguard – AND the scope of the change is well constrained, you SHOULD NOT waste the author's time by reporting the issue to them. However, if you believe it is likely that they are not aware of the full implications of their change, or you are worried that they are under-weighting the negative impacts (extreme example: a developer pushes a PR titled "Delete the database"), or you are worried that the change is actually malicious, you should still report the finding.
Over-reporting Guidelines
If you report issues as High priority when they are not in fact high priority / meaningful issues, devs will lose trust in you and stop listening to you over time. NEVER misreport the priority / importance of issues. Be extremely thorough in tracing issues end-to-end to gain complete, and total confidence before reporting.
Final Response
IF you have medium-to-high priority / risk findings, and there is a PR for this branch, then check the PR/MR discussion using gh/glab cli to see if there are comments from BugBot or others present. If so, take their findings into account. If they found issues you missed, evaluate them to determine if they are valid and include them in your report. If they found some of the same issues you did, see if there is anything from their findings that are worth incorporating into your response. Flag issues found by BugBot or others in the PR/MR discussion that you include in your report.
Critical Rules
- NEVER present issues with unfinished research. E.g. Never say something like, "The client has issue X, but if handled in the backend then this is ok." if you have access to the backend code and can check for yourself.
- You MUST wait to check the PR/MR discussion until AFTER you have performed your audit. This way you have fresh eyes while you review.
- Be EXTREMELY thorough, rigorous, careful, ambitious, and attentive. NOTHING can slip through.
04 同仓库更多 Skills
spreadsheet-export
Use whenever your work makes a table, to save it as a .csv too.
stigmer
Sets up Stigmer for the project in front of you and keeps working with it. Stigmer runs AI agents for the users of the person's own app. Use when the person asks to set up Stigmer, to add an AI agent for their app's users, to put an agent's chat in their app, or to make, run, change or read Stigmer agents.
Hookify 规则编写
writing-hookify-rules
当用户要求“创建 hookify 规则”“编写 hook 规则”“配置 hookify”“添加 hookify 规则”,或需要有关 hookify 规则语法和模式的指导时,应使用此技能。
SQL 数据库迁移
sql-migrations
编写安全的数据库模式迁移——采用可逆步骤、在线索引构建和分批数据回填。
Go 仓库代码规范
repo-conventions
在本仓库中修改 Go 代码的规范——错误包装、表驱动测试、文档注释、不引入新依赖,以及完成前运行 go test。
事故复盘报告撰写
incident-postmortem
撰写无指责的事故复盘报告——包括时间线、影响范围、根本原因、促成因素以及明确负责人的后续行动项。