vcp
CLAUDE.md14 starsChanged 10 months agoApache-2.0Archived repositoryView on GitHub
Standards, skills, and enforcement tools for AI coding assistants. Primary hosts: Claude Code marketplace and OpenAI Codex CLI plugins. VCP enforces standards through three layers: The API task runner (plugins/dev-buddy/scripts/api-task-runner.ts) runs one task per invocation, outputs the result as JSON to stdout, and exits. Each invocation is an independent process — multiple instances can run in parallel safely. A single UnifiedRunner implements the AgentRunner interface using Vercel AI SDK's generateText() with agentool-provided tools (read, write, edit, bash, glob, grep). The…
In this repositoryOne other file it gives its agents.
- AGENTS.mdAGENTS.md
The file
We split this CLAUDE.md into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 38
Every planned work item is tracked as a GitHub issue
- Distinctive: line 40
Every folder has a README.md that indexes its contents
≈ “Common” is an estimate: at least 1 in 5 of the 29,248 CLAUDE.md 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
Project: VCP (Vibe Coding Protocol)
What This Repo Is
Standards, skills, and enforcement tools for AI coding assistants. Primary hosts: Claude Code marketplace and OpenAI Codex CLI plugins.
Enforcement Model
VCP enforces standards through three layers:
- Proactive context — Standards injected at session start (
security-context.ts) and available manually (/vcp-context) so the AI internalizes rules while writing code - On-demand scanning — Skills (
/vcp-audit,/vcp-dependency-check,/vcp-pre-commit-review,/vcp-review-tests) scan code against 41 standards across 12 scopes - Real-time blocking —
security-gate.tshook runs on every Write/Edit/Bash call, blocking hardcoded secrets, SQL injection, eval injection, insecure deserialization, innerHTML XSS, XPath injection, prototype pollution, SSTI, and obfuscated shell execution (21 patterns across 9 CWEs)
Plugin Structure
plugins/vcp/— VCP plugin with 10 skills, 1 agent, and 4 hooksplugins/dev-buddy/— Dev Buddy plugin with 11 skills, 8 stage definitions (6 Ralph pipeline stages plusplan-lintand optionalunit-review), 7 role prompts, and 0 hooks. Uses Ralph loop architecture: Discovery → Requirements+UAT → Decomposition → Plan-lint → Build (inner loop with optional unit review) → Code Review → UAT (outer loop)./dev-buddy-ralphruns the legacy Claude stage-skill workflow; the MCP server exposes the cross-host skeleton Ralph path (ralph_start,ralph_next,ralph_list,ralph_health). Multi-AI diversity at each stage via executor-based dispatch. Build uses immutable per-unit plan files plus persisted per-unit JSON state with fresh context per iteration and mechanical backpressure. Config format v5 (~/.vcp/dev-buddy.json) with auto-migration from v2/v3/v4.plugins/mcp-doc/— MCP Doc plugin with 5 skills. Documentation manifest generator for git-doc-mcp — indexes project docs as MCP resources with embedded search, path-lookup, and tree-view tools- Skills fetch standards from
standards/manifest.jsonat runtime via WebFetch (always latest from main) - Each plugin has
.claude-plugin/plugin.jsonfor Claude Code and.codex-plugin/plugin.jsonplus.mcp.jsonfor Codex plugin/MCP registration .vcp/config.jsonin project root configures scopes, compliance frameworks, severity threshold, and CWE ignore listsecurity-gate.tsexits 2 (block) on pattern match, 0 (allow) otherwisestop-reminder.tsreminds user to run VCP checks before committing
Repo Structure
standards/— AI-optimized markdown standards (41 files across 12 scopes, flat layout with{scope}-{topic}.mdnaming)standards/manifest.json— Root manifest indexing per-scope manifests instandards/scopes/standards/scopes/— Per-scope manifest files (core, web-frontend, web-backend, database, mobile, desktop, cli, devops, agentic-ai, compliance-*)plugins/— Host-aware plugins (vcp, dev-buddy, mcp-doc) for Claude Code and Codex CLI.claude-plugin/— Claude Code marketplace manifest
Conventions
- Standards use YAML frontmatter + markdown (see
standards/README.mdfor format spec) - Every planned work item is tracked as a GitHub issue
- README.md roadmap links to issues
- Every folder has a README.md that indexes its contents
Dev Buddy API Task Runner
The API task runner (plugins/dev-buddy/scripts/api-task-runner.ts) runs one task per invocation, outputs the result as JSON to stdout, and exits. Each invocation is an independent process — multiple instances can run in parallel safely.
A single UnifiedRunner implements the AgentRunner interface using Vercel AI SDK's generateText() with agentool-provided tools (read, write, edit, bash, glob, grep). The protocol field ('anthropic' | 'openai') selects the Vercel AI SDK provider constructor (@ai-sdk/anthropic or @ai-sdk/openai). Credentials are passed directly to the provider — no env var mapping or subprocess isolation.
Per-task timeout defaults to 5 minutes, configurable via ApiPreset.timeout_ms (set in the web portal under "Task Timeout").
api-task-runner.ts --task-timeout receives the preset's timeout value.
The runner also supports --system-prompt <path> to append a file (must be under the plugin directory) to the session's system prompt — used to inject role prompts and review guidelines. Combined with --stage-type <type>, this auto-resolves the stage definition and composes stage + role as the system prompt.
Writing Standards
- State the PRINCIPLE and WHY first
- Give recommended patterns with code examples
- Show anti-patterns with explanation of WHY they're wrong
- Be actionable: "Do X" not "Consider X"
- Be AI-parseable: consistent structure, clear headings
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.

