validate-code

Installation
SKILL.md

Validate Code

Workflow

  1. Read package.json to identify available scripts
  2. Format + lint fix: run npm run lint-fix or npm run lint:fix (whichever exists)
  3. Lint + types: run npm run lint (runs tsc --noEmit + eslint)
  4. Tests: run npm test
  5. Report overall PASS or FAIL with file:line error references

Rules

  • Always auto-fix before reporting errors
  • Run lint-fix → lint check → test sequentially
  • If lint-fix fails, still run lint check and tests; report all failures at the end
  • Report errors as file:line references
  • Never commit, stage, or push anything

Error Handling

Installs
10
GitHub Stars
10
First Seen
Apr 7, 2026
validate-code — helderberto/skills