LI

lint-and-validate

Ensures code quality through automated linting, type validation, and security auditing.

Install

mkdir -p .claude/skills/lint-and-validate && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/2238" && unzip -o skill.zip -d .claude/skills/lint-and-validate && rm skill.zip

Installs to .claude/skills/lint-and-validate

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

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.
229 charsno explicit “when” trigger
Beginner

Key capabilities

  • Executes standardized linting via npm or ruff
  • Performs static type checking via tsc or mypy
  • Runs security audits using npm audit or bandit
  • Generates and parses error reports for code modification
  • Verifies code compliance before committing

How it works

It executes pre-configured bash commands for linting, type-checking, and security audits, then analyzes the terminal output to determine if code meets quality standards.

Inputs & outputs

You give it
Project directory path
You get back
Terminal report of syntax errors, type mismatches, and security vulnerabilities

When to use lint-and-validate

  • Running linting and formatting
  • Verifying type correctness
  • Auditing security vulnerabilities
  • Validating project standards

About this skill

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

ScriptPurposeCommand
scripts/lint_runner.pyUnified lint checkpython scripts/lint_runner.py <project_path>
scripts/type_coverage.pyType coverage analysispython scripts/type_coverage.py <project_path>

When not to use it

  • During early-stage prototyping where syntax strictness slows iteration
  • When the project lacks any linting or static analysis configuration files

Prerequisites

Node.js or Python runtimeProject-specific config files like.eslintrc, tsconfig.json, or pyproject.toml

Limitations

  • Requires pre-existing configuration files in the project root
  • Cannot fix logic errors, only syntax and type issues
  • Dependent on the quality of existing linting and typing rules

How it compares

It mandates a rigid, multi-stage quality loop that blocks completion unless all automated checks pass, unlike manual checks.

Compared to similar skills

lint-and-validate side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
lint-and-validate (this skill)66moReviewBeginner
moai-foundation-quality03moNo flagsAdvanced
verification-loop04moReviewIntermediate
codeql12moReviewAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

software-architecture

davila7

Guide for quality focused software architecture. This skill should be used when users want to write code, design architecture, analyze code, in any case that relates to software development.

333868

planning-with-files

davila7

Implements Manus-style file-based planning for complex tasks. Creates task_plan.md, findings.md, and progress.md. Use when starting complex multi-step tasks, research projects, or any task requiring >5 tool calls.

233106

telegram-bot-builder

davila7

Expert in building Telegram bots that solve real problems - from simple automation to complex AI-powered bots. Covers bot architecture, the Telegram Bot API, user experience, monetization strategies, and scaling bots to thousands of users. Use when: telegram bot, bot api, telegram automation, chat bot telegram, tg bot.

106130

scroll-experience

davila7

Expert in building immersive scroll-driven experiences - parallax storytelling, scroll animations, interactive narratives, and cinematic web experiences. Like NY Times interactives, Apple product pages, and award-winning web experiences. Makes websites feel like experiences, not just pages. Use when: scroll animation, parallax, scroll storytelling, interactive story, cinematic website.

101142

humanizer

davila7

Remove signs of AI-generated writing from text. Use when editing or reviewing text to make it sound more natural and human-written. Based on Wikipedia's comprehensive "Signs of AI writing" guide. Detects and fixes patterns including: inflated symbolism, promotional language, superficial -ing analyses, vague attributions, em dash overuse, rule of three, AI vocabulary words, negative parallelisms, and excessive conjunctive phrases. Credits: Original skill by @blader - https://github.com/blader/humanizer

90175

game-development

davila7

Game development orchestrator. Routes to platform-specific skills based on project needs.

70195

Search skills

Search the agent skills registry