dev-create-service
CommunityAuto-build API data layers for modules.
AuthorHerbertJulio
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill automates the creation of a complete data layer when integrating APIs into a module, generating type definitions, API contracts, an adapter, and a service layer to wire client code to backend services.
Core Features & Use Cases
- Generates types in types/[resource].types.ts that mirror API payloads (snake_case) and app contracts in types/[resource].contracts.ts (camelCase, correctly typed).
- Scaffolds an adapter in adapters/[resource]-adapter.ts that implements pure, side-effect-free mappings between inbound API payloads and app models, as well as outbound transformations.
- Creates a production-ready service in services/[resource]-service.ts that uses native fetch, with no try/catch blocks and no data transformations, suitable for deterministic API calls.
- Produces a clear separation of concerns: types, contracts, adapters, and services aligned to docs/ARCHITECTURE.md sections 4.1-4.3.
Quick Start
Provide the base API URL and a sample response shape, then run this skill to generate the full data layer.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: dev-create-service Download link: https://github.com/HerbertJulio/specialist-agent/archive/main.zip#dev-create-service Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.