一键导入
review
Review code against CLAUDE.md standards with focus on config separation, BigInt precision, and strategy patterns.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Review code against CLAUDE.md standards with focus on config separation, BigInt precision, and strategy patterns.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | review |
| description | Review code against CLAUDE.md standards with focus on config separation, BigInt precision, and strategy patterns. |
Review code changes against the root CLAUDE.md standards.
/review # Review changed files (default)
/review <path> # Review specific file or directory
Read the root CLAUDE.md to understand the code standards.
Run:
git diff --name-only origin/main...HEAD
Filter to .ts files, exclude node_modules, dist, and generated files.
For a specific path: review only files under the provided path.
For each file, check for violations of CLAUDE.md standards. Focus areas:
Config Separation (CRITICAL):
utils/maths.ts) must NOT import from configprocess.env or dotenvBigInt Precision:
number type for on-chain values (amounts, shares, caps)10 ** n — use parseUnits/formatUnits or percentToWadMulti-Chain Safety:
Strategy Patterns:
Strategy interfaceStrategyName union type in configviem Usage:
Address, Hex, Chain) consistentlyviem/actions for chain interactionsError Handling:
For each issue found:
[PRIORITY] TITLE
Standard: SECTION > RULE
FILE:LINE
DESCRIPTION
Where:
If no violations found:
No issues found (reviewed N files)