validate-code

Validate and auto-fix JavaScript/TypeScript code quality with file:line error reporting.

12|1|Updated Feb 13, 2026
One-click install
npx skills add https://github.com/helderberto/skills --skill validate-code-helderberto
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: validate-code
Source: https://github.com/helderberto/skills/tree/main/validate-code
Command: npx skills add https://github.com/helderberto/skills --skill validate-code-helderberto

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates code quality validation by auto-fixing formatting, linting, and ensuring type correctness and test results for software projects.

Core Features & Use Cases

  • Auto-fix and format codebase: runs lint-fix or lint:fix to repair formatting and style issues.
  • Type checking and tests: executes TypeScript checks and test suites to ensure reliability.
  • Error reporting: reports failures with file:line references and handles missing scripts gracefully.

Quick Start

Run the validate-code workflow on your project to auto-fix formatting, lint, type-check, and run tests.

Frequently Asked Questions about validate-code

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

FAQPage Schema
How do I automate linting, type checking, and tests for a JavaScript project?

Automate linting, type checking, and tests by running a validation workflow that executes formatting fixes, TypeScript checks, and test suites in sequence. It requires a root package.json with available lint-fix or lint:fix scripts to function properly.

Can I auto-fix code formatting and linting errors without manual intervention?

Auto-fix code formatting and linting errors by executing the lint-fix or lint:fix scripts defined in your project's package.json. The workflow automatically repairs style issues and reports any remaining failures with precise file and line references.

What happens if my TypeScript project is missing lint or test scripts?

If your TypeScript project is missing lint or test scripts, the validation workflow gracefully handles the absence without failing. It continues executing the remaining checks, such as type checking, and reports only the results for available scripts.

Does code validation work with both JavaScript and TypeScript codebases?

Code validation works with both JavaScript and TypeScript codebases by running formatting, linting, and type checks. It scales across typical development workflows and ensures reliability by executing test suites while reporting failures with clear messaging.

How are code quality failures reported during automated validation?

Code quality failures are reported during automated validation with precise file:line references and clear failure messaging. This allows you to quickly locate and resolve formatting, linting, type checking, or test errors across your project.