Skillquality 0.45

validate-code

Validate code quality: auto-fix formatting/lint, verify types, run tests. Use when user asks to "validate code", "/validate-code", "check code", or wants to validate before committing. Don't use for committing, pushing, or writing new tests.

Price
free
Protocol
skill
Verified
no

What it does

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

  • If no package.json → report and stop
  • If neither lint-fix nor lint:fix script exists → skip fix, still run lint
  • If lint script missing → skip lint entirely, note it was skipped
  • If test script missing → skip tests, note it was skipped
  • If all scripts missing → report nothing to run, stop
  • If tests time out → report and suggest increasing --testTimeout in runner config
  • If runner crashes (exit code other than 0 or 1) → report crash output and stop

Capabilities

skillsource-helderbertoskill-validate-codetopic-agent-skillstopic-ai-toolstopic-antigravitytopic-claude-codetopic-cursortopic-developer-toolstopic-gemini-clitopic-markdowntopic-plugintopic-sdlctopic-skillstopic-tracer-bullet

Install

Installnpx skills add helderberto/agent-skills
Transportskills-sh
Protocolskill

Quality

0.45/ 1.00

deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 8 github stars · SKILL.md body (1,104 chars)

Provenance

Indexed fromgithub
Enriched2026-05-18 19:09:15Z · deterministic:skill-github:v1 · v1
First seen2026-05-18
Last seen2026-05-18

Agent access