Lint and Validate Skill
SkillAI & modelsLint-and-validate is a skill that gives an AI agent automatic quality control, linting, and static analysis procedures. After every code modification, the agent runs the appropriate linters, type checks, and security audits for the project's ecosystem and keeps fixing issues until the code passes. This ensures syntax correctness and project standards before a task is reported as done.
Use Lint and Validate Skill in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add Lint and Validate Skill and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use the Lint and Validate Skill skill
Details
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; ahel provides instructions and does not run this skill.
No other account needed.
Have a project with linting or type checking configured, such as an .eslintrc, tsconfig.json, or pyproject.toml file.
What your AI can do with it
- Runs ESLint or npm run lint with auto-fix on Node.js and TypeScript changes
- Checks types with tsc --noEmit and MyPy for Python projects
- Runs security audits with npm audit and Bandit
- Lints Python code with Ruff and applies fixes
- Follows a quality loop that repeats audit and fix until checks pass
- Includes lint_runner.py and type_coverage.py scripts for unified checks
Getting started
- Have a project with linting or type checking configured, such as an .eslintrc, tsconfig.json, or pyproject.toml file.
- Add the lint-and-validate skill to your agent so it can use the Read, Glob, Grep, and Bash tools.
- Ask the agent to lint, format, check, validate, or run static analysis, or let it trigger automatically after code changes.
- Review the FINAL AUDIT REPORT the agent produces and have it fix any failures before finishing.
What this skill tells your AI
The instructions your AI receives, as published by davila7/claude-code-templates in cli-tool/components/skills/development/lint-and-validate/SKILL.md and read by ahel’s review.
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> |
Signals
- GitHub stars
- 32k
- Forks
- 4k
- Last commit
- Oct 2026
Others that do the same job
Questions
- When should the skill run?
- After every code modification. The skill treats validation as mandatory and instructs the agent not to finish a task until the code is error-free.
- What does it do for Python projects?
- It runs Ruff for linting with fixes, Bandit for security checks, and MyPy for type checking on the given path.
- What does it do for Node.js and TypeScript projects?
- It runs npm run lint or ESLint with --fix, checks types with tsc --noEmit, and runs npm audit at the high severity level.
Advanced
- Item type
- skill
- Key
lint-and-validate-davila7- Source
- github.com/davila7/claude-code-templates
github.com/davila7/claude-code-templates
Related picks
Skill · thedaviddias
The pick for JavaScriptmodern-javascript-patterns
Skill · wshobson
The pick for JavaScriptpython-performance-optimization
Skill · wshobson
The pick for Pythonpython-pro
Skill · jeffallan
The pick for Pythonsetup-ts-deep-modules
Skill · mattpocock
The pick for TypeScripttypescript-pro
Skill · jeffallan
The pick for TypeScript