Automated summary
This skill covers dependency management, monolith decomposition using the Strangler Fig pattern, and testing strategies for modular systems.
Strengths
- Provides a structured four-step flow: dependency analysis, migration planning, test design, and validation
- Includes an actionable checklist plus detailed reference documents on dependency analysis, Strangler Fig, and module testing
- Offers concrete remedies for common problems such as circular dependencies or shared code causing ripple changes
Limitations
- Assumes a modular architecture is already defined via the amaa-modularization core skill, which it does not provide itself
- Not user-invocable: it is loaded by the ai-maestro-architect-agent-main-agent
- Does not supply automated tooling to generate dependency graphs or run the tests
Use it when you need to analyze module dependencies, plan a monolith extraction, or define a testing strategy for a modular system.
Avoid it when the modular architecture is not yet defined or when the project is too small to warrant decomposition.
Security analysis
SafeThe skill is pure instructional documentation about software modularization: dependency graphing, Strangler Fig migration planning, and test strategy. It declares no allowed-tools, contains no executable commands, network calls, credential handling, or destructive operations. The only mildly notable aspect is that it is marked user-invocable: false and loaded by a named agent, which is a normal orchestration pattern, not a risk.
No concerns found
How this analysis is madeExamples
Resolve the circular dependency between OrderModule and InventoryModule by extracting a shared StockInterface, and show me the resulting dependency graph.Plan a Strangler Fig migration to extract the authentication feature from our monolith into a separate module, step by step.Design a testing pyramid for our modular system: unit tests per module, contract tests between module boundaries, and integration tests for cross-module flows.name: amaa-modularization-ops description: "Use when analyzing dependencies, planning migration, or testing modules. Trigger with modularization ops request. Loaded by ai-maestro-architect-agent-main-agent" context: fork user-invocable: false agent: ai-maestro-architect-agent-main-agent
Modularization Operations
Overview
Covers dependency management, monolith decomposition via the Strangler Fig pattern, and testing strategies for modular systems.
Prerequisites
- Modular architecture defined (see amaa-modularization core skill)
Instructions
- Analyze Dependencies - Graph module dependencies, detect circulars, apply injection
- Plan Migration - Use Strangler pattern for incremental monolith decomposition
- Design Tests - Build testing pyramid with unit, contract, and integration tests
- Validate - Verify isolation, coupling metrics, and deployment independence
Checklist
Copy this checklist and track your progress:
- [ ] Graph all module dependencies and identify direction violations
- [ ] Detect and resolve circular dependencies
- [ ] Plan strangler fig migration steps for monolith features
- [ ] Implement unit tests per module with proper mocking
- [ ] Add contract tests between module boundaries
- [ ] Run integration tests for cross-module flows
Reference Documents
| Document | Contents | |----------|----------| | dependency-analysis.md | Overview, The Dependency Problem, Dependency Direction Rules, Visualizing Dependencies, The Shared Code Problem, Circular Dependency Detection and Resolution, Dependency Injection | | strangler-pattern.md | Overview, Why Strangler Pattern?, The Strangler Fig Pattern, Step-by-Step Monolith Decomposition, Extraction Candidate: [Feature Name], Dealing with Dependencies, Example: Extracting Authentication | | module-testing.md | Overview, Testing Pyramid for Modular Systems, Unit Testing Modules, Mocking Module Dependencies, Contract Testing, Integration Testing, Test Doubles Taxonomy |
Examples
Example: Resolve circular dependency between OrderModule and InventoryModule by extracting shared StockInterface
Error Handling
| Problem | Solution | |---------|----------| | Circular dependency | Extract shared interface or invert dependency | | Cannot test in isolation | Apply DIP, inject dependencies | | Shared code causes ripple changes | Reduce shared surface, consider duplication |
Output
| Phase | Artifact | |-------|----------| | Dependencies | Dependency graph with direction analysis | | Migration | Strangler pattern extraction plan | | Testing | Test strategy with coverage targets |
Resources
See Reference Documents table above.
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/modularization-operations-ms2s7clt/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/modularization-operations-ms2s7clt' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/modularization-operations-ms2s7clt/download' --output '.skill-downloads/modularization-operations-ms2s7clt/SKILL.md.part' && mv '.skill-downloads/modularization-operations-ms2s7clt/SKILL.md.part' '.skill-downloads/modularization-operations-ms2s7clt/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
Original excerpt: Prerequisites
- Modular architecture defined (see amaa-modularization core skill)
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/modularization-operations-ms2s7clt/SKILL.md' && test -s '.skill-downloads/modularization-operations-ms2s7clt/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/amaa-modularization-ops' && cp -R '.skill-downloads/modularization-operations-ms2s7clt' '.claude/skills/amaa-modularization-ops'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/modularization-operations-ms2s7clt'openskills read 'modularization-operations-ms2s7clt'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/modularization-operations-ms2s7clt/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
React Hook Form Best Practices
Development
Master React Hook Form: avoid anti-patterns, manage subscriptions, and handle reset, dirty state, and controlled inputs correctly.
Emotion to Mantine Migration
Development
Migrate Emotion styled-components to Mantine components with style props and CSS modules. Use when converting .styled.tsx files or removing @emotion imports.
Scope Creep Detector
Development
Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad PRs, and oversized changes, then suggests keep, split, or justify actions.