بنقرة واحدة
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 ويثبّتها لك.
Use when checking if code follows ARCHITECTURE.md patterns - runs automated conformance checks.
Use when code changes need review before merge - validates architecture, types, security, and test coverage.
Use when checking if code follows ARCHITECTURE.md patterns - runs automated conformance checks.
Use when code changes need review before merge - validates architecture, types, security, and test coverage.
Use when checking if code follows ARCHITECTURE.md patterns - runs automated conformance checks.
Use when code changes need review before merge - validates architecture, types, security, and test coverage.
استنادا إلى تصنيف SOC المهني
| 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:
/v4/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 -- HTTP only, no try/catch, no transformation
Required rules:
Validate: npx tsc --noEmit