lint-and-validate

Runs ESLint, Ruff, and type checkers to enforce code quality across projects.

Updated Apr 13, 2026
One-click install
npx skills add https://github.com/JenilRevaliya/ARGUS --skill lint-and-validate-jenilrevaliya
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: lint-and-validate
Source: https://github.com/JenilRevaliya/ARGUS/tree/main/.agent/skills/lint-and-validate
Command: npx skills add https://github.com/JenilRevaliya/ARGUS --skill lint-and-validate-jenilrevaliya

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve? Code review alone misses silent bugs like floating promises, unused variables, and inconsistent style. This Skill automates linting and type checking so every commit passes enforceable quality gates instead of relying on manual inspection. ## Core Features & Use Cases - Unified Lint Runner: Detects Node.js or Python projects and runs the right tools (ESLint, tsc, Ruff, mypy) with a single command. - Type Coverage Measurement: Scans TypeScript and Python files to report any usage and the percentage of typed functions. - CI and Pre-commit Enforcement: Provides ESLint, Ruff, and pre-commit configurations that block merges on lint failures. - Use Case: Before merging a pull request, run the lint runner against the repository to confirm ESLint, TypeScript compilation, and Ruff all pass, then review the type coverage report for untyped functions. ## Quick Start Ask the assistant to run the lint runner script against your project directory and report any blocking lint or type errors.

Frequently Asked Questions about lint-and-validate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run ESLint and TypeScript checks together?▼

Use the lint_runner.py script with your project path; it detects package.json and runs npm lint plus npx tsc --noEmit automatically. Results are reported per linter with a combined pass/fail exit code.

What Python linter replaces flake8, black, and isort?▼

Ruff replaces flake8, black, isort, and pyupgrade in a single fast tool. Run ruff check for linting and ruff format for formatting, configured via pyproject.toml with rule sets like E, F, I, B, and ANN.

How do I measure TypeScript type coverage in a project?▼

Run type_coverage.py against the project directory. It scans .ts and .tsx files, counts explicit any annotations and untyped functions, then reports a typed-function percentage with pass or fail thresholds.

Does the lint runner work on Windows?▼

Yes, the script handles Windows by appending .cmd to npm and npx commands and enabling shell mode for path resolution. It also reconfigures console encoding to UTF-8 for cross-platform output.

Why should lint warnings block CI instead of being ignored?▼

Warnings accumulate into permanent noise when treated as non-blocking, hiding real issues. The skill enforces a zero-warning policy in CI so every merged pull request passes lint checks cleanly.