agentleFS
roedyrustamroedyrustam/vibes-plug/.cursor/skills/prd-architect/SKILL.md

prd-architect

Skill129 starsChanged 13 days agoMITView on GitHub

Continuous PRD, ERD, and architectural documentation generation / Pembuatan dokumen PRD, ERD, dan arsitektur sistem secara kontinu.

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

10 rules. About 0 are common, 5 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Mandatory Legal & Privacy Trio Inclusion: Every generated PRD for web/mobile applications MUST define concrete requirements, public routes, …

    line 42
  2. Distinctive:

    Verifiable Quantitative NFR Floors: Every requirement must define measurable numeric criteria (e.g.

    line 44
  3. Distinctive:

    Detect: When user requests a new project build.

    line 51
  4. Distinctive:

    Pause: Do NOT generate any code.

    line 52
  5. Distinctive:

    After every successful feature implementation:

    line 138
  6. Very specific:

    CHANGELOG.md: Add entry under [Unreleased] (Keep-a-Changelog standard: Added/Changed/Fixed/Removed/Security).

    line 139
  7. Distinctive:

    BLUEPRINT.md: Update only if architecture, schema, stack, or entry points changed.

    line 140
  8. Very specific:

    ADR: Create a new ADR (docs/adr/ADR-NNN-title.md) if a significant architectural decision was made and update index (docs/adr/README.md).

    line 142
  9. Very specific:

    MANDATORY: When building a new application, use generate_image to create a custom logo.

    line 171
  10. Very specific:

    MANDATORY: Every new application specification generated by prd-architect MUST mandate the implementation of the Legal & Privacy Trio:

    line 177

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

PRD Architect & Documentation Lifecycle (2026 Edition)

English | Bahasa Indonesia


<a name="english"></a>

English

Orchestration & Integration

  • Upstream Orchestrators: Works under brainstorming and zero-to-prod-orchestrator (Phase 1 - Discovery & PRD, and Phase 8 - Docs Handoff) as the primary specification guardrail.
  • Downstream Cooperating Skills:
    • spec-driven-development-expert — Convert PRD requirements into executable OpenAPI and TypeSpec contracts.
    • domain-driven-design-expert — Model domain bounded contexts and ubiquitous language in PRD sections.
    • session-memory-manager — Ground session memory on approved PRD/ERD specifications and ADR records.
    • anti-slop — Enforce concrete DDL schemas, verifiable NFR targets, and zero marketing buzzwords.
    • production-ready-hardener — Audit documentation completeness before final release.
    • documentation-site-expert — Publish approved PRD, API references, and architecture guides to Mintlify, VitePress, or Fumadocs sites.

Description

A mandatory lifecycle guardrail covering two distinct phases:

  • Phase 1 (Pre-Code): Enforces creating a comprehensive Product Requirements Document (PRD), ERD, and general Documentation before generating code. Introduces PRD-as-Code — machine-readable and version-controlled.
  • Phase 2 (Post-Code / Maintenance): Automatically maintains project documentation after every successful build or feature implementation, updating CHANGELOG.md, BLUEPRINT.md, PROGRESS.md, and Architecture Decision Records (ADRs).

Trigger Conditions

  • Phase 1: User requests building a new app/SaaS/feature from scratch; no existing PRD/blueprint; unclear scope.
  • Phase 2: A feature, bug fix, or refactor is successfully implemented; user asks to "update docs" or "save progress"; a significant architectural decision is made; milestone completion.

Phase 1: Pre-Code Requirements & Enforcement

Why PRD Before Code: Prevents scope creep, aligns AI output, enables traceability, reduces rework, version-controlled.

Hard Guardrails (Declarative Invariants)

  • Mandatory Pre-Code PRD Gate: Code generation must NEVER commence before PRD.md, ERD.md, and DOCUMENTATION.md are drafted, structured, and reviewed. Any attempt to write application code prior to PRD approval violates Phase 1.
  • Mandatory Legal & Privacy Trio Inclusion: Every generated PRD for web/mobile applications MUST define concrete requirements, public routes, and backend deletion handlers for: (1) Privacy Policy (/privacy), (2) Terms & Conditions (/terms), and (3) User Data Deletion flow (/delete-account or /data-deletion) compliant with UU PDP No. 27/2022 and GDPR Art. 17.
  • Zero-Buzzword Technical Concrete Schema: PRDs must completely exclude marketing buzzwords (revolutionary, game-changing, cutting-edge, unleash) and provide concrete PostgreSQL DDL tables with primary keys, indexes, foreign keys, and RLS policies.
  • Verifiable Quantitative NFR Floors: Every requirement must define measurable numeric criteria (e.g. p95 API latency $< 150\text{ ms}$, LCP $< 1.2\text{ s}$, and 99.9% uptime SLA).

Non-Functional Requirements (NFR Contract)

  • Document Coverage: 100% of bounded contexts identified in PRD must map to corresponding ERD tables and API contract routes.
  • Audit Cadence: PRD and blueprint files must be updated atomically on every completed feature phase or breaking schema migration.

Enforcement Protocol

  1. Detect: When user requests a new project build.
  2. Pause: Do NOT generate any code.
  3. Generate Assets (Zero-Slop Standard): Automatically draft PRD.md, ERD.md, DOCUMENTATION.md, and ROADMAP.md (or PROGRESS.md). Enforce anti-slop: zero marketing buzzwords; mandate concrete PostgreSQL DDL schemas, explicit REST/RPC contracts, verified latency NFR budgets, and mandatory Legal & Privacy Trio specifications (Privacy Policy, Terms & Conditions, and User Data Deletion).
  4. Review: Present to user for approval/edits.
  5. Confirm: Proceed to code generation ONLY after approval.
  6. Reference: Cite these documents in all subsequent decisions.

PRD-as-Code Template (12 Sections)

# Product Requirements Document (PRD)
**Project**: [Project Name]
**Version**: 1.0.0
**Status**: Draft | In Review | Approved
**Created**: YYYY-MM-DD
**Last Updated**: YYYY-MM-DD

---
## 1. Executive Summary
[2-3 sentences: What is this product? Who is it for? What problem does it solve?]

## 2. Problem Statement
**Problem**: [Clear description]
**Target Users**: [Specific segments]
**Current Pain Points**: [List]

## 3. Goals & Success Metrics
| Goal | Metric | Target |
|---|---|---|
| [Goal] | [Metric] | [Target] |

## 4. User Personas
### Persona 1: [Name]
- **Role**: [Job title]
- **Goals**: [What they want to achieve]
- **Frustrations**: [What currently doesn't work]
- **Key Behaviors**: [How they'll use this product]

## 5. Feature Requirements
### MVP Features (Must Have — v1.0)
- [ ] **[Core Business Feature]**: [Description. Acceptance criteria: ...]
- [ ] **Legal & Privacy Trio (Mandatory)**: Functional implementations for (1) Privacy Policy (`/privacy`), (2) Terms & Conditions (`/terms`), and (3) User Data Deletion (`/delete-account` or `/data-deletion` + backend deletion endpoint) compliant with UU No. 27/2022 (UU PDP), GDPR Art. 17, Apple 5.1.1(v), and Google Play Data Safety policies.
### Phase 2 Features (Should Have — v1.x)
- [ ] **[Feature Name]**: [Description]
### Future Features (Nice to Have — v2.0+)
- [ ] **[Feature Name]**: [Description]

## 6. Technical Architecture
### Stack Decision
| Layer | Technology | Rationale |
|---|---|---|
| [Layer] | [Technology] | [Reason] |
### Architecture Decisions (ADRs)
- **ADR-001**: [Decision title] — [Decision made and why]
### Multi-Entry Points (if SaaS)
| Entry Point | Domain | Purpose |
|---|---|---|
| [Entry] | [Domain] | [Purpose] |

## 7. Data Model (High-Level)
users ──belongs_to──> workspaces (via workspace_members)
workspaces ──has_many──> projects

## 8. User Flows
### Primary Flow: [Name]
1. User [action 1]
2. System [response 1]

## 9. Non-Functional Requirements
| Requirement | Target |
|---|---|
| Performance | LCP < 2.5s, INP < 200ms |
| Compliance & Privacy | UU No. 27/2022 (UU PDP), GDPR Art. 17, Apple 5.1.1(v), Google Play Data Safety |

## 10. Out of Scope
- [Explicitly excluded item]

## 11. Open Questions
- [ ] [Question that needs decision]

## 12. Approval & Sign-off
| Stakeholder | Role | Status |
|---|---|---|
| [Name] | [Role] | [Status] |

Phase 2: Post-Code Maintenance & Update Protocol

After every successful feature implementation:

  1. CHANGELOG.md: Add entry under [Unreleased] (Keep-a-Changelog standard: Added/Changed/Fixed/Removed/Security).
  2. BLUEPRINT.md: Update only if architecture, schema, stack, or entry points changed.
  3. PROGRESS.md: Mark completed tasks [x], update next steps.
  4. ADR: Create a new ADR (docs/adr/ADR-NNN-title.md) if a significant architectural decision was made and update index (docs/adr/README.md).

Files Maintained Frequency Matrix

FilePurposeUpdate Frequency
CHANGELOG.mdUser-facing list of changesEvery PR / feature
BLUEPRINT.mdTechnical architecture overviewMajor structural changes
PROGRESS.mdDevelopment roadmap and statusEach work session
docs/adr/Architecture Decision RecordsEach key decision

ADR Template

# ADR-001: [Title]
**Status**: Accepted | Rejected | Proposed | Deprecated
**Date**: YYYY-MM-DD
**Deciders**: [Team/Individual]
## Context
[What motivated this decision?]
## Decision
[What is being decided?]
## Rationale
[Why this choice?]
## Consequences
**Positive:** / **Negative:**
## Superseded By
[ADR-XXX] (if applicable)

🎨 Automatic Visual Assets Generation Mandate (CRITICAL)

MANDATORY: When building a new application, use generate_image to create a custom logo. Use it as:

  1. The primary application logo (header/navbar).
  2. The website favicon (favicon.ico).
  3. The Open Graph (OG) image for SEO (og:image).

⚖️ Mandatory Legal & Privacy Trio Mandate (CRITICAL)

MANDATORY: Every new application specification generated by prd-architect MUST mandate the implementation of the Legal & Privacy Trio:

  1. Privacy Policy / Kebijakan Privasi (/privacy or /privacy-policy): Documenting all PII collections, third-party disclosures, retention limits, and data subject rights under UU No. 27/2022 (UU PDP) and GDPR.
  2. Terms & Conditions / Syarat & Ketentuan (/terms or /terms-and-conditions): Legally binding terms covering service access, acceptable use, liability caps, and dispute resolution.
  3. User Data Deletion / Hapus Data (/delete-account or /data-deletion): Public web URL + in-app settings action allowing users to request complete account and personal data erasure, wired to backend crypto-shredding endpoints.

Sovereign Execution, Token Efficiency & Invariants

DimensionSovereign Mandate & Deterministic Contract
Frontier Model CascadeMedium / High (Gemini 4 Neon, Gemini 4 Hydrogen, Gemini 4 Argon, GPT-5.6 Sol Medium, Claude Sonnet 5.5 High, Grok 4.7 High Fast)
Availability FallbackGemini 4 (Carbon/Hydrogen/Neon/Argon/Pro) -> Gemini 3.8 Flash; Claude Opus 5.5 -> Claude Opus 4.6 (Zero unhandled missing-model errors)
KV-Cache & Token ProtocolPin static instructions & schemas at prompt prefix (kv-cache-prefix-optimizer); pass surgical CONTEXT_MAP.md slices (<250 tokens/call) during Swarm Fan-Out
SaaT CLI & MCP DispatchCLI: vibes skill exec prd-architect <audit|eval|verify|generate|blueprint> / MCP: vibes_skill_dispatch, vibes_ast_query, vibes_compile_cache, vibes_optimize_budget, vibes_verify_gate
NFR & Anti-Slop InvariantsP99 API Gateway Latency < 85ms, OpenAPI 3.1 / TypeSpec strict schema parity, RFC 9457 Problem Details error contracts, Idempotency-Key enforcement; 100% complete zero-placeholder output verified via node scripts/check-anti-slop.js --strict


<a name="bahasa-indonesia"></a>

Bahasa Indonesia

Integrasi Orkestrasi

  • Orkestrator Hulu: Beroperasi di bawah arahan brainstorming dan zero-to-prod-orchestrator (Fase 1 - Discovery & PRD, dan Fase 8 - Handoff Dokumen) sebagai guardrail spesifikasi utama.
  • Skill Hilir & Kerja Sama:
    • spec-driven-development-expert — Mengubah kebutuhan PRD menjadi kontrak executable OpenAPI dan TypeSpec.
    • domain-driven-design-expert — Memodelkan bounded context domain dan bahasa terpadu dalam PRD.
    • session-memory-manager — Melandaskan memori sesi pada spesifikasi PRD/ERD dan rekaman ADR yang disetujui.
    • anti-slop — Menegakkan skema DDL konkret, target NFR terverifikasi, dan bebas buzzword pemasaran.
    • production-ready-hardener — Mengaudit kelengkapan dokumentasi sebelum rilis final.

Deskripsi

Guardrail siklus hidup wajib untuk rekayasa perangkat lunak modern:

  • Fase 1 (Pra-Kode / Pre-Code): Memaksa perancangan dokumen spesifikasi (PRD, ERD, Dokumentasi, Roadmap) sebelum sebaris kode pun ditulis. Mencegah pemborosan token dan refaktorisasi berulang.
  • Fase 2 (Pasca-Kode / Post-Code): Memelihara dokumentasi hidup secara berkelanjutan setelah setiap fitur selesai: CHANGELOG.md, BLUEPRINT.md, PROGRESS.md, dan Architecture Decision Records (docs/adr/).

Kondisi Pemicu (Trigger Conditions)

  • Fase 1 (Wajib Aktif):
    • Permintaan proyek baru dari nol ("buatkan aplikasi...", "bikin SaaS...").
    • Tidak ada berkas PRD di direktori akar repositori.
    • Ruang lingkup kebutuhan atau model data belum terdefinisi secara eksplisit.
  • Fase 2 (Pemeliharaan Kontinu):
    • Suatu fitur atau modul berhasil diimplementasikan dan diverifikasi lolos tes.
    • Pengguna meminta "perbarui dokumentasi" atau "catat perubahan ini".
    • Keputusan arsitektur besar diambil (migrasi DB, perubahan auth, adopsi library inti).

Hard Guardrails (Invarian Deklaratif - Bahasa Indonesia)

  • Gerbang Wajib PRD Pra-Kode: Pembuatan kode TIDAK BOLEH dimulai sebelum dokumen PRD.md, ERD.md, dan DOCUMENTATION.md disusun, terstruktur, dan disetujui. Setiap upaya menulis kode aplikasi sebelum persetujuan PRD merupakan pelanggaran Fase 1.
  • Inklusi Wajib Trio Legal & Privasi: Setiap PRD aplikasi web/mobile wajib menetapkan rute publik dan backend handler untuk: (1) Kebijakan Privasi (/privacy), (2) Syarat & Ketentuan (/terms), dan (3) Alur Hapus Data Pengguna (/delete-account atau /data-deletion) sesuai UU PDP No. 27/2022 dan GDPR Art. 17.
  • Skema Teknis Konkret Bebas Buzzword: Dokumen PRD dilarang memuat buzzword pemasaran (revolusioner, canggih, terdepan, unleash) dan wajib menyertakan DDL tabel PostgreSQL konkret dengan primary key, foreign key, indeks, dan aturan RLS.
  • Ambang Batas Kuantitatif NFR Terukur: Setiap kebutuhan teknis wajib memiliki target numerik terukur (latensi p95 API $< 150\text{ ms}$, LCP $< 1.2\text{ s}$, dan SLA ketersediaan 99.9%).

Non-Functional Requirements (Kontrak NFR - Bahasa Indonesia)

  • Cakupan Dokumen: 100% bounded context dalam PRD harus terpetakan ke tabel ERD dan rute kontrak API.
  • Kedisiplinan Audit: Berkas PRD dan blueprint wajib diperbarui secara atomik pada setiap penyelesaian fase fitur atau migrasi skema.

Mengapa PRD Sebelum Kode (Why PRD Before Code)

  1. Mencegah Scope Creep: Membatasi batas fungsional sebelum implementasi.
  2. Penyelarasan Konteks AI: Memberikan grounding akurat bagi seluruh subagen swarm.
  3. Traceability Penuh: Setiap endpoint API dan tabel DB memiliki justifikasi kebutuhan pengguna.
  4. Zero-Slop Standard: Mengeliminasi buzzword pemasaran dan memastikan skema DDL PostgreSQL, kontrak JSON REST/RPC, serta target latensi NFR terukur secara matematis.

Fase 1: Protokol Penegakan 6 Langkah

  1. Deteksi (Detect): Kenali instruksi pembuatan proyek baru dari pengguna.
  2. Jeda (Pause): JANGAN membuat atau mengedit berkas kode program apa pun.
  3. Hasilkan Berkas Spesifikasi (Zero-Slop): Secara otomatis susun draf PRD.md, ERD.md, DOCUMENTATION.md, dan PROGRESS.md dengan menyertakan spesifikasi Trio Hukum & Privasi Wajib (Kebijakan Privasi, Syarat & Ketentuan, dan Hapus Data).
  4. Tinjau (Review): Sajikan draf kepada pengguna untuk validasi dan penyesuaian parameter bisnis.
  5. Konfirmasi (Confirm): Mulai penulisan kode sumber HANYA setelah pengguna memberikan persetujuan ("Proceed", "Lanjut", atau perbaikan disetujui).
  6. Jadikan Referensi (Reference): Rujuk dokumen PRD ini dalam setiap keputusan arsitektur dan penulisan tes TDD.

Template PRD-as-Code Standar (12 Bagian Lengkap)

# Product Requirements Document (PRD)
**Project**: [Nama Proyek / Aplikasi]
**Versi**: 1.0.0
**Status**: Draft | In Review | Approved
**Dibuat**: YYYY-MM-DD
**Terakhir Diperbarui**: YYYY-MM-DD

---
## 1. Ringkasan Eksekutif (Executive Summary)
[2-3 kalimat lugas: Apa produk ini? Siapa target audiensnya? Masalah spesifik apa yang diselesaikan?]

## 2. Pernyataan Masalah (Problem Statement)
- **Masalah Utama**: [Deskripsi konkret pain point di dunia nyata]
- **Target Pengguna**: [Segmen persona spesifik]
- **Kelemahan Solusi Saat Ini**: [Daftar inefisiensi atau risiko dari cara lama]

## 3. Sasaran & Metrik Keberhasilan (Goals & Success Metrics)
| Sasaran Bisnis / Teknis | Metrik Evaluasi | Target Kuantitatif |
|---|---|---|
| Kecepatan Transaksi | Latensi p95 Checkout | < 250ms |
| Adopsi Pengguna | Monthly Active Users | 5,000 pengguna di Q1 |
| Kestabilan Sistem | Error Rate API | < 0.05% |

## 4. Persona Pengguna (User Personas)
### Persona 1: [Nama Karakteristik]
- **Peran**: [Jabatan / Peran Pengguna, misal: Finance Manager]
- **Tujuan Utama**: [Apa hasil yang ingin mereka capai secepat mungkin]
- **Frustrasi Terbesar**: [Halangan yang paling sering mereka hadapi]
- **Pola Interaksi**: [Bagaimana & kapan mereka membuka aplikasi ini]

## 5. Kebutuhan Fitur (Feature Requirements - MoSCoW)
### Fitur MVP (Must Have — v1.0)
- [ ] **[Fitur Inti Bisnis]**: [Deskripsi fungsional. Kriteria Penerimaan: Given-When-Then]
- [ ] **Trio Kepatuhan Hukum & Privasi (Wajib)**: Implementasi lengkap (1) Kebijakan Privasi (`/privacy` atau `/privacy-policy`), (2) Syarat & Ketentuan (`/terms`), dan (3) Hapus Data Pengguna (`/delete-account` atau `/data-deletion` + endpoint backend) sesuai regulasi UU No. 27/2022 (UU PDP), GDPR Art. 17, Apple HIG 5.1.1(v), dan Google Play Data Safety.
- [ ] **[Nama Fitur 2]**: [Deskripsi fungsional. Kriteria Penerimaan: Given-When-Then]
### Fitur Tahap Lanjutan (Should Have — v1.x)
- [ ] **[Nama Fitur 3]**: [Deskripsi fungsional yang meningkatkan efisiensi]
### Fitur Masa Depan (Nice to Have — v2.0+)
- [ ] **[Nama Fitur 4]**: [Eksperimen fitur AI atau otomasi tambahan]

## 6. Arsitektur Teknis (Technical Architecture)
### Pilihan Teknologi (Stack Decision)
| Lapisan (Layer) | Teknologi Terpilih | Alasan & Justifikasi Teknis |
|---|---|---|
| Frontend | Next.js 16 App Router + React 19 | Server Component streaming, caching terintegrasi |
| Styling | Tailwind CSS v4 | CSS-first configuration, performa kompilasi instan |
| Backend API | Node.js 24 LTS + Hono / Express 5 | Latensi ultra-rendah, typing TypeScript end-to-end |
| Database | PostgreSQL 16 + Drizzle ORM | ACID compliance, type-safety, migrasi deterministik |

### Multi-Entry Points (Jika Arsitektur SaaS)
| Entry Point | Subdomain / Path | Tujuan & Peruntukan |
|---|---|---|
| Web Publik | `example.com` | Landing page pemasaran & pendaftaran publik |
| Dashboard Tenant | `app.example.com` | Panel kerja terautentikasi pengguna |
| API Gateway | `api.example.com` | Endpoint integrasi pihak ketiga & webhook |

## 7. Model Data & Hubungan Entitas (High-Level ERD)

users ──1:N──> workspace_members <──N:1── workspaces workspaces ──1:N──> projects ──1:N──> tasks


## 8. Alur Pengguna Utama (Core User Flows)
### Alur 1: Pendaftaran Organisasi & Pembayaran Langganan
1. Pengguna membuka halaman registrasi dan memasukkan kredensial email/password.
2. Sistem membuat baris baru di tabel `users` dan mengirim tautan verifikasi.
3. Pengguna memilih paket langganan dan diarahkan ke gateway pembayaran DOKU / Stripe.
4. Webhook pembayaran menerima status sukses → akun diaktivasi secara atomik.

## 9. Kebutuhan Non-Fungsional (Non-Functional Requirements - NFR)
| Kategori | Parameter | Target Kepatuhan |
|---|---|---|
| Performa Web | Core Web Vitals | LCP < 2.0s, INP < 150ms, CLS < 0.05 |
| Keamanan | Autentikasi | Hashing Argon2id, CSRF token, CSP Level 3 |
| Ketersediaan | SLA Uptime | 99.9% Uptime bulanan |
| Aksesibilitas | Standar A11y | WCAG 2.2 Level AA penuh, kontras rasio >= 4.5:1 |
| Kepatuhan Hukum | Regulasi Privasi | UU No. 27/2022 (UU PDP), GDPR Art. 17, Apple 5.1.1(v), Google Play |

## 10. Batasan Ruang Lingkup (Out of Scope)
- [Daftar hal yang secara eksplisit TIDAK dikerjakan pada versi v1.0]

## 11. Pertanyaan Terbuka & Keputusan Tertunda (Open Questions)
- [ ] [Poin teknis atau regulasi yang masih memerlukan konfirmasi pihak eksternal]

## 12. Persetujuan & Tanda Tangan (Approval & Sign-off)
| Pemangku Kepentingan | Peran / Divisi | Status Persetujuan | Tanggal |
|---|---|---|---|
| [Nama Pemimpin Proyek] | Product Owner | Approved | YYYY-MM-DD |
| [Nama Lead Engineer] | Tech Lead | Approved | YYYY-MM-DD |

Fase 2: Protokol Pemeliharaan & Pembaruan Pasca-Kode

Setelah setiap kali penyelesaian fitur atau perbaikan kode penting:

  1. CHANGELOG.md: Tambahkan catatan versi pada bagian [Unreleased] mengikuti konvensi Keep a Changelog (Added, Changed, Deprecated, Removed, Fixed, Security).
  2. BLUEPRINT.md: Perbarui diagram atau pemetaan arsitektur HANYA jika terdapat perubahan skema database, dependensi inti, atau struktur rute.
  3. PROGRESS.md: Centang kotak tugas yang selesai ([x]) dan perbarui prioritas kerja berikutnya.
  4. ADR (Architecture Decision Records): Terbitkan dokumen baru docs/adr/ADR-NNN-judul.md bila terjadi pemilihan arsitektur strategis, serta sinkronkan indeks pada docs/adr/README.md.

Matriks Frekuensi Pembaruan Berkas

Berkas DokumentasiPeruntukan UtamaFrekuensi Pembaruan
CHANGELOG.mdRiwayat perubahan yang dapat dibaca manusiaSetiap kali pull request atau fitur selesai
BLUEPRINT.mdIkhtisar teknis arsitektur sistemPerubahan struktural besar
PROGRESS.mdPelacak status pengerjaan & checklist tugasSetiap sesi kerja pengembangan
docs/adr/Catatan keputusan arsitektur kunciSetiap keputusan teknologi permanen

Template Standar ADR (Architecture Decision Record)

# ADR-001: [Judul Keputusan Arsitektur]
**Status**: Diterima (Accepted) | Ditolak (Rejected) | Diusulkan (Proposed) | Kedaluwarsa (Deprecated)
**Tanggal**: YYYY-MM-DD
**Pengambil Keputusan**: [Tim / Arsitek Perangkat Lunak]

## Konteks (Context)
[Apa masalah atau tantangan arsitektur yang mendasari perlunya keputusan ini?]

## Keputusan (Decision)
[Teknologi, pola, atau pendekatan arsitektur spesifik apa yang diputuskan untuk diadopsi?]

## Alasan & Dasar Pertimbangan (Rationale)
[Mengapa opsi ini dipilih dibandingkan dengan alternatif lain yang tersedia?]

## Konsekuensi (Consequences)
- **Dampak Positif:** [Keuntungan performa, keterbacaan kode, efisiensi biaya, atau keamanan]
- **Dampak Negatif & Risiko:** [Trade-off komputasi, kompleksitas operasional, atau kurva belajar]

## Digantikan Oleh (Superseded By)
[ADR-XXX] (jika di kemudian hari keputusan ini direvisi oleh ADR yang lebih baru)

🎨 Mandat Pembuatan Aset Visual Otomatis (KRITIS)

WAJIB: Saat menginisialisasi aplikasi web baru dari awal, agen HARUS menggunakan tool generate_image untuk menghasilkan logo merek visual profesional. Aset ini wajib ditempatkan sebagai:

  1. Logo utama aplikasi di komponen header/navbar.
  2. Ikon tab browser atau favicon resmi (favicon.ico atau icon.png).
  3. Banner kartu media sosial Open Graph untuk SEO (og:image).

⚖️ Mandat Wajib Trio Hukum & Privasi (Kebijakan Privasi, Syarat & Ketentuan, Hapus Data) (KRITIS)

WAJIB: Setiap spesifikasi aplikasi baru yang dirancang oleh prd-architect HARUS mewajibkan dan memverifikasi implementasi dari Trio Hukum & Privasi:

  1. Kebijakan Privasi / Privacy Policy (/privacy atau /privacy-policy): Rincian pengumpulan data pribadi, tujuan pemrosesan, retensi, keterlibatan pihak ketiga, dan hak subjek data sesuai UU No. 27/2022 (UU PDP) dan GDPR.
  2. Syarat & Ketentuan / Terms & Conditions (/terms atau /terms-and-conditions): Perjanjian legal hak & batasan pengguna, aturan layanan, serta yurisdiksi penyelesaian sengketa.
  3. Hapus Data Pengguna / User Data Deletion (/delete-account atau /data-deletion): Halaman publik dan tombol aksi profil untuk permohonan penghapusan akun serta data pribadi secara permanen (mandat mutlak Google Play Data Safety & Apple App Store Guideline 5.1.1(v)), terhubung ke API backend crypto-shredding.

Matriks Eksekusi Berdaulat, Efisiensi Token & Invarian

DimensiMandat Berdaulat & Kontrak Deterministik
Kaskade Model FrontierMedium / High (Gemini 4 Neon, Gemini 4 Hydrogen, Gemini 4 Argon, GPT-5.6 Sol Medium, Claude Sonnet 5.5 High, Grok 4.7 High Fast)
Invarian Fallback KetersediaanGemini 4 (Carbon/Hydrogen/Neon/Argon/Pro) -> Gemini 3.8 Flash; Claude Opus 5.5 -> Claude Opus 4.6 (Bebas gagal saat model belum tersedia/kuota penuh)
Protokol Hemat Token & KV-CacheKunci instruksi & skema statis di prefix awal (kv-cache-prefix-optimizer); kirim potongan CONTEXT_MAP.md (<250 token/panggilan) saat Fan-Out
Eksekusi SaaT CLI & MCPCLI: vibes skill exec prd-architect <audit|eval|verify|generate|blueprint> / MCP: vibes_skill_dispatch, vibes_ast_query, vibes_compile_cache, vibes_optimize_budget, vibes_verify_gate
Invarian NFR & Anti-SlopLatensi P99 API < 85ms, paritas skema ketat OpenAPI 3.1 / TypeSpec, kontrak error RFC 9457 Problem Details, penegakan Idempotency-Key; kode 100% tuntas tanpa placeholder diverifikasi melalui node scripts/check-anti-slop.js --strict

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.