lint-and-validate

Run automated linters and type checkers on Node.js/TypeScript and Python repositories.

Updated Mar 3, 2025
One-click install
npx skills add https://github.com/cyhinverse/YiBu --skill lint-and-validate-cyhinverse
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lint-and-validate
Source: https://github.com/cyhinverse/YiBu/tree/main/.agents/skills/lint-and-validate
Command: npx skills add https://github.com/cyhinverse/YiBu --skill lint-and-validate-cyhinverse

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Automatically ensures code quality by running linting, type checking, and static analysis after every modification, preventing syntax errors and enforcing project standards.

Core Features & Use Cases

  • Linting and auto-fix suggestions for Node.js/TypeScript and Python projects.
  • Type checking and security checks to catch issues early.
  • Structured, repeatable validation loop to maintain code quality across teams.

Quick Start

Run the lint_runner.py script on your project to perform a unified lint and type-check pass after every change.

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 automated linting and type checking on a TypeScript project?

Run automated linting and type checking on a TypeScript project by executing a script that detects the project type and applies linters with structured pass/fail reporting. It handles lint, type checks, and static analysis for Node.js repositories.

What's the best way to enforce Python static analysis workflows across a team?

Enforce Python static analysis workflows by running an automated validation script that performs lint and security checks. This provides a structured, repeatable validation loop to maintain code quality across teams after every modification.

Does this automated quality check work with both Node.js and Python repositories?

Yes, the automated quality check works with both Node.js/TypeScript and Python repositories. It dynamically detects the project type to select and run the appropriate linters, type checkers, and security checks.

How do I identify and fix code quality issues after every modification?

Identify and fix code quality issues by running automated linters that provide auto-fix suggestions after every modification. This prevents syntax errors and enforces project standards through a structured reporting loop.

Can I get structured reporting with pass/fail outcomes from my static analysis?

Yes, you can get structured reporting with pass/fail outcomes from your static analysis. The validation script outputs structured results detailing lint, type check, and security check statuses to catch issues early.

Why do I need dynamic project type detection for linting workflows?

Dynamic project type detection is needed for linting workflows to automatically select the correct linters and type checkers based on whether the repository uses Node.js/TypeScript or Python, ensuring accurate static analysis.