standards-enforcer

Enforce coding standards from hierarchical CLAUDE.md files on code creation.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automatically ensures that all code adheres to project-specific standards, including coding style, framework best practices, security vulnerabilities, and type safety, preventing common errors and improving code maintainability.

Core Features & Use Cases

  • Hierarchical Standards: Loads standards from multiple CLAUDE.md files based on file location.
  • Framework-Specific Rules: Applies relevant standards for different languages and frameworks (e.g., React, TypeScript, Python, API routes).
  • Automated Checking & Fixing: Identifies and can automatically fix style issues, while flagging critical security vulnerabilities and suggesting fixes for best practices.
  • Use Case: When a new React component is created, this Skill will automatically check it against defined React, TypeScript, and security standards, fixing formatting and warning about potential logic errors or security risks before a commit.

Quick Start

Run the standards enforcer skill to check all modified TypeScript and TSX files in the current commit.

Frequently Asked Questions about standards-enforcer

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

FAQPage Schema
How do I enforce React and TypeScript coding standards automatically when creating new components?

Code quality enforcement works by loading hierarchical CLAUDE.md files and framework-specific rules, proactively activating on code creation or modification to check React, TypeScript, and security standards with configurable enforcement levels.

Can I automatically fix security vulnerabilities and style issues in TypeScript files?

Yes, this Skill automatically fixes style issues in TypeScript files and flags critical security vulnerabilities, suggesting fixes for best practices and logic errors before you commit your code.

How do I configure hierarchical code quality rules for different project directories?

You configure hierarchical code quality rules by placing CLAUDE.md files in your project directories. The Skill loads these standards based on file location to apply the relevant rules for each path.

Does this standards enforcer support Python API routes or is it limited to React and TypeScript?

The standards enforcer is not limited to React and TypeScript; it also applies framework-specific rules for Python and API routes, ensuring broad language coverage and best practices across your codebase.

What are the limitations of using CLAUDE.md files for project standards enforcement?

A limitation of using CLAUDE.md files for standards enforcement is the need to maintain configuration across your project hierarchy. It auto-fixes style issues but only flags security vulnerabilities for manual review.