smithery.ai

lint-validation

Standards for code linting, formatting, and pre-commit hooks.

First seen Mar 27, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,016 B
  • docs SUMMARY.md 84 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Lint & Validation

When to use this skill

  • Setting up a new project's CI/CD or git hooks.
  • Configuring ESLint, Prettier, PHP CodeSniffer, or Ruff.
  • Fixing lint errors.

1. PHP

  • Tools: PHP_CodeSniffer (PSR-12) or Laravel Pint.
  • Command: composer lint (custom script) or ./vendor/bin/pint.
  • Static Analysis: PHPStan (Level 5+) is recommended for logic errors.

2. JavaScript / TypeScript

  • Tools: ESLint + Prettier.
  • Config: Use strict configs (eslint:recommended, plugin:@typescript-eslint/recommended).
  • Imports: Enforce sorted imports via eslint-plugin-simple-import-sort.

3. Python

  • Tools: Ruff (replaces Flake8/Black/Isort).
  • Config: Enable standard rules (E, F, I for imports).

4. Git Hooks

  • Husky: Use Husky to run linters on pre-commit.
  • Strategy: Lint only staged files (lint-staged) to keep commits fast.