ls-lint

Enforce file and directory naming conventions via .ls-lint.yml configuration.

69|3|Updated Feb 5, 2026
One-click install
npx skills add https://github.com/PaulRBerg/agent-skills --skill ls-lint
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ls-lint
Source: https://github.com/PaulRBerg/agent-skills/tree/main/skills/ls-lint
Command: npx skills add https://github.com/PaulRBerg/agent-skills --skill ls-lint

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams enforce consistent file and directory naming across projects, reducing ambiguity and improving tooling reliability.

Core Features & Use Cases

  • Supports multiple naming conventions (e.g., lowercase, kebab-case, camelCase, PascalCase, snake_case, SCREAMING_SNAKE_CASE).
  • Enforces directory and file naming rules via a simple .ls-lint.yml configuration.
  • Suitable for project onboarding, codebase standardization, and CI checks to catch naming issues early.

Quick Start

Install the tool via npm: npm install -D @ls-lint/ls-lint Run with the default configuration: npx @ls-lint/ls-lint Optional: install via Homebrew: brew install ls-lint Create a minimal config file (.ls-lint.yml) to define your naming rules.

Frequently Asked Questions about ls-lint

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

FAQPage Schema
How do I enforce consistent file and directory naming across my project?

Enforce consistent file and directory naming by installing ls-lint (npm install -D @ls-lint/ls-lint), creating a .ls-lint.yml configuration file with your naming rules, and running npx @ls-lint/ls-lint to validate all files and directories against those conventions.

What naming conventions does ls-lint support?

ls-lint supports multiple naming conventions including lowercase, kebab-case, camelCase, PascalCase, snake_case, and SCREAMING_SNAKE_CASE, allowing you to define separate rules for directories and files in your configuration.

Can I use ls-lint to catch naming issues in CI/CD pipelines?

Yes, ls-lint is suitable for CI checks. Install it via npm, Homebrew, or direct binary download, then run it as part of your pipeline to catch naming convention violations early before code is merged.

What's the quickest way to get started with file naming conventions?

Install ls-lint with npm install -D @ls-lint/ls-lint, run npx @ls-lint/ls-lint with the default configuration to see what's enforced, then customize your .ls-lint.yml file to match your team's naming standards.

Do I need to configure ls-lint for every project?

Each project needs its own .ls-lint.yml configuration file to define naming rules for directories and files. ls-lint provides a straightforward configuration format, so setup is minimal even for large codebases.

Why enforce directory and file naming conventions across teams?

Consistent naming reduces ambiguity, improves tooling reliability, and makes onboarding easier for new team members. It ensures readability and compatibility across large projects where multiple developers contribute.