| name | awcms-implement-issue |
| description | Kerjakan satu issue/sprint AWCMS secara atomic dari awal sampai laporan. Gunakan saat diminta "implementasikan Issue X.Y", "kerjakan Sprint N", "buat fitur <modul>", atau saat memulai unit kerja AWCMS apa pun. Orkestrator yang memanggil skill AWCMS lain (migration, endpoint, event, idempotency, abac, audit) sesuai kebutuhan. |
AWCMS — Implement Issue / Sprint (Atomic)
Skill orkestrator untuk mengeksekusi satu unit kerja AWCMS end-to-end sesuai kontrak di AGENTS.md dan docs/awcms/12_generator_prompt.md.
Prasyarat baca (WAJIB sebelum edit)
AGENTS.md — aturan wajib & guardrail.
docs/awcms/06_github_issues_detail.md — detail issue.
docs/awcms/11_implementation_blueprint.md — folder/file target sprint.
- Modul, SQL, OpenAPI, AsyncAPI, dan docs yang terkait scope.
Prosedur
flowchart TD
A[Baca docs + kode terkait] --> B{Scope jelas & atomic?}
B -- Tidak --> C[Pecah / klarifikasi]
B -- Ya --> D[Implementasi minimal]
D --> E{Schema berubah?} -->|Ya| M[awcms-new-migration]
D --> F{API berubah?} -->|Ya| P[awcms-new-endpoint]
D --> G{Event berubah?} -->|Ya| V[awcms-new-event]
D --> H{Mutation high-risk?} -->|Ya| I[awcms-idempotency + awcms-audit-log]
M & P & V & I --> T[awcms-testing]
T --> Q[Validasi: db:migrate · api:spec:check · test · build]
Q --> R[Update docs + laporan implementasi]
Aturan atomic
- Kerjakan hanya scope issue; jangan sentuh file unrelated.
- Data tenant-scoped: tenant context +
awcms-abac-guard + RLS.
- Data sensitif:
awcms-sensitive-data.
- High-risk action:
awcms-audit-log; high-risk mutation: awcms-idempotency.
- Resource deletable: soft delete + restore/purge policy; jangan hapus posted/append-only entity.
- Provider eksternal lewat outbox/queue, tidak di dalam DB transaction.
- Backend/tooling wajib Bun-only. Jangan menambah Node.js/npm/npx/pnpm/yarn atau adapter server Node.js kecuali Bun belum mendukung capability tersebut, maintainer sudah memberi izin eksplisit, dan pengecualian dicatat di docs/audit.
Validasi wajib
bun run db:migrate
bun run api:spec:check
bun test
bun run build
Definition of Done
Ikuti checklist DoD di AGENTS.md. Tutup dengan laporan implementasi:
Summary:
Files changed:
Commands run:
Test results:
Security notes:
Documentation updates:
Remaining limitations:
Next recommended step:
Skill terkait
awcms-new-module, awcms-new-migration, awcms-new-endpoint, awcms-new-event, awcms-idempotency, awcms-abac-guard, awcms-audit-log, awcms-sensitive-data, awcms-testing, awcms-security-review, awcms-pr-review.