What problem does it solve?
This skill provides a centralized set of rules and patterns to ensure consistent SWPM development practices across the codebase, including typing, file structure, naming, and common coding patterns.
Core Features & Use Cases
- Typing rules: use type rather than interface, avoid any, import type for type-only imports, and keep types in *.types.ts files.
- File structure and naming: guidance on folder layout and kebab-case file naming conventions.
- Allowed patterns and clean code: rules for ternaries without business logic, early returns, named exports for utilities, and preferred try/catch styles.
- Export patterns and reviews: guidance on default exports for configs/commands and named exports for utilities; best practices for code reviews and onboarding.
- SOLID and Clean Code: principles emphasis and architecture guidance.
Quick Start
Ask this skill for the SWPM development standards before starting a new module.