一键导入
code-review
Review code changes for correctness, consistency, performance, accessibility, and adherence to repo conventions.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Review code changes for correctness, consistency, performance, accessibility, and adherence to repo conventions.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Migrate from Next.js 15 to Next.js 16 and handle breaking changes
Configure Content Security Policy and security headers for the portfolio
Deploy Next.js to Cloudflare Workers using OpenNext adapter
Manage the canary token honeypot system for detecting security scanning
Write, debug, and optimize GROQ queries for Sanity CMS in this portfolio
Advanced TypeScript patterns and type safety as used in this portfolio
基于 SOC 职业分类
| name | code-review |
| description | Review code changes for correctness, consistency, performance, accessibility, and adherence to repo conventions. |
Performs systematic code review across the portfolio, covering TypeScript correctness, React best practices, accessibility, performance, styling consistency, and security.
TypeScript correctness — Verify strict mode passes (npx tsc --noEmit). No any types unless explicitly justified. Proper generics and type narrowing.
React best practices — Components are properly structured. No missing key props in lists. No useState where derived state suffices. No useEffect for derived state. Hooks follow rules of hooks.
Accessibility — See accessibility-audit skill. All interactive elements are keyboard-operable. Proper ARIA attributes. Semantic HTML.
Performance — See performance-optimization skill. No unnecessary re-renders. Proper memoization. Optimized images and fonts.
Styling — Follows Tailwind conventions. Uses project theme tokens. Responsive design verified. Dark/light mode handled.
Security — No XSS vectors (sanitized user input). No exposed secrets in client code. Proper CSP headers. Sandbox attribute on iframes.
Testing — New features include tests. Existing tests not broken. Run npm run test -- --run.
Quality gates — Run npm run lint, npx tsc --noEmit, npm run doctor.
only-export-components pattern