run-check
รัน lint, typecheck และ scan เพื่อตรวจสอบคุณภาพ
SKILL.mdrun-check/SKILL.md
GitHubGoal
Run lint, typecheck and scan to verify quality
Scope
Use run-check for tasks and workflows within its coverage (check)
Execute
Pre-Run: Always run
/deep-reviewfirst —run-*requires review/assessment before the main action, never skip; if findings are blockers, fix or report them before running (check)
1. Run Lint
Goal: Run Lint
- Run
/run-lintto check code style - Fix lint errors if any
- Confirm lint passes
2. Run Typecheck
Goal: Run Typecheck
- Run
/run-typecheckto check types - Fix type errors if any
- Confirm typecheck passes
3. Run Scan
Goal: Run Scan
- Run
/run-scanto check code patterns - Fix scan issues if any
- Confirm scan passes
Rules
1. Check Order
- Lint: check code style first
- Typecheck: check types
- Scan: check code patterns
2. Failure Handling
- Lint fails: fix lint errors
- Typecheck fails: fix type errors
- Scan fails: fix scan issues
3. Parallel Execution
Run lint, typecheck and scan in parallel when possible
Use cache to speed things up
Run checks in the CI environment
Use /deep-optimize if needed
Expected Outcome
- All lint checks pass
- All typecheck checks pass
- All scan checks pass
- Code is ready for commit/deploy