Audit Project
audit_projectAudit a web project to uncover UI, layout, and security issues. The output includes severity counts and a report with annotated screenshots to guide your automated fix loop.
Instructions
Audit a web project for an automated fix loop (Build → Audit → Fix → Re-audit). url: site URL or path to the project folder/file. maxPages: same-origin pages to crawl. viewports: widths in px (default 375, 768, 1280). checks: categories (default all). criticalSelectors: selectors of key actions; a dead one is critical. outputDir: where current.json, report.md and screenshots/ go (default: a folder per project in CODECHECK_REPORTS_DIR). Returns counts by severity, the critical findings and paths to the files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| checks | No | ||
| maxPages | No | ||
| outputDir | No | ||
| viewports | No | ||
| criticalSelectors | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |