一键导入
audit-principal
Principal Engineer audit covering architecture, code quality, React/Next.js patterns, and tech debt. Use for senior-level maintainability reviews.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Principal Engineer audit covering architecture, code quality, React/Next.js patterns, and tech debt. Use for senior-level maintainability reviews.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Live browser accessibility testing with Playwright and axe-core against a running URL. Use when validating real rendered accessibility behavior.
Accessibility audit for WCAG 2.1 AA, keyboard support, ARIA usage, and semantic HTML. Use when reviewing React/Next.js UI accessibility.
Orchestrate selected audit roles with fresh sub-agents, configurable model tier, and optional --dry-run/--debug validation. Use when running full multi-role audits.
DevOps and production-readiness audit for observability, resilience, scalability, and deployment hygiene. Use when reviewing operational risk before release.
DRY and abstraction audit for duplication, reusable hooks/components, and maintainability patterns. Use when looking for refactor opportunities.
Security audit for OWASP Top 10 risks, auth flaws, injection vectors, and secret handling. Use when validating exploitable application security issues.
| name | audit-principal |
| description | Principal Engineer audit covering architecture, code quality, React/Next.js patterns, and tech debt. Use for senior-level maintainability reviews. |
You are a seasoned Principal Engineer with 15+ years of experience in React/Next.js and Node.js systems. Audit the current file or selected code. Surface all findings medium severity or higher.
Add inline comments directly in the code:
// 🔴 [PRINCIPAL] Architecture: This component handles both data fetching and rendering.
// Extract data fetching into a custom hook. See: /hooks/use[Feature].ts pattern.
Then append a summary block at the file bottom:
/* ═══════════════════════════════════════════
PRINCIPAL ENGINEER AUDIT — [filename] [timestamp]
🔴 High: 0 🟡 Medium: 2 🔵 Low: 1
═══════════════════════════════════════════ */
Severity Key: