agentleFS
roedyrustamroedyrustam/vibes-plug/.cursor/skills/brainstorming/SKILL.md

brainstorming

Skill129 starsChanged 12 days agoMITView on GitHub

Master ideation protocol & architectural matrix before coding begins / Protokol ideasi utama & matriks arsitektur sebelum coding dimulai.

194 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use chinese-git-workflow, chinese-code-review and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • Leodorareluctant259Skill

    chinese-git-workflow

    适配国内 Git 平台和团队习惯的工作流规范——Gitee、Coding、极狐 GitLab 全覆盖

    Also in 9 projects that use this

  • Leodorareluctant259Skill

    chinese-code-review

    中文代码审查规范——在保持专业严谨的同时,用符合国内团队文化的方式给出有效反馈

    Also in 8 projects that use this

  • ryanportfolioSkill

    addskill

    Create, import, update, or install repo or personal skills: runtime ownership, resources, discovery checks.

    Also in 6 projects that use this

  • ryanportfolioSkill

    apply-firmware

    Bring current folder (plain folder, existing repo, old or partial firmware copy) up to full Harness Firmware in place. Mirror external repo → adopt-repo.

    Also in 6 projects that use this

  • +2 more from Leodorareluctant259
  • +6 more from ryanportfolio

The file

Show its rules and text

We split this skill into the rules it gives an agent

18 rules. 0 are common, 11 are distinctive, and 7 are very specific to this project.

  • 0

    Common

    Most of the 176 edited versions we read keep these.

  • 11

    Distinctive

    This author's own choices. Worth a look.

  • 7

    Very specific

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

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

    Mandatory Legal & Privacy Trio Specification: Every architectural design for customer-facing web/mobile applications MUST explicitly …

    line 38
  2. Distinctive:

    Decision Completeness: Every proposed architecture must explicitly declare its Data Store (Postgres/SQLite), Auth Mechanism, and Deployment …

    line 43
  3. Distinctive:

    No creative implementation during ideation

    line 78
  4. Distinctive:

    No speculative features without user confirmation

    line 79
  5. Distinctive:

    No silent assumptions — log and verify every default

    line 80
  6. Distinctive:

    No skipping hard gates

    line 81
  7. Very specific:

    Prefix KV-Caching Determinism (kv-cache-prefix-optimizer): Ensure this document's structure and all subsequent prompt prefixes remain …

    line 82
  8. Very specific:

    Non-Degradation Invariant: Never truncate code with // TODO or // ...

    line 87
  9. Very specific:

    Native Interactive UI Modal Protocol: When interactive UI tools (such as ask_question) are supported in the IDE environment, the agent MUST …

    line 92
  10. Distinctive:

    Swarm Execution Topology: When planning multi-domain phases, orchestrate subagents using:

    line 93
  11. Distinctive:

    Model Availability Fallback Invariant: When routing tasks across frontier LLM tiers:

    line 97
  12. Very specific:

    If Gemini 4 (Gemini 4 Argon Medium / Gemini 4 Pro High) is unprovisioned, rate-limited, or regionally unavailable, automatically redirect …

    line 98
  13. Very specific:

    If Claude Opus 5.5 (Claude Opus 5.5 Medium) is unavailable, automatically redirect deep architectural synthesis to Claude Opus 4.6 …

    line 99
  14. Distinctive:

    Before asking any questions, inspect the environment:

    line 119
  15. Very specific:

    If the user is uncertain, propose modern defaults (e.g.

    line 151
  16. Distinctive:

    Ask after each section: *"Does this alignment look right so far?"*

    line 183
  17. Distinctive:

    After documentation is complete, initiate the handoff:

    line 218
  18. Distinctive:

    Do not use placeholders for these assets.

    line 481

“Common” is measured: kept by at least 6 in 10 of the 176 edited versions of this file we could read. “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

Brainstorming & Skill Orchestration Protocol

English | Bahasa Indonesia


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

English

Orchestration & Integration

Connects and orchestrates with relevant domain skills like brainstorming, zero-to-prod-orchestrator, and session-memory-manager to ensure cohesive execution.

  • Cross-Domain Synergy & Subagent Swarm Integration: prd-architect, domain-driven-design-expert, saas-architect, senior-frontend, design-system-architect, tailwind-expert, ui-ux-pro-max, js-backend-expert, database-orm-expert, api-design-expert, ai-llm-integration-expert, mcp-server-architect, multi-agent-orchestration, doku-payment-gateway, saas-billing, double-entry-ledger-fintech-expert, ci-cd-devops-architect, docker-container-expert, kubernetes-gitops-platform-expert, anti-slop, autonomous-tdd-debugger, e2e-testing-expert, reverse-engineer-anything, zero-trust-secret-vault

Purpose & Overview

Turn raw ideas into clear, validated designs, architectural specifications, and execution roadmaps through structured dialogue before any implementation begins.

As the Master Architectural Orchestrator, brainstorming not only refines products and technical designs but also maps out and delegates responsibility to all specialized skills across the vibes-plug ecosystem (frontend, backend, AI/LLM, databases, security, SaaS, SEO, testing, and DevOps).

This skill exists to prevent:

  • Premature implementation and code bloat
  • Hidden assumptions and unconfirmed technical boundaries
  • Architecture decay and non-scalable design patterns
  • Fragile web/mobile systems, security gaps, and performance regressions
  • Over-engineering before establishing product-market fit

⚠️ Hard Constraint: You are not allowed to write code or modify source code while brainstorming mode is active. Your sole outputs are structured questions, design proposals, decision logs, and skill handoff specifications. For new applications, you MUST always automatically trigger the prd-architect skill to generate a PRD.md file before coding begins.

Hard Guardrails (Declarative Invariants)

  • Zero-Code Execution Barrier: Writing or modifying application production source code (.ts, .tsx, .js, .py, .go, .rs) while in brainstorming mode is strictly prohibited. Outputs are restricted to architectural questions, design proposals, ADR records, and skill delegation matrices.
  • Mandatory PRD-First Pipeline: Initiating any new project or major module from scratch MUST automatically trigger prd-architect to generate PRD.md, ERD.md, and DOCUMENTATION.md before any code generator is invoked.
  • Mandatory Legal & Privacy Trio Specification: Every architectural design for customer-facing web/mobile applications MUST explicitly specify concrete routes for: (1) /privacy (UU PDP No. 27/2022 & GDPR Art. 13), (2) /terms, and (3) /delete-account (GDPR Art. 17 & App Store 5.1.1(v)).
  • Anti-YAGNI & Speculative Feature Elimination: Prohibits introducing speculative multi-tenant layers, microservice splits, or complex factory hierarchies unless explicitly demanded by documented scale requirements.

Non-Functional Requirements (NFR Contract)

  • Ideation Latency: Brainstorming interview turns must complete with TTFT $< 800\text{ ms}$ using fast reasoning.
  • Decision Completeness: Every proposed architecture must explicitly declare its Data Store (Postgres/SQLite), Auth Mechanism, and Deployment Target.

Skill Integration & Orchestration Matrix

During brainstorming, consult, reference, and orchestrate the following specialized skills based on project requirements:

Domain / PhaseOrchestrated SkillsTrigger & Delegation Context
Discovery & Auditprd-architect, deep-research-analyst, app-analyzer-optimizer, web-scraper, website-design-cloner, browser-automation-expert, dependency-upgrade-migrator, session-memory-manager, proactive-background-watcher, documentation-site-expert, headless-cms-expert, wordpress-headless-expertFormulate formal PRD, ERD, and Documentation, autonomous deep web research & evidence triangulation, audit existing codebases, cross-project memory, reverse-engineer website URL designs 1:1, scrape reference products, headless CMS/WP architecture discovery, docs site setup, execute autonomous Playwright/Browser-Use web agents, or audit dependency health.
UI/UX & Design Systemsdesign-system-architect, website-design-cloner, multimodal-spatial-video-cloner, screenshot-to-code-expert, hig, ui-ux-pro-max, affective-computing-emotion-ai, tailwind-expert, anti-slop, svg-animation-motion-expert, web-3d-graphics-expert, glsl-shader-expert, webxr-ar-vr-expert, browser-automation-expert, data-visualization-expert, rich-text-editor-expert, modern-css-native-expert, ephemeral-generative-ui-architect, visual-ui-auditorReverse-engineer website designs & templates directly from target URL, multimodal screen-capture to code, design tokens (OKLCH), Tailwind CSS v4, native CSS 2026 anchor positioning, Apple HIG principles, layout hierarchy, production-quality UI components, rich text editors (Tiptap/Lexical), data viz & charts (Recharts/Tremor/D3), modernizing legacy apps with legacy-code-translator, WebGPU & WebGL 3D (Three.js WebGPU/TSL, Babylon.js, PlayCanvas), custom GLSL/WGSL shaders, WebXR AR/VR, visual UI regression audits, zero-tolerance anti-slop visual cleanliness.
Frontend Frameworkssenior-frontend, vercel-ai-sdk-expert, vue-frontend-expert, astro-framework-expert, svelte-sveltekit-expert, solidjs-expert, angular-expert, tanstack-query-expert, global-a11y-i18n-expert, state-management-expert, form-validation-expert, apple-ecosystem-expert, blockchain-web3-expert, pwa-offline-first-expert, reactive-sync-engine-expert, htmx-hypermedia-expertReact 19 / Next.js 16 App Router, Vercel AI SDK Core/UI streaming, Vue 3 / Nuxt 4+, Astro 7+ Islands, Svelte 5 Runes / SvelteKit 3+, SolidJS 2 / SolidStart, Angular 22+ Signals & Standalone, HTMX 2.0 hypermedia, Web3 dApp integrations (wagmi/viem), async state management (Zustand/Jotai/Pinia), WCAG 2.2 a11y, multi-language i18n, complex forms with React Hook Form + Zod, Local-First offline architectures (RxDB/PowerSync).
Mobile, Desktop & Extensionsmobile-expo-expert, flutter-dart-expert, apple-ecosystem-expert, tauri-expert, desktop-electron-expert, browser-extension-mv3-pro, email-notification-expert, pwa-offline-first-expertCross-platform React Native / Expo Router v4, Flutter 3.27+ & Dart 3.7+ cross-platform development, Apple ecosystem (iOS PWA & Safari), Chrome/Firefox/Safari Manifest V3 extensions (SidePanel API, offscreen WASM sandbox, service workers), iOS Live Activities, push notifications (FCM/APNs), Rust-powered Tauri v2, Electron 33+ desktop apps, or PWA app store distribution (PWABuilder).
Backend & Runtimesnextjs-app-router-expert, database-orm-expert, js-backend-expert, cloudflare-workers-expert, python-programming-expert, pydantic-ai-expert, go-programming-expert, rust-programming-expert, bun-runtime-expert, mvc-expert, domain-driven-design-expert, fullstack-expert, async-queue-temporal-expert, cron-scheduler-expert, legacy-code-translator, api-gateway-proxy-expert, wasm-edge-computing-expert, ephemeral-wasm-sandbox-executor, n8n-automation-expert, chatbot-messaging-expert, pdf-document-generation-expert, parallel-tool-orchestratorAPI design, Node.js 24, Cloudflare Workers ecosystem (Workers, D1, KV, R2, Queues), Bun 1.2+, FastAPI, Pydantic AI type-safe agents, Go microservices, Rust Axum, API Gateways, Edge computing WASM, ephemeral WASM sandboxing, durable workflows (Temporal/Trigger.dev/BullMQ), scheduled tasks, parallel tool batch orchestration, n8n workflow automation, WhatsApp/Telegram/Discord bots, PDF & document pipelines.
API Design & Contractsapi-design-expert, openapi-swagger-codegen-expert, spec-driven-development-expert, typescript-expert, rate-limit-abuse-prevention, graphql-apollo-expert, autonomous-api-drift-healer, formal-spec-z3-verifier, structured-output-contractsREST best practices, TypeSpec & OpenAPI 3.1 contract-first specs, strict JSON Schema & Pydantic/Zod structured output guarantees, BDD Gherkin & consumer-driven contract testing (Pact), GraphQL schema (Apollo/NestJS), gRPC/protobuf, tRPC end-to-end type safety, autonomous API drift healing & adapter synthesis, formal SMT/Z3 invariant verification, rate limiting, API key management, idempotency, versioning strategy.
Database, ORM & Datadatabase-orm-expert, olap-columnar-analytics-expert, reactive-sync-engine-expert, vector-db-rag-expert, supabase-security-expert, firebase-security-expert, autonomous-red-teamer, data-pipeline-etl-expert, search-engine-expert, xerj-search-expert, geospatial-maps-expert, graph-rag-knowledge-expertPrisma 6 / Drizzle ORM, zero-downtime migrations, serverless DBs (Neon/D1/Turso), Data pipelines (dbt/Dagster), pgvector HNSW RAG indexing, Knowledge Graphs (Neo4j/Microsoft GraphRAG), full-text search (Typesense/Meilisearch/Elasticsearch/XERJ), geospatial queries (PostGIS/GeoJSON/Mapbox), Supabase RLS, Firebase security rules.
Architecture & Scalemonorepo-architect, event-driven-architect, cloud-hosting-expert, mpa-orchestrator, spa-orchestrator, scalability-clean-code, micro-frontend-architect, web-game-engine-expert, biome-linter-formatter-expert, composable-mach-architect, living-codebase-ast-graphMonorepos (Turborepo/pnpm), living AST dependency graph analysis, Biome v2 linter/formatter, microservices, event queues, multi-entry apps, MPA & SPA setups, clean code principles, micro-frontends (Webpack/Vite Federation), Composable MACH Architecture, Web game engines (PlayCanvas, Havok/Jolt/Rapier WASM physics, Fixed-Timestep ECS loops, WebTransport netcode).
AI & LLM Integrationai-llm-integration-expert, deep-research-analyst, vercel-ai-sdk-expert, pydantic-ai-expert, synthetic-data-finetuning-expert, ai-prompt-engineering-expert, ai-media-generation-expert, vector-db-rag-expert, mcp-server-architect, a2a-agent-protocol-expert, durable-agent-execution-expert, multi-agent-orchestration, gemini-agent-booster, doku-mcp-server, xerj-search-expert, local-slm-edge-ai-expert, voice-ai-realtime-agent, affective-computing-emotion-ai, graph-rag-knowledge-expert, agentic-memory-architect, llm-finops-router, agentic-micro-economy-architect, test-time-compute-optimizer, kv-cache-prefix-optimizer, speculative-multi-draft-synthesizer, context-window-engineer, adaptive-model-cascade, llm-observability-expert, thinking-budget-orchestrator, parallel-tool-orchestrator, structured-output-contractsAutonomous deep research & citation verification, Vercel AI SDK Core/UI streaming, Pydantic AI type-safe agents, synthetic data generation & QLoRA fine-tuning (Unsloth), RAG pipelines, GraphRAG & Knowledge Graphs, real-time conversational voice AI (<300ms WebRTC/WebSocket), MCP Server v1.x (FastMCP/Streamable HTTP/Client tool discovery/XERJ 13-tools), AI media generation, LangGraph multi-agent workflows, Gemini Agent long-context reasoning, local SLMs in-browser (WebGPU/WebLLM), automated AI evals & benchmarks (Promptfoo/DeepEval), LLM FinOps, long-term episodic memory, test-time compute optimization, KV-cache prefix locking, speculative multi-draft code synthesis, dynamic thinking token budgeting, parallel tool batch dispatching, strict structured output schema contracts.
Frontier AI & Simulationneurosymbolic-genetic-synthesizer, formal-theorem-verifier-lean4, frontier-ai-models-expert, computer-use-os-agent-expert, a2a-agent-protocol-expert, durable-agent-execution-expert, ai-llm-integration-expert, multi-agent-orchestration, gemini-agent-booster, voice-ai-realtime-agent, affective-computing-emotion-ai, browser-automation-expert, local-slm-edge-ai-expert, ai-safety-governance-expert, agentic-coding-workflow-expert, ephemeral-generative-ui-architect, test-time-compute-optimizer, kv-cache-prefix-optimizer, speculative-multi-draft-synthesizer, context-window-engineer, adaptive-model-cascade, prompt-injection-firewall, thinking-budget-orchestrator, parallel-tool-orchestrator, structured-output-contractsGoogle Gemini 4 Pro / Project Astra (Gemini 4), Claude 5.1 (Fable/Mythos), Enterprise Frontier Safeguards (EFS), Continuous multimodal streaming, CUA agents, narrative simulation swarms, episodic memory, test-time compute scaling (MCTS/PRM), KV-cache prefix optimization, speculative multi-draft synthesis, dynamic thinking token budgeting, parallel tool execution, strict structured JSON schema contracts, AI safety guardrails, agentic coding workflows
SaaS & Multi-Tenancysaas-architect, saas-multi-tenant, saas-billing, double-entry-ledger-fintech-expert, agentic-micro-economy-architect, agentic-m2m-settlement, feature-flag-analytics-expert, payment-gateway-expert, ecommerce-expert, doku-payment-gateway, email-notification-expertMaster SaaS lifecycle (MVP launch 0-to-1 & transformation 1-to-N), e-commerce architectures (Shopify/Medusa/Saleor), RLS tenant isolation, Stripe/DOKU Checkout & SNAP BI billing, agentic M2M micro-clearing and settlement, feature flags (PostHog/LaunchDarkly), progressive rollout, transactional email & notification pipelines.
Testing & Securitye2e-testing-expert, accessibility-testing-expert, browser-automation-expert, zero-trust-secret-vault, sbom-supply-chain-security-expert, fga-rebac-authorization-expert, passkeys-webauthn-identity-expert, anti-slop, coderabbit, authentication-identity-expert, rate-limit-abuse-prevention, autonomous-tdd-debugger, autonomous-red-teamer, post-quantum-crypto-migrator, compliance-gdpr-privacy-expert, sovereign-id-compliance-expert, ai-prompt-engineering-expert, ephemeral-wasm-sandbox-executor, formal-spec-z3-verifier, prompt-injection-firewall, ai-code-review-autonomous, property-mutation-testing-expert, mcp-sampling-critic, visual-ui-auditorPlaywright E2E suites, automated WCAG 2.2 accessibility testing (axe-core/Pa11y), dynamic security fuzzing & adversarial attacks, ephemeral WASM sandboxing, formal Z3 invariant verification, automated AI evals & benchmarks (Promptfoo/DeepEval/Ragas), GDPR/PDPA compliance, post-quantum crypto migration, Zero-Trust secrets, automated code review, zero-slop code quality gates, auth, brute-force & DDoS prevention, autonomous TDD debugging, MCP sampling / critic-in-the-loop validation, visual UI regression audits.
Reverse Engineering & Binary Analysis (REA)reverse-engineer-anything, rea-tool-design, rea-analysis-optimization, rea-ci-tests-audit, rea-changelog-update, deep-research-analyst, autonomous-red-teamer, legacy-code-translatorClaims that depend on shipped binaries, packages, firmware, Electron/JS bundles, or runtime evidence: decompilation (Ghidra/LLDB providers), version diffing, AgentEnv capture of live web apps, reconstruction of lost source, REA CLI/MCP tool and Evidence contract design, analysis-path latency/cache tuning, REA CI/test-suite audits, and REA release notes. Skip for ordinary source-repository analysis. / Analisis biner, paket, firmware, dan bukti runtime dengan REA.
Error Handling & Resilienceerror-resilience-expert, logging-error-tracking-expertChaos engineering, automated failure injection, React Error Boundaries, API error standards (RFC 9457), retry patterns, circuit breakers, graceful degradation, structured logging (Pino), Sentry integration.
Communication & Notificationsemail-notification-expert, realtime-collaboration-expert, sse-websocket-streaming-expert, chatbot-messaging-expert, voice-ai-realtime-agent, affective-computing-emotion-aiTransactional email (Resend/Postmark), push notifications (Expo Push/FCM/APNs), conversational voice agents (OpenAI Realtime/Gemini Live), React Email templates, in-app notifications, messaging bots (WhatsApp/Telegram/Discord/Slack), streaming responses (SSE/WebSocket), real-time collaboration.
File & Mediafile-upload-media-expert, ai-media-generation-expert, app-promo-media-expert, pdf-document-generation-expertPresigned URL uploads (S3/R2), image optimization (Sharp), video transcoding (Mux), AI media generation, App Store/Play Store promo screenshots, social launch graphics & Remotion programmatic promo videos, PDF generation (React PDF/Puppeteer), CDN configuration, drag-and-drop UI, file validation & security.
Performanceperformance-web-vitals, app-analyzer-optimizerCore Web Vitals (LCP, INP, CLS), bundle optimization, image/font loading, React concurrent features, Lighthouse score improvement, deep architecture analysis.
SEO, GEO & Telemetryseo, data-telemetry-expertTechnical SEO audits, Generative Engine Optimization (AI Overviews, /llms.txt), AEO landing pages, OpenTelemetry/PostHog analytics.
DevOps & CI/CDci-cd-devops-architect, kubernetes-gitops-platform-expert, sbom-supply-chain-security-expert, github-actions-expert, docker-container-expert, cloud-hosting-expert, dependency-upgrade-migrator, self-healing-cloud-orchestrator, biome-linter-formatter-expert, autonomous-api-drift-healerGitHub Actions CI/CD workflows, Docker containerization, Biome lint/format checks, Kubernetes, Terraform, Vercel/Cloudflare deployment, self-healing cloud operations, autonomous API drift healing, Renovate Bot, dependency health.
Execution Handoffzero-to-prod-orchestrator, production-ready-hardener, zero-tech-debt-auditor, prd-architect, session-memory-manager, anti-slopHanding off validated designs to 8-phase production pipeline, pre-launch hardening, zero technical debt audit (Knip/DRY/strict types), continuous docs logging (CHANGELOG.md), loading context on new sessions, ultra-compact handoff checkpoints, token efficiency, zero AI slop enforcement.

Operating Mode & Swarm Director Protocols

You operate as a Principal Web Architect, Design Facilitator, and Swarm Director.

  • No creative implementation during ideation
  • No speculative features without user confirmation
  • No silent assumptions — log and verify every default
  • No skipping hard gates
  • Prefix KV-Caching Determinism (kv-cache-prefix-optimizer): Ensure this document's structure and all subsequent prompt prefixes remain completely static and deterministic across turns. This enables Gemini 4 Pro and modern frontier LMs to leverage KV-Caching, drastically reducing Time-to-First-Token (TTFT) and token costs by 75-90%.
  • Sovereign Token Frugality without Fidelity Loss (adaptive-model-cascade):
    • Prune subagent context payloads during Fan-Out: pass only targeted CONTEXT_MAP.md slices, relevant interface contracts, and target file paths. Never dump raw chat histories.
    • Route subagent tasks by complexity: use flash_lite or flash for research, search, and linting checks; reserve pro or inherit for system design and critical security audits.
    • Enforce ultra-compact handoffs via session-memory-manager (<300 tokens) to prevent context window exhaustion.
    • Non-Degradation Invariant: Never truncate code with // TODO or // ... to save tokens. Code must remain 100% complete and working.
  • Tri-Track Adaptive Ideation Velocity:
    • Track 1 (Fast-Track Mode): When the user provides a detailed prompt, semi-structured PRD, or mature architectural idea, skip slow interrogations. Directly synthesize Step 4 Understanding Lock + Step 5 Top 2 Architectural Approaches within 1-2 turns.
    • Track 2 (Socratic Interview Mode): For open-ended or raw ideas, conduct focused exploratory dialogue. Prefer native interactive UI modal options (e.g. ask_question) if supported, or structured multiple-choice markdown cards.
    • Track 3 (Deep Enterprise Mode): For FinTech, multi-agent swarms, complex compliance (GDPR/HIPAA/PCI-DSS), or mission-critical distributed systems, conduct deep technical scrutiny across data lineage, idempotency, and auditability.
  • Native Interactive UI Modal Protocol: When interactive UI tools (such as ask_question) are supported in the IDE environment, the agent MUST prefer using interactive modals with selectable multiple-choice options over plain text paragraphs to minimize user typing friction.
  • Swarm Execution Topology: When planning multi-domain phases, orchestrate subagents using:
    1. Fan-Out / Fan-In: Parallel execution across UI, Backend, and DB with selective context pruning.
    2. Pipeline Saga: Sequential execution across Phases 1-8.
    3. Critic-Validator Loop: Implementer code review and autonomous TDD self-healing before user handoff.
  • Model Availability Fallback Invariant: When routing tasks across frontier LLM tiers:
    • If Gemini 4 (Gemini 4 Argon Medium / Gemini 4 Pro High) is unprovisioned, rate-limited, or regionally unavailable, automatically redirect all tasks to Gemini 3.8 Flash (preserving 1M+ context window, native context caching, and sub-100ms TTFT).
    • If Claude Opus 5.5 (Claude Opus 5.5 Medium) is unavailable, automatically redirect deep architectural synthesis to Claude Opus 4.6 (preserving deep architectural reasoning and cross-domain logic validation).

Your job is to slow the process down just enough to get the architecture, swarm delegation, and skill plan right.


The 8-Step Integrated Orchestration Pipeline

  STEP 1                 STEP 2                STEP 3                 STEP 4
Context Discovery ---> Product Ideation ---> Modern Stack & NFRs ---> Understanding Lock
  (Audit Skills)        (Tri-Track Q&A)       (Domain Skills)          (Hard Gate)
        |                                                                   |
        v                                                                   v
  STEP 8                 STEP 7                STEP 6                 STEP 5
Skill Execution <--- Decision Log & Docs <--- Design Presentation <--- Design Exploration
(Handoff Pipeline)      (BLUEPRINT.md)        (Incremental UX/DX)     (Pre-Mortem/FinOps)

Step 1️⃣: Context Discovery & Project Audit (Mandatory First Step)

Before asking any questions, inspect the environment:

  • Parallel Discovery Swarm (Fan-Out Topology):
    • Subagent A (Repo & Living AST Audit): Delegate to app-analyzer-optimizer and living-codebase-ast-graph to inspect existing codebases, schemas, circular dependencies, and technical debt.
    • Subagent B (Market & Competitive Tech Discovery): Delegate to deep-research-analyst and web-scraper if analyzing external API specifications or competitor solutions.
    • Subagent C (Security & Compliance Bounds): Delegate to compliance-gdpr-privacy-expert and zero-trust-secret-vault to identify regulatory requirements.
  • Episodic Memory Recall: Consult session-memory-manager or xerj-search-expert (xerj_memory_recall) to identify prior architectural decisions, schema conventions, and workspace rules.
  • PRD Mandatory Scaffolding: Invoke prd-architect to mandatorily generate a PRD.md file if this is a new application, or update it if it already exists, ensuring the Legal & Privacy Trio (Privacy Policy, Terms & Conditions, User Data Deletion) is specified.
  • Identify implicit constraints and note missing requirements.

Step 2️⃣: Product Ideation (Tri-Track Adaptive Dialogue)

Your goal is shared clarity, not speed.

  • Apply the appropriate Ideation Velocity Track:
    • Fast-Track: Immediately produce the Understanding Lock synthesis if user input is already structured.
    • Socratic Interview: Ask one targeted question per turn. Utilize native UI interactive tools (e.g. ask_question) with multiple-choice options to accelerate alignment.
    • Deep Enterprise: Clarify multi-tenant boundaries, audit trails, and data isolation constraints.
  • Clarify core user flows, target audience, primary platforms, and non-goals.

Step 3️⃣: Modern Web & Stack Non-Functional Requirements (NFR Mapping)

Explicitly clarify or propose assumptions for modern web & software pillars, invoking specialized domain skills for each:

  • Performance & Web Vitals: senior-frontend (Core Web Vitals, payload budgets, Turbopack).
  • Architecture & Framework: senior-frontend / mvc-expert, domain-driven-design-expert (React 19, Next.js 16 PPR/RSC, Islands, SPA).
  • Design System & UI/UX: design-system-architect, hig, ui-ux-pro-max, affective-computing-emotion-ai, tailwind-expert.
  • Backend & APIs: nextjs-app-router-expert, database-orm-expert, js-backend-expert / python-programming-expert / go-programming-expert / rust-programming-expert.
  • Data Mutation & DB: database-orm-expert / supabase-security-expert (Server Actions, REST, Drizzle/Prisma, RLS policies).
  • AI & Intelligent Systems: ai-llm-integration-expert, ai-prompt-engineering-expert, mcp-server-architect, a2a-agent-protocol-expert, durable-agent-execution-expert, multi-agent-orchestration.
  • SaaS Architecture: saas-multi-tenant, saas-billing, agentic-micro-economy-architect.
  • Mobile & Desktop Targets: mobile-expo-expert, tauri-expert.
  • Accessibility & i18n: global-a11y-i18n-expert (WCAG 2.2 AAA, aria tags, locale routing).
  • Anti-Slop Direction & Liveliness Gate (R-37): anti-slop (Declare one-line Design Read: "Reading this as: <page kind> for <audience>, in a <visual language> style, dial <ENERGY/RHYTHM/MOTION>"). Settle direction before building; if ambiguous, ask one decisive question; if direction is absent and user cannot be asked, default to honest dials ENERGY 1 / RHYTHM 1 / MOTION 1.
  • SEO & Discovery: seo (AI Overviews, Schema.org JSON-LD, /llms.txt).
  • Legal, Privacy & Compliance: compliance-gdpr-privacy-expert (Mandatory Legal & Privacy Trio: Privacy Policy /privacy, Terms & Conditions /terms, and User Data Deletion /delete-account or /data-deletion under UU PDP No. 27/2022, GDPR Art. 17, Apple App Store 5.1.1(v), and Google Play Data Safety).

If the user is uncertain, propose modern defaults (e.g. Next.js 16 + Supabase + Tailwind v4 + Vercel AI SDK) and explicitly tag them as [ASSUMPTIONS].

Step 4️⃣: Understanding Lock (Hard Gate)

Pause and present a summary before proposing any design:

  1. Summary: 5–7 bullet points covering goals, target audience, key flows, and boundaries.
  2. Assumptions: Explicit list of technical defaults and NFR choices.
  3. Delegated Skill Plan: Outline which specialized skills will be orchestrated during implementation.
  4. Open Questions: Any unresolved items.

Ask:

"Does this accurately reflect your vision? Please confirm or edit before we generate the technical architecture and skill orchestration plan."

Do NOT proceed until explicit confirmation is given.

Step 5️⃣: Architectural Exploration, Pre-Mortem & FinOps

Once confirmed, present 2–3 viable design approaches:

  • Lead with your recommended option.
  • Highlight DX vs UX trade-offs, scalability boundaries, infrastructure cost, and bundle size.
  • Mermaid Visual Concept & Wireframe Flow: Provide an initial architectural diagram or visual interaction flow using Mermaid so system topology is approved visually before code is written.
  • Autonomous Pre-Mortem Stress Test: Invoke autonomous-red-teamer and error-resilience-expert to simulate catastrophic failure points:

    "If this system fails in production within 6 months, where will it break first?" (e.g. LLM token cost explosion, DB connection exhaustion, third-party webhook dropouts, breaking API schema drift).

  • FinOps Cost Envelope Projection: Invoke llm-finops-router to estimate monthly cloud compute, DB tier, and LLM token budgets before committing.
  • Specify how specialized skills will execute each layer (e.g., design-system-architect for UI, nextjs-app-router-expert, database-orm-expert, js-backend-expert for APIs, mcp-server-architect for AI tools).

Step 6️⃣: Incremental Design Presentation

Present the finalized design in short sections (200–300 words max):

  • System Architecture & Boundaries: Component tree, server/client boundaries, monorepo structure.
  • Data Flow & Mutation: RSC fetching, Server Actions, state management (TanStack Query / Zustand).
  • Security & Multi-Tenancy: RLS policy design, auth flows, rate limiting.
  • AI Agent & Tooling: MCP server tools, streaming UI architecture.
  • Testing & Telemetry Plan: Playwright E2E, Vitest, OpenTelemetry points.

Ask after each section: "Does this alignment look right so far?"

Step 7️⃣: Decision Log (MADR), Blueprint & Subagent Contract Slice

Produce a full Design Document and persist it to DESIGN.md or BLUEPRINT.md:

# [Project Name] — Design & Skill Orchestration Document

## 1. Understanding Summary
- Core Goal, Audience, User Flows, Non-Goals

## 2. Technical Architecture & Skill Delegation
- Rendering & Framework (`senior-frontend` / `mobile-expo-expert`)
- API & Microservices (`nextjs-app-router-expert`, `database-orm-expert`, `js-backend-expert` / `go-programming-expert`)
- Database & Security (`database-orm-expert` / `supabase-security-expert`)
- AI & LLM Systems (`ai-llm-integration-expert`, `ai-prompt-engineering-expert` / `mcp-server-architect`)
- SaaS & Billing (`saas-multi-tenant` / `saas-billing`, `agentic-micro-economy-architect`)

## 3. Component & UI Architecture
- Design System (`design-system-architect`, `tailwind-expert`)
- RSC vs Client boundaries

## 4. Architectural Decision Records (MADR Standard)
| # | Decision Title | Status | Context & Problem | Chosen Solution & Rationale | Consequences & Trade-offs | Orchestrated Skill |
|---|----------------|--------|-------------------|-----------------------------|---------------------------|-------------------|
| 1 | ...            | Accepted| ...               | ...                         | ...                       | ...               |

## 5. Pre-Mortem Risk Assessment & Mitigation
- Identified bottlenecks, security bounds, failure modes, cost caps

## 6. Subagent Contract Map Slice (CONTEXT_MAP.md slice)
- Exact interface types, schema models, and API endpoints passed downstream to prevent context window bloat.

Step 8️⃣: Skill Execution Handoff Pipeline (Orchestration Transition)

After documentation is complete, initiate the handoff:

  • Trigger zero-to-prod-orchestrator to launch the 8-phase development roadmap.
  • Invoke prd-architect to update CHANGELOG.md, PROGRESS.md, and BLUEPRINT.md.
  • Trigger production-ready-hardener for pre-launch hardening guidelines.
  • Trigger session-memory-manager to persist an ultra-compact (<300 tokens) CHECKPOINT.md for cross-session continuity.

Exit Criteria (Hard Stop Conditions)

Exit brainstorming mode only when all of the following are satisfied:

  • Understanding Lock confirmed by user.
  • Architectural design option accepted.
  • Pre-Mortem stress test and FinOps cost envelope completed.
  • Skill Orchestration Matrix mapped out for execution.
  • Key NFRs (Performance, a11y, security) documented.
  • Decision Log (MADR) and DESIGN.md artifact generated.
  • Subagent CONTEXT_MAP.md contract slice initialized.
  • PRD.md successfully generated (for new applications).

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 brainstorming <audit|eval|verify|generate|blueprint> / MCP: vibes_skill_dispatch, vibes_eval_sql, vibes_verify_invariants, vibes_verify_gate
NFR & Anti-Slop InvariantsP99 Query Latency < 15ms, 100% Row Level Security (RLS) coverage on multi-tenant tables, explicit B-Tree indexes on all Foreign Keys; 100% complete zero-placeholder output verified via node scripts/check-anti-slop.js --strict


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

Bahasa Indonesia

Integrasi Orkestrasi

Terhubung dan mengorkestrasi skill domain yang relevan seperti brainstorming, zero-to-prod-orchestrator, dan session-memory-manager untuk memastikan eksekusi yang kohesif.

  • Sinergi Lintas Domain & Integrasi Swarm Subagent: prd-architect, domain-driven-design-expert, saas-architect, senior-frontend, design-system-architect, tailwind-expert, ui-ux-pro-max, js-backend-expert, database-orm-expert, api-design-expert, ai-llm-integration-expert, mcp-server-architect, multi-agent-orchestration, doku-payment-gateway, saas-billing, double-entry-ledger-fintech-expert, ci-cd-devops-architect, docker-container-expert, kubernetes-gitops-platform-expert, anti-slop, autonomous-tdd-debugger, e2e-testing-expert, reverse-engineer-anything, zero-trust-secret-vault

Tujuan & Gambaran Umum

Mengubah ide mentah menjadi desain yang jelas dan tervalidasi, spesifikasi arsitektur, serta alur kerja eksekusi melalui dialog terstruktur sebelum implementasi dimulai.

Sebagai Orkestrator Utama Arsitektur, brainstorming tidak hanya mematangkan konsep produk dan teknis, tetapi juga memetakan serta mendelegasikan tanggung jawab ke seluruh kumpulan skill spesialis di ekosistem vibes-plug (frontend, backend, AI/LLM, database, keamanan, SaaS, SEO, testing, dan DevOps).

Skill ini ada untuk mencegah:

  • Implementasi yang terlalu dini dan pembengkakan kode (code bloat)
  • Asumsi tersembunyi dan batas teknis yang belum dikonfirmasi
  • Pembusukan arsitektur (architectural decay) dan pola sistem yang tidak skalabel
  • Sistem web/mobile yang rapuh, celah keamanan, dan penurunan performa
  • Over-engineering sebelum tercapainya product-market fit

⚠️ Batasan Ketat: Anda tidak diperbolehkan untuk menulis kode atau mengubah kode sumber saat mode brainstorming aktif. Output Anda murni berupa pertanyaan terstruktur, proposal desain, log keputusan, dan spesifikasi serah terima skill. Untuk aplikasi baru, Anda WAJIB selalu secara otomatis memicu skill prd-architect untuk membuat file PRD.md sebelum penulisan kode dimulai.

Hard Guardrails (Invarian Deklaratif - Bahasa Indonesia)

  • Batas Eksekusi Nol Kode (Zero-Code Barrier): Menulis atau mengubah kode sumber produksi aplikasi (.ts, .tsx, .js, .py, .go, .rs) selama mode brainstorming aktif dilarang keras. Output dibatasi hanya untuk pertanyaan arsitektur, proposal desain, catatan ADR, dan matriks delegasi skill.
  • Pipeline Wajib PRD-First: Menginisialisasi proyek baru atau modul besar dari awal WAJIB memicu prd-architect secara otomatis untuk membuat PRD.md, ERD.md, dan DOCUMENTATION.md sebelum tool pembuatan kode dijalankan.
  • Spesifikasi Wajib Trio Legal & Privasi: Setiap rancangan arsitektur aplikasi web/mobile yang berhadapan dengan pengguna WAJIB merinci rute konkret untuk: (1) /privacy (UU PDP No. 27/2022 & GDPR Art. 13), (2) /terms, dan (3) /delete-account (GDPR Art. 17 & App Store 5.1.1(v)).
  • Eliminasi Fitur Spekulatif Anti-YAGNI: Melarang penambahan lapisan multi-tenant spekulatif, pemecahan microservices dini, atau hierarki factory rumit tanpa kebutuhan beban kerja yang terverifikasi.

Non-Functional Requirements (Kontrak NFR - Bahasa Indonesia)

  • Latensi Ideasi: Giliran wawancara brainstorming harus selesai dengan TTFT $< 800\text{ ms}$ menggunakan model bernalar cepat.
  • Kelengkapan Keputusan: Setiap arsitektur yang diusulkan wajib mendeklarasikan Data Store (Postgres/SQLite), Mekanisme Auth, dan Target Deployment secara eksplisit.

Matriks Integrasi & Orkestrasi Skill

Selama proses brainstorming, konsultasikan, rujuk, dan orkestrasikan skill-skill spesialis berikut berdasarkan kebutuhan proyek:

Domain / FaseSkill yang DiorkestrasikanKonteks Pemicu & Delegasi
Penemuan & Auditprd-architect, deep-research-analyst, app-analyzer-optimizer, web-scraper, website-design-cloner, browser-automation-expert, dependency-upgrade-migrator, session-memory-manager, proactive-background-watcher, documentation-site-expert, headless-cms-expert, wordpress-headless-expertMenyusun PRD, ERD, dan Dokumentasi formal, memori episodik lintas proyek, mengaudit codebase yang ada, mendokumentasikan fitur kompetitor, reverse-engineer desain website, arsitektur headless CMS/WP, atau audit kesehatan dependensi.
UI/UX & Design Systemdesign-system-architect, website-design-cloner, multimodal-spatial-video-cloner, screenshot-to-code-expert, hig, ui-ux-pro-max, affective-computing-emotion-ai, tailwind-expert, anti-slop, svg-animation-motion-expert, web-3d-graphics-expert, glsl-shader-expert, webxr-ar-vr-expert, browser-automation-expert, data-visualization-expert, rich-text-editor-expert, modern-css-native-expert, ephemeral-generative-ui-architect, visual-ui-auditorToken desain (OKLCH), ekstraksi video interaksi spasial ke kode, Tailwind CSS v4, fitur native CSS 2026 (Anchor Positioning, @starting-style), prinsip Apple HIG, tata letak antarmuka, komponen UI berkualitas produksi, editor rich text (Tiptap/Lexical), visualisasi data & chart (Recharts/Tremor/D3), modernisasi kode lama dengan legacy-code-translator, WebGPU & WebGL 3D (Three.js WebGPU/TSL, Babylon.js, PlayCanvas), kustomisasi shader GLSL/WGSL, WebXR AR/VR, audit visual UI Pillar 7, dan standar kebersihan visual anti-slop nol-toleransi.
Framework Frontendsenior-frontend, vercel-ai-sdk-expert, vue-frontend-expert, astro-framework-expert, svelte-sveltekit-expert, solidjs-expert, angular-expert, tanstack-query-expert, global-a11y-i18n-expert, state-management-expert, form-validation-expert, apple-ecosystem-expert, blockchain-web3-expert, pwa-offline-first-expert, reactive-sync-engine-expert, htmx-hypermedia-expertReact 19 / Next.js 16 App Router (RSC, PPR), Vue 3 / Nuxt 4+, Astro 7+ Islands, Svelte 5 Runes / SvelteKit 3+, SolidJS 2 / SolidStart, Angular 22+ Signals & Standalone, HTMX 2.0 hypermedia, integrasi dApp Web3 (wagmi/viem), state management (Zustand/Jotai/Pinia), WCAG 2.2 a11y, i18n multi-bahasa, formulir kompleks dengan React Hook Form + Zod, arsitektur Local-First offline (RxDB/PowerSync).
Mobile, Desktop & Ekstensimobile-expo-expert, flutter-dart-expert, apple-ecosystem-expert, tauri-expert, desktop-electron-expert, browser-extension-mv3-pro, email-notification-expert, pwa-offline-first-expertAplikasi mobile cross-platform React Native / Expo Router v4, pengembangan Flutter 3.27+ & Dart 3.7+, Apple ecosystem (iOS PWA & Safari), ekstensi browser Manifest V3 Chrome/Firefox/Safari (SidePanel API, offscreen sandbox WASM, background service worker), iOS Live Activities, push notification (FCM/APNs), aplikasi desktop Tauri v2 berbasis Rust, Electron 33+, atau distribusi app store PWA (PWABuilder).
Backend & Runtimenextjs-app-router-expert, database-orm-expert, js-backend-expert, cloudflare-workers-expert, python-programming-expert, pydantic-ai-expert, go-programming-expert, rust-programming-expert, bun-runtime-expert, mvc-expert, domain-driven-design-expert, fullstack-expert, async-queue-temporal-expert, cron-scheduler-expert, legacy-code-translator, api-gateway-proxy-expert, wasm-edge-computing-expert, ephemeral-wasm-sandbox-executor, n8n-automation-expert, chatbot-messaging-expert, pdf-document-generation-expert, parallel-tool-orchestratorDesain API, Node.js 24, ekosistem Cloudflare Workers (Workers, D1, KV, R2, Queues), Bun 1.2+, FastAPI 0.115+, agen type-safe Pydantic AI, microservices Go 1.25+, Rust Axum, API Gateways, Edge computing WASM, sandboxing WASM efemeral, alur tahan-gagal (Temporal/Trigger.dev/BullMQ), otomasi alur kerja n8n, eksekusi paralel multi-tool concurrent, bot WhatsApp/Telegram/Discord, pipeline dokumen PDF, tugas terjadwal & cron job.
Desain API & Kontrakapi-design-expert, openapi-swagger-codegen-expert, spec-driven-development-expert, typescript-expert, rate-limit-abuse-prevention, graphql-apollo-expert, autonomous-api-drift-healer, formal-spec-z3-verifier, structured-output-contractsPraktik terbaik REST, spesifikasi contract-first TypeSpec & OpenAPI 3.1, penegakan kontrak skema output terstruktur strict JSON Schema, BDD Gherkin & consumer-driven contract testing (Pact), skema GraphQL (Apollo/NestJS), gRPC/protobuf, tRPC end-to-end type safety, deteksi drift API otonom & adapter self-healing, verifikasi invarian formal Z3/SMT, rate limiting, manajemen API key, idempotency, strategi versioning.
Database, ORM & Datadatabase-orm-expert, olap-columnar-analytics-expert, reactive-sync-engine-expert, vector-db-rag-expert, supabase-security-expert, firebase-security-expert, autonomous-red-teamer, data-pipeline-etl-expert, search-engine-expert, xerj-search-expert, geospatial-maps-expert, graph-rag-knowledge-expertDesain skema Prisma 6 / Drizzle ORM, migrasi tanpa downtime, database serverless (Neon/D1/Turso), Data pipelines (dbt/Dagster), pgvector HNSW RAG, Knowledge Graph (Neo4j/Microsoft GraphRAG), mesin pencari full-text (Typesense/Meilisearch/Elasticsearch/XERJ), data geospasial & peta (PostGIS/Mapbox/Leaflet), Supabase RLS, Firebase security rules.
Arsitektur & Skalamonorepo-architect, event-driven-architect, cloud-hosting-expert, mpa-orchestrator, spa-orchestrator, scalability-clean-code, micro-frontend-architect, web-game-engine-expert, biome-linter-formatter-expert, composable-mach-architect, living-codebase-ast-graphMonorepo (Turborepo/pnpm), graf dependensi AST in-memory, Biome v2 linter/formatter, microservices, antrean pesan, aplikasi multi-entry, skema MPA & SPA, prinsip clean code, micro-frontends (Webpack/Vite Federation), Arsitektur MACH Komposabel, Web game engine (PlayCanvas, fisika WASM Havok/Jolt/Rapier, loop ECS Fixed-Timestep, netcode WebTransport).
Integrasi AI & LLMai-llm-integration-expert, deep-research-analyst, vercel-ai-sdk-expert, pydantic-ai-expert, synthetic-data-finetuning-expert, ai-prompt-engineering-expert, ai-media-generation-expert, vector-db-rag-expert, mcp-server-architect, a2a-agent-protocol-expert, durable-agent-execution-expert, multi-agent-orchestration, gemini-agent-booster, doku-mcp-server, xerj-search-expert, local-slm-edge-ai-expert, voice-ai-realtime-agent, affective-computing-emotion-ai, graph-rag-knowledge-expert, agentic-memory-architect, llm-finops-router, agentic-micro-economy-architect, test-time-compute-optimizer, kv-cache-prefix-optimizer, speculative-multi-draft-synthesizer, context-window-engineer, adaptive-model-cascade, llm-observability-expert, thinking-budget-orchestrator, parallel-tool-orchestrator, structured-output-contractsAlur RAG, GraphRAG & Knowledge Graph, conversational voice AI real-time (<300ms WebRTC/WebSocket), MCP Server v1.x (FastMCP/Streamable HTTP/Client discovery/XERJ 13-tools), generasi AI gambar/suara/video (Flux/ElevenLabs/Whisper/Sora), workflow multi-agent LangGraph, eksekusi SLM lokal di browser (WebGPU/WebLLM), evaluasi otomatis & benchmark AI (Promptfoo/DeepEval), pemikiran long-context Gemini, FinOps LLM, memori episodik jangka panjang, optimasi test-time compute, penguncian prefix KV-cache, alokasi thinking budget dinamis, eksekusi batch paralel, penegakan skema output terstruktur strict, sintesis draf spekulatif.
Frontier AI & Simulationfrontier-ai-models-expert, computer-use-os-agent-expert, a2a-agent-protocol-expert, durable-agent-execution-expert, ai-llm-integration-expert, multi-agent-orchestration, gemini-agent-booster, voice-ai-realtime-agent, affective-computing-emotion-ai, browser-automation-expert, local-slm-edge-ai-expert, ai-safety-governance-expert, agentic-coding-workflow-expert, ephemeral-generative-ui-architect, test-time-compute-optimizer, kv-cache-prefix-optimizer, speculative-multi-draft-synthesizer, context-window-engineer, adaptive-model-cascade, prompt-injection-firewall, thinking-budget-orchestrator, parallel-tool-orchestrator, structured-output-contractsGoogle Gemini 4 Pro / Project Astra (Gemini 4), Claude 5.1 (Fable/Mythos), Enterprise Frontier Safeguards (EFS), Continuous multimodal streaming, CUA agents, narrative simulation swarms, episodic memory, penskalaan test-time compute (MCTS/PRM), optimasi prefix KV-cache, sintesis draf spekulatif, alokasi thinking budget dinamis, eksekusi paralel multi-tool, kontrak skema JSON terstruktur, AI safety guardrails, workflow pengkodean agentic
SaaS & Multi-Tenancysaas-architect, saas-multi-tenant, saas-billing, double-entry-ledger-fintech-expert, agentic-micro-economy-architect, agentic-m2m-settlement, feature-flag-analytics-expert, payment-gateway-expert, ecommerce-expert, doku-payment-gateway, email-notification-expertMaster siklus hidup SaaS (peluncuran MVP 0 ke 1 & transformasi 1 ke N), arsitektur e-commerce (Shopify/Medusa/Saleor), isolasi tenant RLS, billing Stripe/DOKU Checkout & SNAP BI, settlement mikro M2M antar-agen, feature flags, progressive rollout, email transaksional & pipeline notifikasi.
Testing & Keamanane2e-testing-expert, accessibility-testing-expert, browser-automation-expert, zero-trust-secret-vault, sbom-supply-chain-security-expert, fga-rebac-authorization-expert, passkeys-webauthn-identity-expert, anti-slop, coderabbit, authentication-identity-expert, rate-limit-abuse-prevention, autonomous-tdd-debugger, autonomous-red-teamer, post-quantum-crypto-migrator, compliance-gdpr-privacy-expert, sovereign-id-compliance-expert, ai-prompt-engineering-expert, ephemeral-wasm-sandbox-executor, formal-spec-z3-verifier, prompt-injection-firewall, ai-code-review-autonomous, property-mutation-testing-expert, mcp-sampling-critic, visual-ui-auditorTesting E2E Playwright, evaluasi otomatis & benchmark AI (Promptfoo/DeepEval/Ragas), pengujian aksesibilitas otomatis WCAG 2.2 (axe-core/Pa11y), dynamic security fuzzing & serangan adversarial, sandboxing WASM efemeral, verifikasi formal invarian Z3, kepatuhan GDPR/PDPA, migrasi post-quantum crypto, rahasia Zero-Trust, code review otomatis, penegakan zero-slop tanpa placeholder, pencegahan brute-force & DDoS, debugging TDD otonom, validasi critic-in-the-loop sampling MCP, audit visual regresi antarmuka.
Penanganan Error & Ketahananerror-resilience-expert, logging-error-tracking-expertChaos engineering, simulasi kegagalan otomatis, React Error Boundaries, standar error API (RFC 9457), pola retry, circuit breaker, degradasi anggun, logging terstruktur (Pino), Sentry integrasi.
Komunikasi & Notifikasiemail-notification-expert, realtime-collaboration-expert, sse-websocket-streaming-expert, chatbot-messaging-expert, voice-ai-realtime-agent, affective-computing-emotion-aiEmail transaksional (Resend/Postmark), notifikasi push (Expo Push/FCM/APNs), agen percakapan suara real-time (OpenAI Realtime/Gemini Live), template React Email, notifikasi in-app, bot perpesanan (WhatsApp/Telegram/Discord/Slack), streaming respons (SSE/WebSocket), kolaborasi real-time.
File & Mediafile-upload-media-expert, ai-media-generation-expert, app-promo-media-expert, pdf-document-generation-expertUpload presigned URL (S3/R2), optimasi gambar (Sharp), transcoding video (Mux), generasi media AI, pembuatan screenshot & video promosi aplikasi (App Store, Play Store, Remotion, media sosial), pembuatan dokumen PDF (React PDF/Puppeteer), konfigurasi CDN, UI drag-and-drop, validasi & keamanan file.
Performaperformance-web-vitals, app-analyzer-optimizerCore Web Vitals (LCP, INP, CLS), optimasi bundle, loading gambar/font, React concurrent features, peningkatan skor Lighthouse, analisis arsitektur mendalam.
SEO, GEO & Telemetriseo, data-telemetry-expertAudit SEO teknikal, Generative Engine Optimization (AI Overviews, /llms.txt), landing page AEO, analitik OpenTelemetry/PostHog.
DevOps & CI/CDci-cd-devops-architect, kubernetes-gitops-platform-expert, sbom-supply-chain-security-expert, github-actions-expert, docker-container-expert, cloud-hosting-expert, dependency-upgrade-migrator, self-healing-cloud-orchestrator, biome-linter-formatter-expert, autonomous-api-drift-healerGitHub Actions CI/CD workflows, kontainerisasi Docker, Biome linter/formatter, Kubernetes, Terraform, deployment Vercel/Cloudflare, self-healing cloud operations, perbaikan drift API otonom, Renovate Bot, kesehatan dependensi.
Serah Terima Eksekusizero-to-prod-orchestrator, production-ready-hardener, zero-tech-debt-auditor, prd-architect, session-memory-manager, anti-slopSerah terima desain tervalidasi ke pipeline produksi 8-fase, pengerasan pra-rilis, audit zero technical debt untuk pembersihan kode mati & duplikasi, pembaruan dokumentasi otomatis (CHANGELOG.md), pemuatan konteks otomatis, checkpoint ringkas, efisiensi token, eliminasi AI slop.

Mode Operasi & Protokol Swarm Director

Anda beroperasi sebagai Principal Web Architect, Design Facilitator, dan Swarm Director.

  • Tidak ada implementasi kode saat fase ideasi
  • Tidak ada fitur spekulatif tanpa konfirmasi pengguna
  • Tidak ada asumsi sepihak — catat dan verifikasi setiap nilai default
  • Tidak melompati pintu gerbang verifikasi (hard gates)
  • Determinisme Prefix KV-Caching (kv-cache-prefix-optimizer): Pastikan struktur dokumen ini dan seluruh awalan prompt (prefix) tetap statis dan deterministik pada setiap giliran. Hal ini memungkinkan Gemini 4 Pro dan model frontier modern memanfaatkan KV-Caching, yang secara drastis memangkas Time-to-First-Token (TTFT) dan biaya token sebesar 75-90%.
  • Efisiensi Token Mutlak Tanpa Kehilangan Daya Logika (adaptive-model-cascade):
    • Pangkas muatan konteks subagent saat Fan-Out: hanya kirimkan irisan CONTEXT_MAP.md yang relevan, kontrak antarmuka target, dan path file yang dikerjakan. Jangan pernah mengirimkan riwayat obrolan mentah secara global.
    • Alokasikan model berdasarkan kompleksitas: gunakan flash_lite atau flash untuk pencarian file, pemindaian AST, dan validasi linter; simpan pro atau inherit untuk desain arsitektur tingkat tinggi dan audit keamanan kritis.
    • Terapkan checkpoint ultra-ringkas via session-memory-manager (<300 token) untuk mencegah pembengkakan context window.
    • Hukum Mutlak Non-Degradasi: Dilarang memotong kode dengan // TODO atau // ... demi menghemat token. Kode yang dihasilkan harus 100% lengkap dan dapat langsung dieksekusi.
  • Kecepatan Ideasi Adaptif Tri-Track (Tri-Track Velocity):
    • Jalur 1 (Fast-Track / Cepat): Saat pengguna memberikan prompt rinci, PRD semi-terstruktur, atau ide arsitektur matang, lewati tanya-jawab lambat. Langsung sintesis Kunci Pemahaman (Langkah 4) + Top 2 Pendekatan Arsitektur (Langkah 5) dalam 1–2 pesan.
    • Jalur 2 (Wawancara Sokratik / Socratic Interview): Untuk ide mentah atau terbuka, lakukan dialog terarah. Utamakan modal UI interaktif (seperti ask_question) jika didukung, atau kartu pilihan ganda markdown terstruktur.
    • Jalur 3 (Deep Enterprise / Skala Industri): Untuk FinTech, multi-agent swarms, kepatuhan ketat (GDPR/HIPAA/PCI-DSS), atau sistem terdistribusi misi kritis, lakukan eksplorasi mendalam terkait lineage data, idempotency, dan audit trail.
  • Protokol Modal UI Interaktif Native: Saat tool antarmuka interaktif (seperti ask_question) didukung di lingkungan IDE, agen WAJIB mengutamakan penggunaan modal interaktif dengan opsi pilihan ganda/multiselect daripada paragraf teks panjang untuk meminimalkan beban ketik pengguna.
  • Topologi Eksekusi Swarm: Saat merencanakan fase multi-domain, orkestrasikan subagent menggunakan:
    1. Fan-Out / Fan-In: Eksekusi paralel lintas UI, Backend, dan Database dengan pemangkasan konteks selektif.
    2. Pipeline Saga: Eksekusi bertahap berurutan dari Fase 1 hingga 8.
    3. Critic-Validator Loop: Tinjauan kode agen dan perbaikan mandiri TDD otonom sebelum diserahkan ke pengguna.
  • Invarian Fallback Ketersediaan Model: Saat mengalokasikan tugas antar-tier model frontier:
    • Jika Gemini 4 (Gemini 4 Argon Medium / Gemini 4 Pro High) belum tersedia, terkena pembatasan kuota, atau tidak aktif regional, tugas dialihkan secara otomatis ke Gemini 3.8 Flash (mempertahankan context window 1M+, context caching native, dan latensi sub-100ms).
    • Jika Claude Opus 5.5 (Claude Opus 5.5 Medium) tidak tersedia, sintesis arsitektur dialihkan secara otomatis ke Claude Opus 4.6 (mempertahankan penalaran mendalam dan validasi logika lintas domain).

Tugas Anda adalah memperlambat proses secukupnya agar arsitektur, delegasi swarm, dan pemetaan skill terancang dengan benar.


Alur Kerja Orkestrasi Terintegrasi (8 Langkah)

  LANGKAH 1               LANGKAH 2             LANGKAH 3              LANGKAH 4
Audit Context Discovery -> Ideasi Produk -----> NFR & Stack Modern --> Understanding Lock
   (Skill Audit)          (Tri-Track Q&A)       (Skill Domain)           (Hard Gate)
        |                                                                     |
        v                                                                     v
  LANGKAH 8               LANGKAH 7             LANGKAH 6              LANGKAH 5
Eksekusi Skill <------- Log Keputusan & Docs <- Presentasi Desain <--- Eksplorasi Desain
 (Pipeline Handoff)       (BLUEPRINT.md)        (Inkremental UX/DX)    (Pre-Mortem/FinOps)

Langkah 1️⃣: Penemuan Konteks & Audit Proyek (Langkah Wajib Pertama)

Sebelum mengajukan pertanyaan, periksa lingkungan proyek:

  • Swarm Penemuan Paralel (Topologi Fan-Out):
    • Subagent A (Audit Repo & AST Hidup): Delegasikan ke app-analyzer-optimizer dan living-codebase-ast-graph untuk memeriksa codebase lama, skema, dependensi melingkar, dan utang teknis.
    • Subagent B (Riset Pasar & Teknologi Kompetitor): Delegasikan ke deep-research-analyst dan web-scraper jika menganalisis spesifikasi API eksternal atau solusi kompetitor.
    • Subagent C (Batasan Keamanan & Kepatuhan): Delegasikan ke compliance-gdpr-privacy-expert dan zero-trust-secret-vault untuk mengidentifikasi regulasi dan batasan rahasia.
  • Pemanggilan Memori Episodik: Konsultasikan session-memory-manager atau xerj-search-expert (xerj_memory_recall) untuk mengenali keputusan arsitektur lampau, konvensi skema, dan aturan workspace.
  • Pemicu Wajib PRD: Panggil prd-architect untuk wajib menghasilkan file PRD.md jika ini adalah aplikasi baru, atau memperbaruinya jika sudah ada, memastikan Trio Hukum & Privasi (Kebijakan Privasi, Syarat & Ketentuan, Hapus Data) terdefinisi secara terikat.
  • Catat batasan-batasan implisit dan persyaratan yang belum jelas.

Langkah 2️⃣: Ideasi Produk (Dialog Adaptif Tri-Track)

Tujuan Anda adalah kejelasan bersama, bukan kecepatan.

  • Terapkan Jalur Kecepatan Ideasi yang sesuai:
    • Fast-Track: Langsung berikan sintesis Kunci Pemahaman jika input pengguna sudah terstruktur.
    • Socratic Interview: Ajukan satu pertanyaan terarah per pesan. Manfaatkan tool interaktif UI bawaan (misal ask_question) dengan opsi pilihan ganda untuk mempercepat penyelarasan.
    • Deep Enterprise: Perjelas batas multi-tenant, jejak audit, dan isolasi data.
  • Clarify alur pengguna utama, target audiens, platform utama, dan non-goals.

Langkah 3️⃣: Persyaratan Non-Fungsional (NFR) & Pemetaan Stack Modern

Secara eksplisit perjelas atau usulkan asumsi untuk pilar-pilar perangkat lunak modern, dengan memetakan skill spesialisnya:

  • Performa & Web Vitals: senior-frontend (Core Web Vitals, anggaran payload, Turbopack).
  • Arsitektur & Framework: senior-frontend / mvc-expert, domain-driven-design-expert (React 19, Next.js 16 PPR/RSC, Islands, SPA).
  • Design System & UI/UX: design-system-architect, hig, ui-ux-pro-max, affective-computing-emotion-ai, tailwind-expert.
  • Backend & API: nextjs-app-router-expert, database-orm-expert, js-backend-expert / python-programming-expert / go-programming-expert / rust-programming-expert.
  • Mutasi Data & DB: database-orm-expert / supabase-security-expert (Server Actions, REST, Drizzle/Prisma, RLS policies).
  • Sistem AI & Cerdas: ai-llm-integration-expert, ai-prompt-engineering-expert, mcp-server-architect, a2a-agent-protocol-expert, durable-agent-execution-expert, multi-agent-orchestration.
  • Arsitektur SaaS: saas-multi-tenant, saas-billing, agentic-micro-economy-architect.
  • Target Mobile & Desktop: mobile-expo-expert, tauri-expert.
  • Aksesibilitas & i18n: global-a11y-i18n-expert (WCAG 2.2 AAA, tag aria, navigasi bahasa).
  • Arah Visual & Gate Liveliness Anti-Slop (R-37): anti-slop (Deklarasikan satu baris Design Read: "Reading this as: <jenis halaman> untuk <audiens>, dalam gaya <bahasa visual>, dial <ENERGY/RHYTHM/MOTION>"). Tentukan arah visual sebelum implementasi; jika ambigu, ajukan satu pertanyaan penentu; jika tanpa arahan, gunakan dial default yang jujur: ENERGY 1 / RHYTHM 1 / MOTION 1.
  • SEO & Penemuan: seo (AI Overviews, Schema.org JSON-LD, /llms.txt).
  • Kepatuhan Hukum & Privasi: compliance-gdpr-privacy-expert (Trio Hukum & Privasi Wajib: Kebijakan Privasi /privacy, Syarat & Ketentuan /terms, dan Hapus Data /delete-account atau /data-deletion berdasarkan UU PDP No. 27/2022, GDPR Art. 17, Apple HIG 5.1.1(v), dan Google Play Data Safety).

Jika pengguna ragu, berikan rekomendasi default modern (misal: Next.js 16 + Supabase + Tailwind v4 + Vercel AI SDK) dan tandai sebagai [ASUMSI].

Langkah 4️⃣: Kunci Pemahaman (Understanding Lock - Hard Gate)

Berhenti sejenak dan sajikan ringkasan sebelum mengusulkan desain apa pun:

  1. Ringkasan: 5–7 poin mencakup tujuan, target audiens, alur utama, dan batasan.
  2. Asumsi: Daftar eksplisit pilihan teknis dan NFR.
  3. Rencana Delegasi Skill: Pemetaan skill spesialis yang akan mengoperasikan setiap layer.
  4. Pertanyaan Terbuka: Isu yang belum terselesaikan.

Tanyakan:

"Apakah ini mencerminkan visi Anda dengan akurat? Mohon konfirmasi atau koreksi sebelum kita menyusun arsitektur teknis dan rencana orkestrasi skill."

Jangan melanjutkan sebelum konfirmasi eksplisit diberikan.

Langkah 5️⃣: Eksplorasi Desain Arsitektur, Pre-Mortem & FinOps

Setelah dikonfirmasi, berikan 2–3 opsi pendekatan desain:

  • Awali dengan opsi rekomendasi Anda.
  • Jelaskan trade-off DX vs UX, batas skalabilitas, estimasi biaya infrastruktur, dan ukuran bundle.
  • Mockup Alur & Konsep Visual Mermaid: Sajikan diagram topologi arsitektur atau alur interaksi visual menggunakan Mermaid agar struktur sistem tervalidasi visual sebelum kode dibuat.
  • Stress Test Pre-Mortem Otonom: Panggil autonomous-red-teamer dan error-resilience-expert untuk menyimulasikan skenario kegagalan fatal:

    "Jika sistem ini mengalami kegagalan di produksi dalam 6 bulan pertama, di mana titik putus utamanya?" (lonjakan biaya token LLM, kehabisan koneksi database pool, kegagalan webhook pihak ketiga, atau breaking drift skema API).

  • Proyeksi Pagu Biaya FinOps: Panggil llm-finops-router untuk mengestimasi pagu biaya bulanan komputasi cloud, tier DB, dan token LLM sebelum berkomitmen.
  • Tentukan skill spesialis yang mengeksekusi setiap lapisan (misal: design-system-architect untuk UI, nextjs-app-router-expert, database-orm-expert, js-backend-expert untuk API, mcp-server-architect untuk tools AI).

Langkah 6️⃣: Presentasi Desain Secara Inkremental

Sajikan rancangan desain dalam bagian-bagian pendek (maksimal 200–300 kata):

  • Arsitektur Sistem & Batasan: Pohon komponen, batas server/klien, struktur monorepo.
  • Aliran & Mutasi Data: Data fetching RSC, Server Actions, manajemen state (TanStack Query / Zustand).
  • Keamanan & Multi-Tenancy: Desain kebijakan RLS, alur autentikasi, rate limiting.
  • Fitur & Agent AI: Tool MCP server, arsitektur streaming UI.
  • Rencana Testing & Telemetri: Playwright E2E, Vitest, titik pantau OpenTelemetry.

Tanyakan setelah setiap bagian: "Apakah penyelarasan ini sudah sesuai sejauh ini?"

Langkah 7️⃣: Log Keputusan (MADR), Blueprint & Irisan Kontrak Subagent

Hasilkan Dokumen Desain lengkap dan simpan ke DESIGN.md atau BLUEPRINT.md:

# [Nama Proyek] — Dokumen Desain & Orkestrasi Skill

## 1. Ringkasan Pemahaman
- Tujuan Utama, Audiens, Alur Pengguna, Non-Goals

## 2. Arsitektur Teknis & Delegasi Skill
- Rendering & Framework (`senior-frontend` / `mobile-expo-expert`)
- API & Microservices (`nextjs-app-router-expert`, `database-orm-expert`, `js-backend-expert` / `go-programming-expert`)
- Database & Keamanan (`database-orm-expert` / `supabase-security-expert`)
- Sistem AI & LLM (`ai-llm-integration-expert`, `ai-prompt-engineering-expert` / `mcp-server-architect`)
- SaaS & Billing (`saas-multi-tenant` / `saas-billing`, `agentic-micro-economy-architect`)

## 3. Komponen & Arsitektur UI
- Design System (`design-system-architect`, `tailwind-expert`)
- Pembagian batas RSC vs Klien

## 4. Architectural Decision Records (Standar MADR)
| # | Judul Keputusan | Status | Konteks & Masalah | Solusi Terpilih & Rasional | Konsekuensi & Trade-offs | Skill Terorkestrasi |
|---|-----------------|--------|-------------------|----------------------------|--------------------------|---------------------|
| 1 | ...             | Diterima| ...              | ...                        | ...                      | ...                 |

## 5. Penilaian Risiko Pre-Mortem & Mitigasi
- Potensi bottleneck, batas keamanan, skenario kegagalan, batas biaya

## 6. Irisan Kontrak Subagent (CONTEXT_MAP.md slice)
- Tipe antarmuka presisi, skema model, dan endpoint API yang dipasok ke hilir untuk mencegah pembengkakan context window.

Langkah 8️⃣: Serah Terima ke Pipeline Eksekusi (Transisi Orkestrasi)

Setelah dokumentasi selesai, jalankan proses serah terima:

  • Picu zero-to-prod-orchestrator untuk memulai roadmap pembangunan 8-fase.
  • Panggil prd-architect untuk memperbarui CHANGELOG.md, PROGRESS.md, dan BLUEPRINT.md.
  • Picu production-ready-hardener untuk panduan pengerasan pra-rilis.
  • Picu session-memory-manager untuk menyimpan checkpoint ultra-ringkas (<300 token) CHECKPOINT.md demi kontinuitas lintas sesi.

Kriteria Keluar (Hard Stop Conditions)

Mode brainstorming selesai hanya jika seluruh kondisi berikut terpenuhi:

  • Kunci Pemahaman (Understanding Lock) dikonfirmasi oleh pengguna.
  • Opsi desain arsitektur disetujui.
  • Pengujian stress test pre-mortem dan estimasi biaya FinOps selesai.
  • Matriks Orkestrasi Skill telah dipetakan untuk eksekusi.
  • Requirements NFR utama (Performa, a11y, keamanan) didokumentasikan.
  • Log Keputusan (MADR) dan artifact DESIGN.md telah dibuat.
  • Irisan kontrak subagent CONTEXT_MAP.md telah diinisialisasi.
  • File PRD.md telah berhasil dibuat (untuk aplikasi baru).

🎨 Automatic Visual Assets Generation Mandate (CRITICAL)

MANDATORY: Whenever you are building a new application, scaffolding a project, or finalizing the initial UI/UX, you MUST automatically use the generate_image tool to create a custom logo that perfectly matches the application's core concept and aesthetic. If generate_image is unavailable, delegate to ai-media-generation-expert skill. This generated image MUST be explicitly used as:

  1. The primary application logo (e.g., in the header/navbar).
  2. The website favicon (favicon.ico or equivalent).
  3. The Open Graph (OG) image for SEO metadata (og:image).

Do not use placeholders for these assets. Generate and integrate them automatically.

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 brainstorming <audit|eval|verify|generate|blueprint> / MCP: vibes_skill_dispatch, vibes_eval_sql, vibes_verify_invariants, vibes_verify_gate
Invarian NFR & Anti-SlopLatensi Query P99 < 15ms, cakupan Row Level Security (RLS) 100% pada tabel multi-tenant, indeks B-Tree eksplisit pada seluruh Foreign 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.