lint-and-validate

Run ESLint, Ruff, MyPy, and npm audit to validate code.

Updated Mar 7, 2026
One-click install
npx skills add https://github.com/Geargrindadmin/gg-agentic-harness --skill lint-and-validate-geargrindadmin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lint-and-validate
Source: https://github.com/Geargrindadmin/gg-agentic-harness/tree/main/.agent/skills/lint-and-validate
Command: npx skills add https://github.com/Geargrindadmin/gg-agentic-harness --skill lint-and-validate-geargrindadmin

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the process of checking code for syntax errors, style violations, and potential bugs, ensuring that all code adheres to project standards and is free of common issues.

Core Features & Use Cases

  • Automated Linting: Runs linters like ESLint, Ruff, and MyPy to catch style and syntax errors.
  • Type Checking: Verifies TypeScript and Python type correctness to prevent runtime errors.
  • Security Audits: Performs basic security checks (e.g., npm audit).
  • Use Case: After making changes to a Node.js project, run this Skill to automatically format the code, check for type errors, and audit for high-severity vulnerabilities before committing.

Quick Start

Run the lint_runner script with the path to your project to perform all checks.

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 static analysis across both Node.js and Python codebases?

To run linting and static analysis across Node.js and Python, you can execute a unified script that triggers tools like ESLint, Ruff, and MyPy simultaneously. This validates syntax, enforces project standards, and checks type safety across different ecosystems in one pass.

What is the best way to automate TypeScript type checking and security audits before committing code?

Automating TypeScript type checking and security audits involves running integrated validation tools like ESLint and npm audit. This checks type correctness to prevent runtime errors and scans for high-severity vulnerabilities, ensuring code quality and security before you commit changes.

Does this static analysis tool support Python type checking with MyPy?

Yes, this static analysis tool supports Python type checking with MyPy. It verifies Python type correctness to prevent runtime errors, ensuring that your code adheres to project standards and is free from common type-related issues.

Can I use ESLint and Ruff together to enforce code quality in a mixed ecosystem project?

You can use ESLint and Ruff together to enforce code quality in mixed ecosystem projects. The validation process integrates both linters to catch style and syntax errors across your Node.js and Python files, ensuring adherence to project standards.

Why does my code validation process need to include security audits?

Your code validation process needs to include security audits to catch high-severity vulnerabilities before runtime. Running checks like npm audit alongside linting and type verification ensures your project is free from common security issues and syntax errors.

What are the limitations of using automated linting for syntax and style violations?

Automated linting for syntax and style violations is limited to catching static errors and enforcing project standards. It does not execute runtime logic or replace comprehensive unit testing, focusing solely on analyzing code structure, type safety, and known vulnerability patterns.