SKILL

lint-and-validate

Automatic quality control, linting, and static analysis procedures. Use after every code modification to ensure syntax correctness and project standards. Triggers onKeywords: lint, format, check, validate, types, static analysis.

Target: Software development & testing. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original English text

Topics in the source

  • Lint and Validate Skill
  • Procedures by Ecosystem
  • Node.js / TypeScript
  • Python
  • The Quality Loop
  • Error Handling
  • Scripts

MANDATORY: Run appropriate validation tools after EVERY code change. Do not finish a task until the code is error-free. 1. Lint/Fix: npm run lint or npx eslint "path" --fix 2. Types: npx tsc --noEmit 3. Security: npm audit --audit-level=high 1. Linter (Ruff): ruff check "path" --fix (Fast & Modern) 2. Security (Bandit): bandit -r "path" -ll 3. Types (MyPy): mypy "path" 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. 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. -- | Script | Purpose | Command | |--------|---------|---------| | scripts/lintrunner.py | Unified lint check | python scripts/lintrunner.py | | scripts/typecoverage.py | Type coverage analysis | python scripts/typecoverage.py |

Source repository
davila7/claude-code-templates
Source file
cli-tool/components/skills/development/lint-and-validate/SKILL.md
Fixed revision
21be197f100a12b8d0dd9a211cc244c8179f84d3
Read the complete original documentation ↗

Requirements

  • Only the author’s Skill metadata is included. Read the full instructions to check dependencies, licensing and conditions of use.

A small first task

先阅读原作者说明,再决定是否在自己的 AI 工具中使用。

Instructions for your AI tool

Author documentation is not live verification by this site. Without evidence, we do not mark a resource as compatible, safe or free.

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: davila7/claude-code-templates · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-09T14:01:44.498Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.