Bootstrap a New Service Module
Create a new service module with interface, implementation, and tests using Copilot.
category:setup
service-layer
typescript
workflow
multi-step
0
Prompt
Use Copilot to quickly scaffold a service-layer module that includes types, implementation, and unit tests. ## Steps: 1. Create a file like `userService.ts` and add a comment describing the service responsibilities. 2. Ask Copilot: "Generate an interface for this service including methods for [list of operations]." 3. Review and refine the generated interface. 4. Ask Copilot: "Generate the implementation skeleton for this interface." 5. Create a test file referencing the interface methods. 6. Ask Copilot: "Generate tests for these service methods using Jest or Vitest." 7. Run tests, fix errors, and refine logic.