بنقرة واحدة
dev-create-service
Use when adding API integration to a module - creates types, contracts, adapter, and service layer.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Use when adding API integration to a module - creates types, contracts, adapter, and service layer.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Use when you need a comprehensive code audit covering security, performance, architecture, and dependencies before a release, major refactor, or compliance review.
Use when you want to iteratively build a feature using a PRD as source of truth, with progress tracking and fresh-context iterations - the Autopilot technique for autonomous development.
Use when starting a complex feature, exploring unclear requirements, or needing to challenge assumptions before committing to a design - before /plan.
Use when you need a comprehensive code review combining architecture, security, and test perspectives - especially before merging, releasing, or after major changes.
Use when creating marketing copy for landing pages, email campaigns, product descriptions, or social media - with A/B variants and conversion-focused frameworks.
Use when optimizing landing pages, signup flows, checkout processes, or any user-facing page for higher conversion rates - before A/B testing.
| 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
Read docs/ARCHITECTURE.md sections 4.1 (Services), 4.2 (Adapters), 4.3 (Types).
Ask the user:
/api/marketplace)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:
Validate: npx tsc --noEmit