Skip to content

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
View on GitHub

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.py for unified lint checks and scripts/type_coverage.py for 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, or pyproject.toml when no tool is configured

Install

$ npx -y skills add davila7/claude-code-templates --skill lint-and-validate -y

Installs 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
  1. Lint/Fix: npm run lint or npx eslint "path" --fix
  2. Types: npx tsc --noEmit
  3. Security: npm audit --audit-level=high
Python
  1. Linter (Ruff): ruff check "path" --fix (Fast & Modern)
  2. Security (Bandit): bandit -r "path" -ll
  3. Types (MyPy): mypy "path"

The Quality Loop

  1. Write/Edit Code
  2. Run Audit: npm run lint && npx tsc --noEmit
  3. Analyze Report: Check the "FINAL AUDIT REPORT" section.
  4. Fix & Repeat: Submitting code with "FINAL AUDIT" failures is NOT allowed.

Error Handling

  • If lint fails: Fix the style or syntax issues immediately.
  • If tsc fails: Correct type mismatches before proceeding.
  • If no tool is configured: Check the project root for .eslintrc, tsconfig.json, pyproject.toml and 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

Similar to Lint And Validate

More Code Review & Quality