Lint And Validate
Mandatory lint, type, and security checks for Node.js and Python code after every change.
- CCM score
- 57 of 100
- skills.sh installs
- 334
- GitHub stars
- 34.3K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the quality loop for Node.js/TypeScript (ESLint,
tsc --noEmit,npm audit) and Python (Ruff, Bandit, MyPy) - Includes two scripts:
scripts/lint_runner.pyfor unified lint checks andscripts/type_coverage.pyfor type coverage analysis - Enforces a rule that no code is committed or reported as done without passing these checks
- Guides fallback setup by checking project roots for
.eslintrc,tsconfig.json, orpyproject.tomlwhen no tool is configured
Install
$ npx -y skills add davila7/claude-code-templates --skill lint-and-validate -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
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
Details
- Repository
- github.com/davila7/claude-code-templates
- Categories
- Code Review & Quality, Testing & QA, Security
- First seen
- Jun 3, 2026
Questions
What does the lint-and-validate skill do?
lint-and-validate runs linting, formatting checks, type checks and static analysis after every code change. For Node.js and TypeScript it runs eslint, tsc --noEmit and npm audit, and for Python it runs Ruff, Bandit and MyPy.
How do I install the lint-and-validate skill?
Run npx -y skills add davila7/claude-code-templates --skill lint-and-validate -y in a project to install it. After that, lint-and-validate tells the agent to run the right validation tools before a task counts as done.
Which tools does lint-and-validate need in the project?
lint-and-validate expects a lint script or ESLint, tsconfig.json for TypeScript checks, and Ruff, Bandit and MyPy for Python projects. If none is configured, lint-and-validate checks the project root for .eslintrc, tsconfig.json or pyproject.toml and suggests creating one.
Where does lint-and-validate sit among code review skills?
lint-and-validate is in the Code Review & Quality category on Claude Marketplaces. It differs from review skills by running automated lint, type and audit commands on the code itself, and it blocks completion until those checks pass.
More from davila7/claude-code-templates
All 398- Move Code Quality333
- Zapier Workflows330
- Scikit Survival329
- Alphafold Database326
- Llm App Patterns326
- Pyhealth326
- Gh Fix Ci325
- Scanpy325
- Biomni321
- Uspto Database318
- Mdr 745 Specialist315
- Create Pr314
- Pentest Checklist314
- Roier Seo314
- Fda Database313
- Astropy312
- Environment Setup Guide312
- Security Scanning Tools312
- Skill Developer312
- Railway Database310
- Competitor Alternatives309
- SQL Injection Testing308
- Quality Manager Qms Iso13485306
- Testing Patterns306
Similar to Lint And Validate
More Code Review & Qualityclean-codeSkilldavila7/claude-code-templates1.1K installsPragmatic coding standards that enforce small functions, direct fixes, and minimal comments for AI-assisted coding.
python-code-qualitySkilllaurigates/claude-plugins1.1K installsOrchestration index that routes Python quality concerns across ruff, ty, and related focused skills.
Ai Quality GateMCP servermustafacagri31 starsAutomated quality checks for AI-written JavaScript and TypeScript via ESLint, AST fixes, and Prettier.
production-code-auditSkilldavila7/claude-code-templates359 installsAutonomous whole-codebase audit that scans line-by-line and applies production-grade fixes across security, performance, and architecture.
quality-gates-enforcerSkillpatricio0312rev/skills285 installsEnforces CI quality thresholds for coverage, linting, types, and security before any merge is allowed.
plankton-code-qualitySkillaffaan-m/ecc11.9K installsWrite-time formatting, linting, and Claude-powered fixes for every file edit, enforced through hooks.