Coding size limits

From theheavenlyd3mon/hermes-profiles · View interactive version

Coding size limits is an AI agent skill from the GitHub repository theheavenlyd3mon/hermes-profiles. Keeps code readable. File size limits, function length caps, nesting depth rules. Written for non-coders who need to understand what the AI wrote.

How to use this skill

Skill file

Coding Size Limits

Code that's too big or too nested is hard to understand. These rules keep it manageable.

Why This Matters

If code is hard for YOU to read, it's hard to fix when it breaks. Size limits are speed limits — they exist for safety.

Rules

File Size

Function Length

Nesting Depth

Variable Naming

Immutability (CRITICAL)

Magic Numbers

Imports

Enforcement

When writing or reviewing code, check against these rules. If something violates a rule, fix it in the same change — don't leave it for later.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.