1.2 KiB
1.2 KiB
id, title, workspaceRoot, schedule, tools, mode, enabled, modelSelection, timeoutSeconds, maxIterations, tags, metadata
| id | title | workspaceRoot | schedule | tools | mode | enabled | modelSelection | timeoutSeconds | maxIterations | tags | metadata | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| code-style-audit | Code Style and Linting Audit | /absolute/path/to/repo | 0 3 * * WED | run_commands,read_files | act | false |
|
1800 | 20 |
|
|
Run comprehensive code style and linting checks:
- Run ESLint:
npm run lintoreslint . - Run Prettier check:
prettier --check .or equivalent - Check for common issues:
- Unused variables or imports
- Dead code
- TODO/FIXME comments left in main branch
- Console.log statements in production code
- Magic numbers without explanation
Generate a report showing:
- Linting violations by rule (top 10)
- Files with most violations
- Formatting inconsistencies
- Pattern analysis (e.g., common TODO reasons, unused import patterns)
Provide statistics:
- Total violations found
- Fixable vs non-fixable violations
- Trend compared to previous week (if data exists)
Recommendations:
- Quick wins: violations that can be auto-fixed
- Standards improvements: patterns to establish
- Review-needed: complex issues requiring human judgment