dev.lint

Automates npm lint and format scripts for Node.js projects.

6|Updated Nov 10, 2025
One-click install
npx skills add https://github.com/kevinslin/llm --skill dev-lint
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dev.lint
Source: https://github.com/kevinslin/llm/tree/main/skills/dev.lint
Command: npx skills add https://github.com/kevinslin/llm --skill dev-lint

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Lint and format codebases automatically to ensure consistent style, catch potential issues early, and save review time.

Core Features & Use Cases

  • Run npm run lint to check code quality and style.
  • Run npm run format to automatically fix formatting.
  • Use in CI pipelines to enforce a consistent baseline across commits.

Quick Start

Run npm run lint and npm run format to lint and format your project.

Frequently Asked Questions about dev.lint

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

FAQPage Schema
How do I lint and format code in an npm project?

To lint and format code in an npm project, run npm run lint to check code quality and run npm run format to automatically fix formatting issues across the codebase.

What's the best way to enforce consistent code style in CI pipelines?

The best way to enforce consistent code style in CI pipelines is to run npm run lint and npm run format scripts during the build process, ensuring all commits meet the style baseline before merging.

Do I need predefined npm scripts to run automated linting?

Yes, you need predefined npm run lint and npm run format definitions in your package.json, as the automated linting process relies on these scripts to execute checks and apply formatting fixes.

Why does my npm code formatting check fail in CI?

Your npm code formatting check fails in CI when npm run lint detects style violations or npm run format reports unformatted code, requiring you to fix the errors locally before committing again.

Can I use this automated linting for non-Node.js repositories?

You can use this automated linting for non-Node.js repositories if the project is npm-based and includes the required npm run lint and npm run format script definitions in its configuration.