Imported from sjaiman93/jobboardsreview (
.agy/skills/jbr-code-auditor/SKILL.md). Install upstream withnpx skills add sjaiman93/jobboardsreview --skill jbr-code-auditor. Copyright stays with the author.
JBR Code Auditor Skill
This skill is used to ensure the JobBoardsReview codebase is perfectly optimized, secure, and clean before pushing to production.
Prerequisites
This skill runs locally using Node.js and NPX. It requires no external API keys.
Workflow
When the user asks to "audit the code" or "run a code review":
-
Run Security Audit: Execute
npm auditto check for CVEs and vulnerability reports in third-party dependencies. -
Run React/Next.js Linter: Execute
npm run lintto catch React anti-patterns, missing dependencies inuseEffect, and accessibility issues. -
Run Dead Code Scanner (Knip): Execute
npx knip@latestto find unused files, unreferenced exports, and unused NPM dependencies. -
AI Analysis: The agent must read the outputs of all three tools, synthesize the warnings, and present a prioritized "Code Review Report" to the user, suggesting exact fixes for the most critical issues.