lint

Auto-detect and run the project's linter and formatter with optional fixes.

7.8k|770|Updated Mar 11, 2026
One-click install
npx skills add https://github.com/gsd-build/gsd-2 --skill lint-gsd-build
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lint
Source: https://github.com/gsd-build/gsd-2/tree/main/src/resources/skills/lint
Command: npx skills add https://github.com/gsd-build/gsd-2 --skill lint-gsd-build

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers maintain code quality by automatically linting and formatting code using the project's own configurations, reducing manual review time and drift.

Core Features & Use Cases

  • Auto-detects the project's linter and formatter and runs them with appropriate flags to report actionable issues.
  • Targets specific files or directories, and can apply safe fixes when using --fix.
  • Use Case: integrate into CI to ensure every commit adheres to code style and quality standards.

Quick Start

Call /lint with an optional path and flags to run linting or auto-fix, for example '/lint src --fix'.

Frequently Asked Questions about lint

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

FAQPage Schema
How do I automatically lint and format code using my project's existing configuration?

You can lint and format code by calling /lint with an optional file path. The tool auto-detects your project's linter and formatter, enforcing project-local configurations to report actionable issues.

Can I automatically fix linting errors for specific files in JavaScript and TypeScript?

Yes, you can fix linting errors for specific JavaScript and TypeScript files by passing the --fix flag, such as '/lint src --fix', which applies safe fixes based on your project's toolchain.

Does the linter support Biome, ESLint, and Prettier toolchains?

Yes, the linter supports common JavaScript and TypeScript toolchains including ESLint, Prettier, and Biome, gracefully handling missing tools by suggesting install commands for remediation.

What happens if my project is missing the required linting and formatting tools?

If required linting and formatting tools are missing, the Skill gracefully handles the gap by suggesting the specific install commands needed to restore code quality enforcement.

How can I integrate code linting into CI to enforce code style and quality standards?

To integrate code linting into CI and enforce quality standards, run the Skill against your codebase to ensure every commit adheres to style rules using your project's existing configurations.