Agent skill Review & testing
Audit
Review an existing web interface and identify concrete refinements.
Install the skill
Run the command from your project root with Node.js and npm.
npx skills@latest add raphaelsalaja/skills --skill audit --agent claude-code --yesCheck this file in your project.claude/skills/audit/SKILL.md
Other ways to install
Choose an assistant interactively
npx skills@latest add raphaelsalaja/skills --skill auditSelect your assistant and choose the project installation scope.
Official instructions
The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. A local Git checkout, a review scope or base ref, Node.js, and a running route for browser findings.
View operation manualWhat this skill helps with
- Review an existing web interface and identify concrete refinements.
Good for
- Visual quality review
- Publisher
- Raphael Salaja
- Shipped tools or recipes
- system.mjs, scan.mjs, report.html, report.md, plan.md
- Result
- A numbered report with evidence, coverage, and findings grouped by cause.
- Skill name
audit- Repository
raphaelsalaja/skills
Common pitfall
Avoid this prompt
Turn every scan hit into a finding and block the change.
Pattern matches can have valid exceptions, and existing issues need to be separated from the changes under review.
Use these steps
- Record the diff, read changed files and project rules, and inventory the project system.
- Run the scoped scan, open each candidate, and review the skills required by the change.
- Group issues by cause and open the installed HTML report with matching evidence.
Hands-on walkthrough
Inspect the change in context, use the shipped scanners to find candidates, and deliver one ranked report.
Inspect the change in context, use the shipped scanners to find candidates, and deliver one ranked report.
Set the review scope
Record the diff, read changed files and project rules, and inventory the project system.
Prompt · Step 1Use the Audit skill on [base ref or named diff]. List the changed files and read each one in full with the repository rules. Resolve AUDIT_DIR to the directory of the loaded skill. From the reviewed repo root, run node "$AUDIT_DIR/system.mjs" with no path to record its current tokens, breakpoints, and motion conventions.Confirm candidates and coverage
Run the scoped scan, open each candidate, and review the skills required by the change.
Prompt · Step 2From the repository root, run node "$AUDIT_DIR/scan.mjs" --repo . followed by the quoted changed file paths. Open every candidate at its cited line, compare with the existing project rules, and run the check for each applicable skill from the Audit scope table. If a route is affected, open the running result and reproduce any browser finding. Record checks, skips, and missing evidence.Deliver the ranked report
Group issues by cause and open the installed HTML report with matching evidence.
- Candidate findings are confirmed in source or in the running page.
- Report numbering, coverage, and verdict match confirmed issues introduced by the change.
Prompt · Step 3Merge duplicates by root cause. Mark pre-existing findings as Existing and keep them out of the verdict. Copy the installed report.html into .audit/<scope>/index.html in a local ignored folder, fill report.js using its window.audit schema, and open the report. Check finding numbers, locations, severity, evidence, and coverage. Return the report for selection before implementing fixes.
Workflow lookup
Find the local files and calls used in the walkthrough.
Read system conventionsIncluded
- Command or reference
node "$AUDIT_DIR/system.mjs"- Examples
- Run from the repository root to include system files outside the diff.
Scan changed filesIncluded
- Command or reference
node "$AUDIT_DIR/scan.mjs" --repo . <files>- Examples
- Pass explicit paths to keep line checks scoped to the reviewed files.
FAQ
What if the scan reports no candidates?
Continue with the skills triggered by the scope. The scanner catches selected patterns, while source reading and browser checks provide evidence about the changed behavior.
Where are the installed files?
Open the project skill directory reported by the installer. The files referenced by this walkthrough sit alongside the skill’s SKILL.md.