new-composable - Create a new composable for TrackGrowth
Guides the creation of reusable reactive logic composables for TrackGrowth following project file structure and architecture conventions.
Tags
Updated: 2026-09-12Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Evaluate composable versus Pinia store usage
- Create composable directory and file structure
- Implement reactive state and derived logic
- Extract pure business logic to src/utils
- Configure VueUse useStorage for UI preferences
- Create unit tests in tests directory
- Run yarn lint fix script
Inputs
- User request specifying composable logic
- TrackGrowth file structure and architecture docs
Outputs
- Composable source file index.ts
- Composable unit test file useX.spec.ts
- Extracted pure utility helper files
Requirements
- TrackGrowth Vue application codebase
- Yarn package manager
