modular-code-enforcement

Community

Enforce clean, modular code architecture.

AuthorArabelaTso
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill enforces strict adherence to modular code principles, preventing the creation of unmaintainable, monolithic codebases and ensuring high code quality.

Core Features & Use Cases

  • Single Responsibility Principle (SRP): Ensures each file has one clear purpose.
  • Index File Best Practices: Prevents index files from becoming dumping grounds for unrelated logic.
  • No Catch-All Files: Eliminates problematic utils, helpers, or service directories.
  • Line of Code (LOC) Limit: Enforces a maximum of 200 LOC per file to promote readability and maintainability.
  • Use Case: When developing a new feature, this skill will automatically flag any files that violate these architectural rules, blocking further progress until the code is refactored into smaller, more manageable modules.

Quick Start

Ensure all new and modified files strictly adhere to the modular code architecture rules defined in this skill.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: modular-code-enforcement
Download link: https://github.com/ArabelaTso/Skills-4-SE/archive/main.zip#modular-code-enforcement

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.