.cursor/skills/audit-skills/audit-principal/SKILL.md
Principal Engineer audit covering architecture, code quality, React/Next.js patterns, and tech debt. Use for senior-level maintainability reviews.
npx skillsauth add blackgirlbytes/team-starter-repo audit-principalInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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:
development
Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI. Provides project context, component docs, and usage examples. Applies when working with shadcn/ui, component registries, presets, --preset codes, or any project with a components.json file. Also triggers for "shadcn init", "create an app with --preset", or "switch to --preset".
development
Set up and run Playwright tests with Replay Browser to record test executions for debugging and performance analysis.
tools
Use Replay MCP to inspect the contents of https://replay.io recordings.
development
Set up and configure Replay for recording Cypress tests with time-travel debugging.