smithery/sraloff

lint-validation

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

Installation

$ npx skills add smithery/sraloff --skill lint-validation

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/sraloff.

npx skills add smithery/sraloff

Browse all from smithery/sraloff

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 recorded snapshot · 0 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.