Loading...
Loading...
Modular Code Organization
npx skill4agent add parcadei/continuous-claude-v3 modular-code| 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 |
auth.pyauth/login.pyauth/tokens.pyauth/permissions.pyfeature/
├── __init__.py # Keep minimal, just exports
├── core.py # Main logic (under 500 lines)
├── models.py # Data structures
├── handlers.py # I/O and side effects
└── utils.py # Pure helper functionsdata_storage.pyutils2.py__init__.py