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
- PANGKAIFENG/ai-product-manager-skillstheir own version, first seen Nov 29, 2026
- u1pns/skills-entrepeneurtheir own version, first seen Jan 25, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- PANGKAIFENG/ai-product-manager-skills★ 20same name
- u1pns/skills-entrepeneur★ 8same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository372 other files it gives its agents.
- AGENTS.mdAGENTS.md
- rules/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/vibes-plug-anti-slop.mdcCursor rule
- .cursor/rules/vibes-plug-backend.mdcCursor rule
- .cursor/rules/vibes-plug-core.mdcCursor rule
- .cursor/rules/vibes-plug-devops.mdcCursor rule
- .cursor/rules/vibes-plug-frontend.mdcCursor rule
- .cursor/rules/vibes-plug-mcp.mdcCursor rule
- .cursor/rules/vibes-plug-skills.mdcCursor rule
- .cursor/rules/vibes-plug-testing.mdcCursor rule
- llms-full.txtllms.txt
- llms.txtllms.txt
- showcase/llms-full.txtllms.txt
- showcase/llms.txtllms.txt
- a2a-agent-protocol-expertSkill
- accessibility-testing-expertSkill
- adaptive-model-cascadeSkill
- affective-computing-emotion-aiSkill
- agentic-coding-workflow-expertSkill
- agentic-m2m-settlementSkill
- agentic-memory-architectSkill
- agentic-micro-economy-architectSkill
- ai-code-review-autonomousSkill
- ai-llm-integration-expertSkill
- ai-media-generation-expertSkill
- ai-prompt-engineering-expertSkill
- ai-safety-governance-expertSkill
- angular-expertSkill
- anti-slopSkill
- api-design-expertSkill
- api-gateway-proxy-expertSkill
- app-analyzer-optimizerSkill
- apple-ecosystem-expertSkill
- app-promo-media-expertSkill
- astro-framework-expertSkill
- async-queue-temporal-expertSkill
- authentication-identity-expertSkill
- autonomous-api-drift-healerSkill
- autonomous-red-teamerSkill
- autonomous-tdd-debuggerSkill
- biome-linter-formatter-expertSkill
- blockchain-web3-expertSkill
- brainstormingSkill
- browser-automation-expertSkill
- browser-extension-mv3-proSkill
- bun-runtime-expertSkill
- chatbot-messaging-expertSkill
- ci-cd-devops-architectSkill
- cloudflare-workers-expertSkill
- cloud-hosting-expertSkill
- coderabbitSkill
- compliance-gdpr-privacy-expertSkill
- composable-mach-architectSkill
- computer-use-os-agent-expertSkill
- context-window-engineerSkill
- cron-scheduler-expertSkill
- database-orm-expertSkill
- data-pipeline-etl-expertSkill
- data-telemetry-expertSkill
- The first 60 shown.
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
- Very specific: line 42
Mandatory Legal & Privacy Trio Inclusion: Every generated PRD for web/mobile applications MUST define concrete requirements, public routes, …
- Distinctive: line 44
Verifiable Quantitative NFR Floors: Every requirement must define measurable numeric criteria (e.g.
- Distinctive: line 51
Detect: When user requests a new project build.
- Distinctive: line 52
Pause: Do NOT generate any code.
- Distinctive: line 138
After every successful feature implementation:
- Very specific: line 139
CHANGELOG.md: Add entry under [Unreleased] (Keep-a-Changelog standard: Added/Changed/Fixed/Removed/Security).
- Distinctive: line 140
BLUEPRINT.md: Update only if architecture, schema, stack, or entry points changed.
- Very specific: line 142
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).
- Very specific: line 171
MANDATORY: When building a new application, use generate_image to create a custom logo.
- Very specific: line 177
MANDATORY: Every new application specification generated by prd-architect MUST mandate the implementation of the Legal & Privacy Trio:
≈ “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.
Files
PRD Architect & Documentation Lifecycle (2026 Edition)
English | Bahasa Indonesia
<a name="english"></a>
English
Orchestration & Integration
- Upstream Orchestrators: Works under
brainstormingandzero-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, andDOCUMENTATION.mdare 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-accountor/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
- Detect: When user requests a new project build.
- Pause: Do NOT generate any code.
- Generate Assets (Zero-Slop Standard): Automatically draft
PRD.md,ERD.md,DOCUMENTATION.md, andROADMAP.md(orPROGRESS.md). Enforceanti-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). - Review: Present to user for approval/edits.
- Confirm: Proceed to code generation ONLY after approval.
- 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:
- CHANGELOG.md: Add entry under
[Unreleased](Keep-a-Changelog standard: Added/Changed/Fixed/Removed/Security). - BLUEPRINT.md: Update only if architecture, schema, stack, or entry points changed.
- PROGRESS.md: Mark completed tasks
[x], update next steps. - 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
| File | Purpose | Update Frequency |
CHANGELOG.md | User-facing list of changes | Every PR / feature |
BLUEPRINT.md | Technical architecture overview | Major structural changes |
PROGRESS.md | Development roadmap and status | Each work session |
docs/adr/ | Architecture Decision Records | Each 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:
- The primary application logo (header/navbar).
- The website favicon (
favicon.ico). - 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:
- Privacy Policy / Kebijakan Privasi (
/privacyor/privacy-policy): Documenting all PII collections, third-party disclosures, retention limits, and data subject rights under UU No. 27/2022 (UU PDP) and GDPR. - Terms & Conditions / Syarat & Ketentuan (
/termsor/terms-and-conditions): Legally binding terms covering service access, acceptable use, liability caps, and dispute resolution. - User Data Deletion / Hapus Data (
/delete-accountor/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
| Dimension | Sovereign Mandate & Deterministic Contract |
| Frontier Model Cascade | Medium / 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 Fallback | Gemini 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 Protocol | Pin 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 Dispatch | CLI: 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 Invariants | P99 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
brainstormingdanzero-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, danDOCUMENTATION.mddisusun, 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-accountatau/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)
- Mencegah Scope Creep: Membatasi batas fungsional sebelum implementasi.
- Penyelarasan Konteks AI: Memberikan grounding akurat bagi seluruh subagen swarm.
- Traceability Penuh: Setiap endpoint API dan tabel DB memiliki justifikasi kebutuhan pengguna.
- 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
- Deteksi (Detect): Kenali instruksi pembuatan proyek baru dari pengguna.
- Jeda (Pause): JANGAN membuat atau mengedit berkas kode program apa pun.
- Hasilkan Berkas Spesifikasi (Zero-Slop): Secara otomatis susun draf
PRD.md,ERD.md,DOCUMENTATION.md, danPROGRESS.mddengan menyertakan spesifikasi Trio Hukum & Privasi Wajib (Kebijakan Privasi, Syarat & Ketentuan, dan Hapus Data). - Tinjau (Review): Sajikan draf kepada pengguna untuk validasi dan penyesuaian parameter bisnis.
- Konfirmasi (Confirm): Mulai penulisan kode sumber HANYA setelah pengguna memberikan persetujuan ("Proceed", "Lanjut", atau perbaikan disetujui).
- 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:
- CHANGELOG.md: Tambahkan catatan versi pada bagian
[Unreleased]mengikuti konvensi Keep a Changelog (Added, Changed, Deprecated, Removed, Fixed, Security). - BLUEPRINT.md: Perbarui diagram atau pemetaan arsitektur HANYA jika terdapat perubahan skema database, dependensi inti, atau struktur rute.
- PROGRESS.md: Centang kotak tugas yang selesai (
[x]) dan perbarui prioritas kerja berikutnya. - ADR (Architecture Decision Records): Terbitkan dokumen baru
docs/adr/ADR-NNN-judul.mdbila terjadi pemilihan arsitektur strategis, serta sinkronkan indeks padadocs/adr/README.md.
Matriks Frekuensi Pembaruan Berkas
| Berkas Dokumentasi | Peruntukan Utama | Frekuensi Pembaruan |
CHANGELOG.md | Riwayat perubahan yang dapat dibaca manusia | Setiap kali pull request atau fitur selesai |
BLUEPRINT.md | Ikhtisar teknis arsitektur sistem | Perubahan struktural besar |
PROGRESS.md | Pelacak status pengerjaan & checklist tugas | Setiap sesi kerja pengembangan |
docs/adr/ | Catatan keputusan arsitektur kunci | Setiap 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:
- Logo utama aplikasi di komponen header/navbar.
- Ikon tab browser atau favicon resmi (
favicon.icoatauicon.png). - 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:
- Kebijakan Privasi / Privacy Policy (
/privacyatau/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. - Syarat & Ketentuan / Terms & Conditions (
/termsatau/terms-and-conditions): Perjanjian legal hak & batasan pengguna, aturan layanan, serta yurisdiksi penyelesaian sengketa. - Hapus Data Pengguna / User Data Deletion (
/delete-accountatau/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
| Dimensi | Mandat Berdaulat & Kontrak Deterministik |
| Kaskade Model Frontier | Medium / 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 Ketersediaan | Gemini 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-Cache | Kunci instruksi & skema statis di prefix awal (kv-cache-prefix-optimizer); kirim potongan CONTEXT_MAP.md (<250 token/panggilan) saat Fan-Out |
| Eksekusi SaaT CLI & MCP | CLI: 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-Slop | Latensi 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 |
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
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.

