一键导入
review-changes
Analysis of unstaged changes for dangerous application logic modifications (Safety Gatekeeper)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Analysis of unstaged changes for dangerous application logic modifications (Safety Gatekeeper)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Spin up an isolated, fully-featured Syngrisi demo instance and seed it with a feature tour built from REAL test-app fixtures. Use when the user wants a runnable demo/sandbox to look at the UI, show off features (visual diffs, match types, ignore regions, AI Triage & auto-accept, RCA DOM diff, cross-browser, branches), or reproduce a flow with realistic data. Features are grouped by run name so the runs list reads as a tour.
React performance optimization patterns using memoization, code splitting, and efficient rendering strategies. Use when optimizing slow React applications, reducing bundle size, or improving user experience with large datasets.
Browser automation, manual UI debugging, and feature reproduction for Syngrisi via the test-engine CLI. Use this whenever the user wants to walk a browser flow step by step, run a headed UI check, reproduce an E2E scenario from feature files, debug MCP/Test Engine behavior, inspect available BDD steps, or execute a Syngrisi browser workflow without talking to raw JSON-RPC.
Interactive Syngrisi MCP test-engine wrapper for guided debugging, step execution, and debug-session attachment
| name | review-changes |
| description | Analysis of unstaged changes for dangerous application logic modifications (Safety Gatekeeper) |
This skill is designed to identify dangerous code changes that could violate the application's business logic. It is especially useful after automated test fixes by an AI agent.
Run the command to get unstaged changes:
git diff
Or for staged changes:
git diff --staged
Switch to the role of Senior Code Reviewer / Safety Gatekeeper.
Analyze the obtained diff according to the following criteria:
Relaxing Constraints
if conditionsthrow statements for errorsLogic Alteration
Contract Breaking
Hardcoding
Cheating Fixes
test/, spec/, __tests__/, e2e/ directories — these are test filesYour goal is to provide a report that can be read in 10 seconds. Use tables and Emoji Scores.
At the very beginning, display the overall status and safety "traffic light":
Group changes into a table. No fluff, just facts.
| 📄 File | 📊 Risk | ⚠️ Type | 🔍 Change Essence & Risk |
|---|---|---|---|
auth.ts | 🔴 High | Logic | ❌ Token check removed. 🛑 Anyone can login without password. |
utils.js | 🟡 Med | Refactor | 🔧 formatDate signature changed.⚠️ Check all function calls. |
config.json | 🟢 Low | Config | 📝 New flag added. ✅ Safe. |
Brief list of actions (if there are issues):
auth.ts (line 45)utils.jsFinish the report with one of the status commands:
> ✅ STATUS: SAFE (Ready to merge)> ⚠️ STATUS: WARN (Requires careful review)> 🛑 STATUS: BLOCK (Unacceptable changes, fix needed)User writes:
/review-changes
or
Check unstaged changes for dangerous logic changes
The Agent must:
git diff"Does this change fix a legitimate bug, or does it redefine how the feature works?"
If the answer is "redefines how the feature works" — it is a BLOCK.