standards-enforcement

Configure ESLint, Prettier, and Husky to enforce coding standards.

1|Updated Sep 26, 2025
One-click install
npx skills add https://github.com/pascallammers/mylo-travel-concierge-v2 --skill standards-enforcement
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: standards-enforcement
Source: https://github.com/pascallammers/mylo-travel-concierge-v2/tree/main/.factory/skills/standards-enforcement
Command: npx skills add https://github.com/pascallammers/mylo-travel-concierge-v2 --skill standards-enforcement

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the challenge of maintaining high code quality, consistency, and adherence to best practices across a project, preventing technical debt and improving collaboration.

Core Features & Use Cases

  • Automated Linting & Formatting: Integrates ESLint and Prettier to automatically check and fix code style issues.
  • Pre-commit Hooks: Utilizes Husky and lint-staged to ensure code quality checks run before commits.
  • TypeScript Strictness: Enforces strict TypeScript settings for improved type safety.
  • Use Case: When onboarding a new developer, this skill ensures their code automatically conforms to the team's established standards without manual intervention.

Quick Start

Configure ESLint and Prettier for the project by running the setup script.

Frequently Asked Questions about standards-enforcement

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

FAQPage Schema
How do I set up ESLint and Prettier to enforce code formatting standards?

To enforce code formatting standards, you configure ESLint and Prettier to automatically check and fix code style issues. This setup prevents technical debt by ensuring code quality and consistency across your project.

How do pre-commit hooks with Husky improve TypeScript code quality?

Pre-commit hooks using Husky and lint-staged improve TypeScript code quality by automatically running checks before commits are finalized. This ensures adherence to established standards and strict TypeScript settings without manual intervention.

What is the best way to enforce coding standards for a new developer onboarding?

The best way to enforce coding standards during onboarding is implementing automated linting and pre-commit hooks. This ensures new developers' code automatically conforms to team style guides and best practices without manual reviews.

Why enable strict mode in TypeScript for code consistency?

Enabling strict mode in TypeScript improves type safety and overall code consistency. This configuration prevents potential type errors early, supporting broader efforts to maintain high code quality and reduce technical debt.

Can I configure lint-staged to only check modified files for best practices?

Yes, configuring lint-staged allows you to run quality checks solely on modified files before committing. This targeted approach enforces best practices efficiently without delaying the commit process for the entire project.