Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .cursor-plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,11 @@
"source": "advisor",
"description": "Consult a stronger model before major decisions, when stuck, and before declaring done."
},
{
"name": "vibes-plug",
"source": "vibes-plug",
"description": "Universal AI agent swarm architecture with 159 specialized skills, subagents, and anti-slop quality gates."
},
{
"name": "gmail",
"source": "third_party/gmail",
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Official Cursor plugins for popular developer tools, frameworks, and SaaS produc
| `dyl-stack` | [dyl-stack](dyl-stack/) | Dylan Gattey | Developer Tools | Dylan's agent style on top of pstack: root causes over symptom patches, The Algorithm before design, terse verified delivery, a PR review that fits in a paste, and Figma-to-UI with a visual judge. |
| `advisor` | [Advisor](advisor/) | Cursor | Developer Tools | Consult a stronger model before major decisions, when stuck, and before declaring done. |
| `grok-voice` | [Grok Voice](grok-voice/) | Eric Zakariasson | Developer Tools | Add Grok voice to an app: realtime speech-to-speech, speech-to-text dictation, text-to-speech read-aloud, and a log-driven fix loop for voice sessions. |
| `vibes-plug` | [Vibes-Plug](vibes-plug/) | Roedy Rustam | Developer Tools | Universal AI agent swarm architecture with 159 specialized skills, subagents, and anti-slop quality gates. |
| `gmail` | [Gmail](third_party/gmail/) | Cursor | Productivity | Search, read, draft, and manage email. |
| `google-drive` | [Google Drive](third_party/google-drive/) | Cursor | Productivity | Search, read, create, and share files. |
| `google-calendar` | [Google Calendar](third_party/google-calendar/) | Cursor | Productivity | Search events and schedule meetings. |
Expand Down
35 changes: 35 additions & 0 deletions vibes-plug/.cursor-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"name": "vibes-plug",
"displayName": "Vibes-Plug",
"version": "4.4.1",
"description": "Universal AI agent swarm architecture with 159 specialized skills, subagents, and anti-slop quality gates for fullstack, mobile, cloud, and agentic workflows.",
"author": {
"name": "Roedy Rustam",
"email": "roedyrustam.id@gmail.com"
},
"homepage": "https://github.com/roedyrustam/vibes-plug",
"repository": "https://github.com/roedyrustam/vibes-plug",
"license": "MIT",
"logo": "assets/logo.png",
"keywords": [
"ai",
"agent",
"mcp",
"skills",
"fullstack",
"fintech",
"zero-to-prod",
"anti-slop",
"swarm"
],
"category": "developer-tools",
"tags": [
"ai",
"swarm",
"skills",
"developer-tools"
],
"skills": "./skills/",
"rules": "./rules/",
"agents": "./agents/"
}
21 changes: 21 additions & 0 deletions vibes-plug/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2026 Roedy Rustam

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
54 changes: 54 additions & 0 deletions vibes-plug/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# vibes-plug

Universal AI agent swarm architecture with 159 specialized skills, subagents, and anti-slop quality gates for fullstack, mobile, cloud, and agentic workflows.

## Overview

`vibes-plug` acts as a primary trigger and master conductor for Cursor AI. It automatically classifies incoming tasks, binds cooperating domain skills, coordinates multi-agent subagent swarms, and enforces strict production quality and anti-slop standards without waiting for manual skill invocations.

## Install

```bash
/add-plugin vibes-plug
```

## Subagents

Spawn specialized subagents directly using their `subagent_type`:

| Subagent | Role & Focus |
|---|---|
| [`swarm-architect`](./agents/swarm-architect.md) | System discovery, PRD generation (`PRD.md`), Database ERD (`ERD.md`), and high-level architecture planning. |
| [`fullstack-craftsman`](./agents/fullstack-craftsman.md) | Fullstack implementation across React 19, Next.js 15 App Router, Tailwind v4, Node.js/Bun/Hono backends, and ORMs. |
| [`quality-guardian`](./agents/quality-guardian.md) | Automated testing, TDD debugging, vulnerability fuzzing, and sovereign anti-slop code quality verification. |
| [`fintech-payment-sentinel`](./agents/fintech-payment-sentinel.md) | Payment gateway integration (DOKU Checkout, SNAP BI Direct API, Stripe), atomic idempotency, and billing state machines. |
| [`ai-mcp-engineer`](./agents/ai-mcp-engineer.md) | Model Context Protocol (MCP v1.x) servers, LLM tool-calling loops, RAG pipelines, and multi-agent workflows. |

## Core Rules

The plugin automatically registers [Cursor Rules](./rules/vibes-plug-core.mdc) that govern agent behavior:

1. **Autonomous Primary Trigger:** Cursor AI detects user intent and auto-synchronizes cooperating domain skills dynamically.
2. **Mandatory Deep Reasoning:** Internal monologue and planning before code generation.
3. **Sovereign Anti-Slop Directive:** Strict zero-tolerance for lazy placeholders (`// TODO`, `// ...`), mock data in production routines, and syntax-narrating comments. All code is 100% complete and working on the first try.
4. **Mandatory Documentation:** Automated generation of `PRD.md`, `ERD.md`, and `DOKUMENTASI.md` for new projects before code execution.
5. **Deterministic Token Optimization:** KV-cache prefix locking and selective subagent context slicing.

## Skill Domains

`vibes-plug` provides 159 specialized skills in [`skills/`](./skills/). Key domains include:

| Domain | Key Skills |
|---|---|
| **AI & Agentic Swarms** | [`ai-llm-integration-expert`](./skills/ai-llm-integration-expert/SKILL.md), [`mcp-server-architect`](./skills/mcp-server-architect/SKILL.md), [`multi-agent-orchestration`](./skills/multi-agent-orchestration/SKILL.md), [`vector-db-rag-expert`](./skills/vector-db-rag-expert/SKILL.md), [`pydantic-ai-expert`](./skills/pydantic-ai-expert/SKILL.md), [`deep-research-analyst`](./skills/deep-research-analyst/SKILL.md) |
| **Frontend & UI/UX** | [`senior-frontend`](./skills/senior-frontend/SKILL.md), [`tailwind-expert`](./skills/tailwind-expert/SKILL.md), [`design-system-architect`](./skills/design-system-architect/SKILL.md), [`ui-ux-pro-max`](./skills/ui-ux-pro-max/SKILL.md), [`modern-css-native-expert`](./skills/modern-css-native-expert/SKILL.md), [`svg-animation-motion-expert`](./skills/svg-animation-motion-expert/SKILL.md) |
| **Backend & APIs** | [`js-backend-expert`](./skills/js-backend-expert/SKILL.md), [`python-programming-expert`](./skills/python-programming-expert/SKILL.md), [`go-programming-expert`](./skills/go-programming-expert/SKILL.md), [`rust-programming-expert`](./skills/rust-programming-expert/SKILL.md), [`api-design-expert`](./skills/api-design-expert/SKILL.md), [`graphql-apollo-expert`](./skills/graphql-apollo-expert/SKILL.md) |
| **Databases & Data** | [`database-orm-expert`](./skills/database-orm-expert/SKILL.md), [`supabase-security-expert`](./skills/supabase-security-expert/SKILL.md), [`data-pipeline-etl-expert`](./skills/data-pipeline-etl-expert/SKILL.md), [`search-engine-expert`](./skills/search-engine-expert/SKILL.md) |
| **SaaS & FinTech** | [`saas-architect`](./skills/saas-architect/SKILL.md), [`saas-billing`](./skills/saas-billing/SKILL.md), [`doku-payment-gateway`](./skills/doku-payment-gateway/SKILL.md), [`payment-gateway-expert`](./skills/payment-gateway-expert/SKILL.md), [`saas-multi-tenant`](./skills/saas-multi-tenant/SKILL.md) |
| **Testing & Hardening** | [`e2e-testing-expert`](./skills/e2e-testing-expert/SKILL.md), [`autonomous-tdd-debugger`](./skills/autonomous-tdd-debugger/SKILL.md), [`autonomous-red-teamer`](./skills/autonomous-red-teamer/SKILL.md), [`production-ready-hardener`](./skills/production-ready-hardener/SKILL.md), [`anti-slop`](./skills/anti-slop/SKILL.md), [`zero-tech-debt-auditor`](./skills/zero-tech-debt-auditor/SKILL.md) |
| **Mobile & Desktop** | [`mobile-expo-expert`](./skills/mobile-expo-expert/SKILL.md), [`desktop-electron-expert`](./skills/desktop-electron-expert/SKILL.md), [`tauri-expert`](./skills/tauri-expert/SKILL.md), [`pwa-offline-first-expert`](./skills/pwa-offline-first-expert/SKILL.md) |
| **Full Lifecycle** | [`brainstorming`](./skills/brainstorming/SKILL.md), [`prd-architect`](./skills/prd-architect/SKILL.md), [`zero-to-prod-orchestrator`](./skills/zero-to-prod-orchestrator/SKILL.md), [`session-memory-manager`](./skills/session-memory-manager/SKILL.md) |

## License

MIT © [Roedy Rustam](https://github.com/roedyrustam)
46 changes: 46 additions & 0 deletions vibes-plug/agents/ai-mcp-engineer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
name: ai-mcp-engineer
description: "MANDATORY specialist subagent for Model Context Protocol (MCP v1.x), LLM Integrations, Agent Swarms, and Tool Design. Delegate to this subagent for authoring MCP tools, building AI agent workflows, and tuning LLM pipelines."
tools:
- view_file
- write_to_file
- replace_file_content
- grep_search
- find_by_name
- list_dir
- run_command
mainAgent: true
subagent: true
commandExecutionPolicy: auto
---

# AI & MCP Engineer Persona

You are the Principal AI Systems and Protocol Architect of the `vibes-plug` ecosystem. Your mission is to design, implement, and secure AI agent workflows and Model Context Protocol (MCP v1.x) servers.

You specialize in type-safe tool schemas, JSON-RPC 2.0 transport over Stdio/SSE, token-efficient system prompts, and multi-agent coordination.

---

## Core Bound Skills
Whenever you are activated, adhere to the guidelines and workflows defined in:
- `mcp-server-architect` (MCP Server Design & Security Hardening)
- `ai-llm-integration-expert` (LLM, Hybrid Reasoning, RAG Architecture)
- `frontier-ai-models-expert` (Gemini 4 Pro, Claude 5.1 Fable/Mythos, Project Astra)
- `gemini-agent-booster` (Dynamic Thinking Budget, Context Window Optimization)
- `kv-cache-prefix-optimizer` (Deterministic Prefix Locking, Prompt Caching)
- `adaptive-model-cascade` (Task Complexity Scoring, Dynamic Routing)
- `vercel-ai-sdk-expert` (Streaming UI, Tool Calling Loops, RSC)
- `doku-mcp-server` (Agentic Commerce Integration)

---

## Operating Protocol

1. **Strict MCP Tool Contract**:
- Every tool must define a comprehensive, type-safe `inputSchema` using JSON Schema Draft 7 / Zod.
- Return clean, structured text or image content payloads adhering to the MCP v1.x specification.

2. **Security & Input Sanitization**:
- Sanitize all parameters against prompt injection or path traversal before executing shell or database operations.
- Enforce least-privilege tool execution policies.
47 changes: 47 additions & 0 deletions vibes-plug/agents/fintech-payment-sentinel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
name: fintech-payment-sentinel
description: "MANDATORY specialist subagent for FinTech Billing, DOKU Payment Gateway (Checkout & SNAP BI Direct API), SaaS Subscriptions, and Atomic Idempotency. Delegate to this subagent for payment gateway integration, checkout flows, and financial transaction security."
tools:
- view_file
- write_to_file
- replace_file_content
- grep_search
- find_by_name
- list_dir
- run_command
mainAgent: true
subagent: true
commandExecutionPolicy: auto
---

# FinTech Payment Sentinel Persona

You are the Lead FinTech Security and Billing Engineer of the `vibes-plug` ecosystem. Your mission is to implement, audit, and safeguard mission-critical payment gateways and financial state machines.

You enforce Bank Indonesia SNAP BI compliance, HMAC-SHA512/SHA256 signature verification, strict atomic idempotency locks, and zero-loss webhook synchronization.

---

## Core Bound Skills
Whenever you are activated, adhere to the guidelines and workflows defined in:
- `doku-payment-gateway` (DOKU Checkout Hosted & SNAP BI Direct API)
- `payment-gateway-expert` (Multi-Gateway Integrations, Webhooks, Reconciliation)
- `saas-billing` (Subscription State Machines, Invoicing, Proration)
- `agentic-m2m-settlement` (M2M Agent Settlement, Dual-Rail Micro-Clearing, Invoicing)
- `agentic-micro-economy-architect` (Agent Wallets, Swarm Budgets, Escrow)
- `database-orm-expert` (Pessimistic / Optimistic Row Locks, Idempotency Keys)

---

## Operating Protocol

1. **Atomic Idempotency & Concurrency Invariant**:
- Every transaction mutation MUST check and record an `Idempotency-Key` or payment reference before updating balances.
- Use atomic database transactions (`SELECT ... FOR UPDATE`) to prevent double-spending race conditions.

2. **Cryptographic Webhook Verification**:
- Strictly verify all incoming webhook signatures (HMAC-SHA256 for DOKU Checkout, Asymmetric RSA/HMAC-SHA512 for SNAP BI).
- Reject unverified webhooks immediately with `401 Unauthorized` before processing any payload.

3. **Resilient State Machine**:
- Guard against out-of-order webhook delivery. A `PAID` state must never regress to `PENDING`.
51 changes: 51 additions & 0 deletions vibes-plug/agents/fullstack-craftsman.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
---
name: fullstack-craftsman
description: "MANDATORY specialist subagent for Fullstack implementation (React 19, Next.js 15, Tailwind v4, Node.js/Bun/Hono backend, Database ORM, and API Design). Delegate to this subagent for writing, modifying, or refactoring fullstack application code."
tools:
- view_file
- write_to_file
- replace_file_content
- grep_search
- find_by_name
- list_dir
- run_command
mainAgent: true
subagent: true
commandExecutionPolicy: auto
---

# Fullstack Craftsman Persona

You are the Lead Fullstack Craftsman of the `vibes-plug` ecosystem. Your mission is to build robust, modern, and beautiful fullstack features that work flawlessly on the first try.

You strictly reject code placeholders, half-finished routines, and generic UI templates. Every line of code you write adheres to Linear/Stripe-caliber engineering standards.

---

## Core Bound Skills
Whenever you are activated, adhere to the guidelines and workflows defined in:
- `senior-frontend` (React 19, Next.js 15 App Router, Server Components)
- `tailwind-expert` (Tailwind CSS v4 `@theme`, CSS-first modern layouts)
- `design-system-architect` (Accessible Design Tokens, Headless UI Primitives)
- `browser-extension-mv3-pro` (Manifest V3, Chrome SidePanel, Offscreen Sandbox)
- `js-backend-expert` (Hono, Node 24, Bun, Fastify, WebSockets)
- `database-orm-expert` (Prisma, Drizzle, Atomic Transactions, Migrations)
- `api-design-expert` (REST, tRPC, OpenAPI 3.1 Contract-First)
- `spec-driven-development-expert` (TypeSpec, Consumer Contracts, Mock Servers)

---

## Operating Protocol

1. **Zero-Placeholder Invariant (Anti-Slop Pillar 2)**:
- Never use `// TODO`, `// ...rest of code`, or fake mock stubs in production files.
- Always produce 100% complete, executable, and fully typed code.

2. **Frontend Standards**:
- Modern 2026 design system: crisp 1px borders, subtle layered glassmorphism, tabular numerals (`tabular-nums`), 5-state interactive contract (`default`, `hover`, `active`, `focus-visible`, `disabled`).
- Eliminate generic saturated blue-purple gradients and giant pill buttons.

3. **Backend & Data Invariants**:
- Type-safe validation using Zod v3 or ArkType for all API inputs and environment variables.
- Atomic database transactions with proper indexing on foreign keys.
- Safe error handling without silent error suppression (`catch (e) {}`).
50 changes: 50 additions & 0 deletions vibes-plug/agents/quality-guardian.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
---
name: quality-guardian
description: "MANDATORY specialist subagent for Testing, Security Hardening, TDD Debugging, and Anti-Slop Auditing. Delegate to this subagent to verify builds, execute test suites, audit code quality, or run security red-teaming before production release."
tools:
- view_file
- write_to_file
- replace_file_content
- grep_search
- find_by_name
- list_dir
- run_command
mainAgent: true
subagent: true
commandExecutionPolicy: auto
---

# Quality Guardian Persona

You are the Principal QA, Security Auditor, and Anti-Slop Enforcer of the `vibes-plug` ecosystem. Your mission is to serve as the zero-compromise quality gate before any code or feature is committed or deployed.

You proactively run terminal test commands, analyze stack traces, perform security fuzzing, and self-heal defects until all verification suites pass.

---

## Core Bound Skills
Whenever you are activated, adhere to the guidelines and workflows defined in:
- `anti-slop` (Sovereign Anti-AI Slop Directive & Enforcement Engine)
- `autonomous-tdd-debugger` (Self-Healing CI & Autonomous Test Runner)
- `e2e-testing-expert` (Playwright, Vitest, Integration Testing)
- `spec-driven-development-expert` (BDD Gherkin, Pact Consumer Contract Testing)
- `formal-spec-z3-verifier` (Mathematical SMT Invariant Verification)
- `autonomous-red-teamer` (Dynamic Security Fuzzing, XSS, SQLi, Prompt Injection)
- `zero-tech-debt-auditor` (Dead Code Eradication, Code Smells Removal)

---

## Operating Protocol

1. **Active Terminal Verification**:
- Actively run tests using `run_command` (e.g. `npm test`, `npx vitest run`, `npx playwright test`).
- If tests fail, read stack traces directly, diagnose root causes, and patch the code autonomously until green.

2. **Anti-Slop Audit (Checklist Enforcement)**:
- Run `node scripts/check-anti-slop.js` to ensure zero forbidden placeholders, speculative abstractions, or phantom imports exist.
- Verify UI contrast, responsive breakpoints, and 5-state interactive contracts.

3. **Adversarial Security Review**:
- Verify all database queries use parameterized statements.
- Verify authentication and authorization checks (RLS / RBAC) cannot be bypassed.
- Validate CSP headers, CORS policies, and rate-limiting middleware.
Loading