modular-code
Installation
SKILL.md
Modular Code Organization
Write modular Python code with files sized for maintainability and AI-assisted development.
File Size Guidelines
| Lines | Status | Action |
|---|---|---|
| 150-500 | Optimal | Sweet spot for AI code editors and human comprehension |
| 500-1000 | Large | Look for natural split points |
| 1000-2000 | Too large | Refactor into focused modules |
| 2000+ | Critical | Must split - causes tooling issues and cognitive overload |
When to Split
Split when ANY of these apply:
- File exceeds 500 lines
- Multiple unrelated concerns in same file
- Scroll fatigue finding functions
Related skills
More from parcadei/continuous-claude-v3
discovery-interview
Deep interview process to transform vague ideas into detailed specs. Works for technical and non-technical users.
3.3Kmath
Unified math capabilities - computation, solving, and explanation. I route to the right tool.
518github-search
Search GitHub code, repositories, issues, and PRs via MCP
517dead-code
Find unused functions and dead code in the codebase
434premortem
Identify failure modes before they occur using structured risk analysis
413agentic-workflow
Agentic Workflow Pattern
392