Our review
Creates the complete data layer (types, contracts, adapter, and service) for an API resource following the project's architecture.
Strengths
- Enforces separation of concerns
- Generates consistent, reusable code
- Includes TypeScript validation
- Follows defined architecture
Limitations
- Requires clear API specification from user
- May not handle complex nested data
- Assumes Angular-style HTTP client
When adding a new API integration to an Angular application following the project's architecture.
When the project does not use these layers or when a simple fetch is sufficient.
Security analysis
SafeThe skill generates TypeScript source files based on user input and runs a non-destructive TypeScript compilation check. It does not execute external commands, download scripts, or access sensitive data. All tools used (Read, Write, Edit, Bash for tsc, Glob, Grep) are for legitimate local code generation and validation.
No concerns found
Examples
Use dev-create-service for User resource. Endpoint: /api/users, response: { id: number, name: string, email: string }. Operations: GET list, GET by ID, POST.Create service for Product. Base URL: /api/products. Response: { id: number, title: string, price: number, category: string }. Operations: GET list, GET by ID, PATCH, DELETE.Add data layer for Order resource. Endpoint: /api/orders. Response: { id: number, customer_id: number, items: { product_id: number, quantity: number }[], status: string }. Operations: GET list, POST.name: dev-create-service description: "Use when adding API integration to a module - creates types, contracts, adapter, and service layer." user-invocable: true argument-hint: "[resource-name]" allowed-tools: Read, Write, Edit, Bash, Glob, Grep
Create the complete data layer for a resource following docs/ARCHITECTURE.md sections 4.1-4.3.
Resource: $ARGUMENTS
Steps
-
Read
docs/ARCHITECTURE.mdsections 4.1 (Services), 4.2 (Adapters), 4.3 (Types). -
Ask the user:
- What is the endpoint base URL? (e.g.
/api/marketplace) - What is the response JSON format? (ask for an example or describe the fields)
- Which operations? (GET list, GET by ID, POST, PATCH, DELETE)
- What is the endpoint base URL? (e.g.
-
Create in order:
a.
types/[resource].types.ts-- mirrors API exactly (snake_case) b.types/[resource].contracts.ts-- app contract (camelCase, correct types) c.adapters/[resource].adapter.ts-- inbound (API->App) + outbound (App->API) d.services/[resource].service.ts-- HttpClient only, inject(HttpClient), @Injectable({ providedIn: 'root' }) -
Required rules:
- Service: NO try/catch, NO .map()/.filter()/new Date()
- Adapter: pure functions, no side effects
- Types separated: .types.ts (API) != .contracts.ts (App)
-
Validate:
npx tsc --noEmit
Next.js App Router Expert
Development
A skill that turns Claude into a Next.js App Router expert.
README Generator
Development
Creates professional and comprehensive README.md files for your projects.
API Documentation Writer
Development
Generates comprehensive API documentation in OpenAPI/Swagger format.