stabilize-module - Stabilize and modernize a feature module
Runs a complete stabilization pass on a feature module by improving typing, error handling, subscriptions, structure, dead code, naming, and tests.
Tags
Updated: 2026-11-28Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Analyze module structure
- Type service APIs
- Create domain interfaces
- Add subscription teardown
- Improve error handling
- Remove dead code
- Review templates
- Write tests
- Run verification checks
Inputs
- Feature module name
- Module source files
- Stabilization plan
- API response schemas
- Backend Swagger specification
- Existing module tests
- Project service files
Outputs
- Updated module source files
- Domain interface files
- Updated service and component code
- Updated test files
- Typecheck results
- Lint and verification results
Requirements
- Angular TypeScript project
- Repository file access
- npm toolchain
- Typecheck script
- Shared base HTTP services
- Shared error-handling utility
