lint-and-validate

Run ESLint, tsc, Ruff, and MyPy checks on Node.js and Python projects.

Updated Jan 20, 2026
One-click install
npx skills add https://github.com/lchenrique/politron-ide --skill lint-and-validate-lchenrique
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lint-and-validate
Source: https://github.com/lchenrique/politron-ide/tree/main/.agent/skills/lint-and-validate
Command: npx skills add https://github.com/lchenrique/politron-ide --skill lint-and-validate-lchenrique

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates code quality assurance by running linting, type checking, and basic security checks after every change, ensuring your codebase stays clean and compliant.

Core Features & Use Cases

  • Linting: run ESLint/TSLint where applicable to fix style and potential errors.
  • Type Checking: enforce TypeScript types via tsc and Python types via Ruff/MyPy.
  • Automated Validation: works with Node.js and Python projects to integrate into CI and pre-commit hooks.
  • Use Case: When you modify code, run lint-and-validate to catch syntax errors, type mismatches, and security concerns before merging.

Quick Start

Run the unified linting workflow against your project: python scripts/lint_runner.py <path> or npm run lint, depending on your setup.

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 linting and type checking for both Node.js and Python projects?

Linting and type checking for both Node.js and Python projects is automated by executing provided runner scripts like `python scripts/lint_runner.py <path>` or `npm run lint`, which invoke ESLint, tsc, Ruff, and MyPy based on your project configuration.

What static analysis tools are used to enforce TypeScript and Python types?

Static analysis for TypeScript and Python types is handled via tsc, Ruff, and MyPy, catching type mismatches and syntax errors during development and CI workflows.

Can I integrate automated validation into my CI workflows and pre-commit hooks?

Yes, you can integrate automated validation into CI workflows and pre-commit hooks to apply linting and type checks to code changes, ensuring every commit passes before merging.

What's the best way to catch syntax errors and security concerns before merging code?

The best way to catch syntax errors and security concerns before merging is to run a unified linting workflow after modifying code, applying basic security checks alongside style and type validation.

Do I need existing project configs to use ESLint and MyPy for code quality checks?

Yes, automated code quality checks rely on your existing project configs to properly invoke tooling like ESLint, tsc, Ruff, and MyPy during the validation process.