emasoft/ai-maestro-architect-agent/amaa-modularization
Claude Code and agent skill by emasoft/ai-maestro-architect-agent
- community
Checking that the SKILL.md file is still in the repository.
Use when decomposing systems into modules with clear boundaries. Trigger with modularization or module boundary request. Loaded by ai-maestro-architect-agent-main-agent
Install
npx vskill@latest install emasoft/ai-maestro-architect-agent/amaa-modularizationSKILL.md
The same SKILL.md was published earlier as emasoft/ai-maestro-architect-agent/amaa-modularization.
Modularization Skill
Overview
Guides decomposition into modules with clear boundaries, minimal coupling, and high cohesion. Covers SOLID principles, boundary identification, API design, dependency management, and modularization validation.
Prerequisites
- Project source code available for analysis
Instructions
Use when starting new projects, refactoring monoliths, analyzing coupling, designing inter-module APIs, or planning microservices migration.
- Apply Principles - Apply SOLID to guide decomposition
- Identify Boundaries - Find natural module boundaries via domain mapping
- Design APIs - Define interfaces and contracts between modules
- Manage Dependencies - Graph dependencies, resolve circulars, extract shared code
- Validate - Verify testability, coupling metrics, deployment independence
See Detailed Procedures for the full phase checklist.
Checklist
Copy this checklist and track your progress:
- [ ] Apply SOLID principles to guide decomposition
- [ ] Identify natural module boundaries via domain mapping
- [ ] Design interfaces and contracts between modules
- [ ] Graph dependencies and resolve circulars
- [ ] Extract shared code into dedicated modules
- [ ] Validate testability, coupling metrics, and deployment independence
Reference Documents
| Document | Contents | |
|---|---|---|
| SOLID Principles | Overview, The Five SOLID Principles, Applying SOLID to Module Boundaries, Validation Checklist, Common Violations and Fixes, Summary | |
| Boundary Patterns | Overview, Core Principle, Step 1: Map Domain Concepts, Step 2: Identify Change Vectors, Step 3: Find Natural Seams, Step 4: Define Bounded Contexts, Step 5: Validate Boundaries | |
| API Design Guide | Overview, Core API Design Principles, API Contract Templates, Versioning Strategy, Compatibility Rules, Data Transfer Objects (DTOs), Error Handling Contracts | |
| Detailed Procedures | What is a Module?, Why Modularization Matters, Detailed Phase Checklist, Examples, Troubleshooting, Next Steps |
Examples
Example: UserService (2000 LOC) → AuthModule, ProfileModule, RegistrationModule, PermissionsModule
Error Handling
| Problem | Solution | |
|---|---|---|
| Module too large | Apply SRP, split by responsibility | |
| Circular dependency | Extract shared interface or invert dependency | |
| Cannot test in isolation | Apply DIP, inject dependencies | |
| API breaks consumers | Implement semantic versioning | |
| Shared code causes ripple changes | Reduce shared surface, consider duplication |
Output
| Phase | Artifact | |
|---|---|---|
| Principles | SOLID compliance assessment per module | |
| Boundaries | Module boundary map with responsibilities | |
| APIs | Interface definitions and contracts | |
| Validation | Coupling/cohesion metrics and test strategy |
Resources
See Reference Documents table above.
- amaa-modularization-ops - operations and troubleshooting quick-reference companion to this skill (loaded on demand for runtime ops/debugging).
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/amaa-modularization/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/emasoft/ai-maestro-architect-agent/amaa-modularization)