Skip to content
Z-M-Huang edited this page Apr 6, 2026 · 22 revisions

VCP — Vibe Coding Protocol

Multi-AI development pipelines with built-in security enforcement.

VCP is a protocol with three Claude Code plugins that orchestrate multiple AI models through structured development stages and enforce 41 security and quality standards with real-time blocking.

Plugins

Plugin Purpose Components
Dev Buddy Multi-AI stage orchestration with Ralph loop architecture 10 skills, 6 stage definitions, 6 role prompts
VCP Standards enforcement — security, architecture, quality scanning 10 skills, 1 agent, 4 hooks
MCP Doc Documentation manifest generator for git-doc-mcp 5 skills

Quick Start

# 1. Add the VCP marketplace
/plugin marketplace add Z-M-Huang/vcp

# 2. Install plugins
/plugin install vcp@vcp
/plugin install vcp@dev-buddy
/plugin install vcp@mcp-doc

# 3. Initialize your project (VCP)
/vcp-init

# 4. Run your first audit
/vcp-audit src/

# 5. Build a feature with the Ralph loop
/dev-buddy-ralph Add user authentication

See Getting Started for the full setup guide.

What Dev Buddy Does

Dev Buddy uses the Ralph loop architecture — 6 stages with two nested loops:

Stage Definition + Role Prompt + AI Preset + Model = Executor
Executors are assigned to Stages (discovery, requirements, decomposition, build, code review, UAT)
Stage Skills dispatch executors with structural enforcement
Skill Command Purpose
Ralph /dev-buddy-ralph Full feature development — chains all 6 stages with loop logic
Discover /dev-buddy-discover Explore codebase and running app
Requirements /dev-buddy-requirements Define ACs + design UAT scenarios
Decompose /dev-buddy-decompose Break feature into small testable units
Build /dev-buddy-build Implement units with fresh context and backpressure
Code Review /dev-buddy-code-review Multi-AI semantic drift detection with AC tracing
UAT /dev-buddy-uat Execute UAT tests and full backpressure
Once /dev-buddy-once Single task with any AI provider
Chatroom /dev-buddy-chatroom Multi-AI competitive debate
Config /dev-buddy-config Web configuration portal

Anti-drift enforcement: Unit plan prompt, mechanical backpressure, orchestrator verify, multi-AI code review, UAT, user checkpoint, TaskManagement, plan files on disk.

See Dev Buddy Quick Start for details.

What VCP Does

VCP enforces standards through three complementary layers:

Layer Mechanism When
Proactive Context SessionStart hook + /vcp-context skill At session start and on demand
On-Demand Scanning 10 skills When you run them
Real-Time Blocking security-gate.ts hook Every Write/Edit/Bash call

See Three‐Layer Enforcement Model for details.

At a Glance

Dev Buddy Plugin

  • 10 skills — ralph, discover, requirements, decompose, build, code-review, uat, once, chatroom, config
  • 6 stage definitions — discovery, ralph-requirements, decomposition, ralph-build, ralph-code-review, ralph-uat
  • 6 role prompts — discoverer, ralph-requirements-analyst, decomposer, unit-builder, ralph-code-reviewer, uat-evaluator
  • Ralph loop architecture — 2 nested loops (build inner, UAT outer) with unit-based decomposition
  • Multi-provider support — Anthropic subscription, API (Anthropic/OpenAI compatible), CLI tools (Codex)
  • Structural enforcement--allowed-tools for API executors, stage gate hook, TaskManagement

VCP Plugin

  • 41 standards across 12 scopes
  • 10 skills — audit, dependency-check, pre-commit-review, review-tests, coverage-gaps, test-plan, root-cause-check, config, context, init
  • 1 agentmigration-planner (phased remediation planning)
  • 4 hooks — security-context, security-gate (21 regex patterns, 9 CWEs), test-quality-warning, stop-reminder

Wiki Contents

Guides

Dev Buddy Plugin

VCP Plugin

Standards

Project

Clone this wiki locally