name: local-ci description: Run CI checks locally and auto-fix issues. Use when the user wants to run CI, check code quality, verify before pushing, fix lint/format errors, or mentions "CI", "lint", "fmt", "check", "test".
Local CI
Workflow
- Run all checks sequentially, capturing each result:
deno task fmt:check
deno task lint
deno task check
deno task test
- Report results in a table:
| Check | Status |
|---|---|
| fmt:check | pass/fail |
| lint | pass/fail |
| check | pass/fail |
| test | pass/fail |
- If any check fails, attempt auto-fix:
fmt failures: Run deno task fmt to auto-format, then re-run
deno task fmt:check.
lint failures: Read the error output, identify the lint rule, and fix the
code. Re-run deno task lint.
check failures: Read type errors and fix. Re-run deno task check.
test failures: Read failing test output, fix the code or test, and re-run
deno task test.
- After all fixes, re-run the full check suite to confirm everything passes.