lint-and-validate

Run ESLint, tsc, Ruff, and mypy checks with pass/fail results.

Updated Mar 24, 2026
One-click install
npx skills add https://github.com/Icebane84/Synarche_Workshop --skill lint-and-validate-icebane84
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lint-and-validate
Source: https://github.com/Icebane84/Synarche_Workshop/tree/main/.agent/skills/core/lint-and-validate
Command: npx skills add https://github.com/Icebane84/Synarche_Workshop --skill lint-and-validate-icebane84

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

It prevents broken builds and standard violations by enforcing linting, static checks, and type safety after each code change.

Core Features & Use Cases

  • Automatic linting across Node.js (ESLint/npm scripts) and Python (Ruff, flake8/pylint when available), ensuring consistent code style and basic correctness.
  • Static type validation for TypeScript (tsc --noEmit) and Python (mypy), reducing runtime failures caused by type mismatches.
  • Security-oriented auditing via npm audit (where applicable) to surface high-severity dependency risks.

Quick Start

Ask the AI to run lint-and-validate for the project directory you just modified so it can verify quality gates and report pass/fail results.

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 type checking after code changes?

To enforce linting and type checking after code changes, the Skill runs ESLint and tsc --noEmit for Node.js/TypeScript projects, and Ruff and mypy for Python projects, producing a deterministic pass/fail outcome.

What's the best way to automate static analysis and type validation for Python and TypeScript projects?

Automating static analysis and type validation is best handled by running Ruff and mypy for Python, alongside ESLint and tsc for TypeScript, which enforces code quality and type safety to prevent regressions and standard violations after each code change.

Does this static analysis tool work with both Python and Node.js projects?

Yes, static analysis and type validation works with both Python and Node.js projects. It runs Ruff and mypy for Python code, and ESLint and tsc --noEmit for TypeScript, ensuring consistent code style and type safety across both ecosystems.

Can I run security auditing alongside linting and type checking?

Yes, security auditing can run alongside linting and type checking via npm audit where applicable. This surfaces high-severity dependency risks while simultaneously enforcing code style with ESLint and type safety with tsc or mypy.

How does static type validation prevent runtime failures in TypeScript and Python?

Static type validation prevents runtime failures by running tsc --noEmit for TypeScript and mypy for Python after code changes. This process catches type mismatches before deployment, enforcing type safety and reducing runtime errors caused by incorrect type usage.

Do I need Trunk installed to run linting and static checks?

No, Trunk is optional and runs if available, but the core linting and static checks run using standard tools like ESLint, tsc, Ruff, and mypy. You only need the standard linting and type checking tools configured in your Node.js or Python project.