lint-and-validate▌
davila7/claude-code-templates · updated Apr 8, 2026
MANDATORY: Run appropriate validation tools after EVERY code change. Do not finish a task until the code is error-free.
Lint and Validate Skill
MANDATORY: Run appropriate validation tools after EVERY code change. Do not finish a task until the code is error-free.
Procedures by Ecosystem
Node.js / TypeScript
- Lint/Fix:
npm run lintornpx eslint "path" --fix - Types:
npx tsc --noEmit - Security:
npm audit --audit-level=high
Python
- Linter (Ruff):
ruff check "path" --fix(Fast & Modern) - Security (Bandit):
bandit -r "path" -ll - Types (MyPy):
mypy "path"
The Quality Loop
- Write/Edit Code
- Run Audit:
npm run lint && npx tsc --noEmit - Analyze Report: Check the "FINAL AUDIT REPORT" section.
- Fix & Repeat: Submitting code with "FINAL AUDIT" failures is NOT allowed.
Error Handling
- If
lintfails: Fix the style or syntax issues immediately. - If
tscfails: Correct type mismatches before proceeding. - If no tool is configured: Check the project root for
.eslintrc,tsconfig.json,pyproject.tomland suggest creating one.
Strict Rule: No code should be committed or reported as "done" without passing these checks.
Scripts
| Script | Purpose | Command |
|---|---|---|
scripts/lint_runner.py |
Unified lint check | python scripts/lint_runner.py <project_path> |
scripts/type_coverage.py |
Type coverage analysis | python scripts/type_coverage.py <project_path> |
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
Ratings
4.8★★★★★27 reviews- ★★★★★Zaid Ghosh· Dec 24, 2024
We added lint-and-validate from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★Ganesh Mohane· Dec 16, 2024
lint-and-validate reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Yuki Gonzalez· Dec 12, 2024
lint-and-validate fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- ★★★★★Kiara Reddy· Nov 15, 2024
Keeps context tight: lint-and-validate is the kind of skill you can hand to a new teammate without a long onboarding doc.
- ★★★★★Rahul Santra· Nov 7, 2024
I recommend lint-and-validate for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- ★★★★★Ira Smith· Nov 3, 2024
lint-and-validate is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- ★★★★★Pratham Ware· Oct 26, 2024
Useful defaults in lint-and-validate — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
- ★★★★★Ira Khan· Oct 22, 2024
Keeps context tight: lint-and-validate is the kind of skill you can hand to a new teammate without a long onboarding doc.
- ★★★★★Diego Reddy· Oct 6, 2024
lint-and-validate is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- ★★★★★Kaira Rahman· Sep 25, 2024
lint-and-validate reduced setup friction for our internal harness; good balance of opinion and flexibility.
showing 1-10 of 27