modules/<module>/src/services/<Name>Service.ts and a mirrored modules/<module>/tests/services/<Name>Service.spec.ts, and installs the @talosjs/service dependency when missing.
Usage
Examples
Run with no flags to be prompted for the service name:Options
AI Skill
This command ships a matchingservice:create skill. The skill generates the service class and test file, then completes the implementation: defining a proper data type, implementing execute() with the business logic, and injecting dependencies through the constructor. Your AI agent uses it when creating a new business-logic service that implements IService from @talosjs/service.
- Claude
- Codex