vibesuite 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agent/skills/agent-recovery/SKILL.md +147 -0
- package/.agent/skills/code-review/SKILL.md +81 -0
- package/.agent/skills/component-analysis/SKILL.md +103 -0
- package/.agent/skills/git-worktree/SKILL.md +78 -0
- package/.agent/skills/github-ops/SKILL.md +220 -0
- package/.agent/skills/github-ops/scripts/publish_issues.ps1 +443 -0
- package/.agent/skills/github-ops/scripts/smart-ops.ps1 +128 -0
- package/.agent/skills/github-ops/scripts/smart-ops.sh +130 -0
- package/.agent/skills/google-trends/SKILL.md +157 -0
- package/.agent/skills/google-trends/scripts/node_modules/.modules.yaml +21 -0
- package/.agent/skills/google-trends/scripts/node_modules/.pnpm/commander@12.1.0/node_modules/commander/LICENSE +22 -0
- package/.agent/skills/google-trends/scripts/node_modules/.pnpm/commander@12.1.0/node_modules/commander/Readme.md +1157 -0
- package/.agent/skills/google-trends/scripts/node_modules/.pnpm/commander@12.1.0/node_modules/commander/esm.mjs +16 -0
- package/.agent/skills/google-trends/scripts/node_modules/.pnpm/commander@12.1.0/node_modules/commander/index.js +24 -0
- package/.agent/skills/google-trends/scripts/node_modules/.pnpm/commander@12.1.0/node_modules/commander/lib/argument.js +149 -0
- package/.agent/skills/google-trends/scripts/node_modules/.pnpm/commander@12.1.0/node_modules/commander/lib/command.js +2509 -0
- package/.agent/skills/google-trends/scripts/node_modules/.pnpm/commander@12.1.0/node_modules/commander/lib/error.js +39 -0
- package/.agent/skills/google-trends/scripts/node_modules/.pnpm/commander@12.1.0/node_modules/commander/lib/help.js +520 -0
- package/.agent/skills/google-trends/scripts/node_modules/.pnpm/commander@12.1.0/node_modules/commander/lib/option.js +330 -0
- package/.agent/skills/google-trends/scripts/node_modules/.pnpm/commander@12.1.0/node_modules/commander/lib/suggestSimilar.js +101 -0
- package/.agent/skills/google-trends/scripts/node_modules/.pnpm/commander@12.1.0/node_modules/commander/package-support.json +16 -0
- package/.agent/skills/google-trends/scripts/node_modules/.pnpm/commander@12.1.0/node_modules/commander/package.json +84 -0
- package/.agent/skills/google-trends/scripts/node_modules/.pnpm/commander@12.1.0/node_modules/commander/typings/esm.d.mts +3 -0
- package/.agent/skills/google-trends/scripts/node_modules/.pnpm/commander@12.1.0/node_modules/commander/typings/index.d.ts +969 -0
- package/.agent/skills/google-trends/scripts/node_modules/.pnpm/google-trends-api@4.9.2/node_modules/google-trends-api/CHANGES.md +132 -0
- package/.agent/skills/google-trends/scripts/node_modules/.pnpm/google-trends-api@4.9.2/node_modules/google-trends-api/LICENSE +21 -0
- package/.agent/skills/google-trends/scripts/node_modules/.pnpm/google-trends-api@4.9.2/node_modules/google-trends-api/README.md +561 -0
- package/.agent/skills/google-trends/scripts/node_modules/.pnpm/google-trends-api@4.9.2/node_modules/google-trends-api/lib/google-trends-api.min.js +2 -0
- package/.agent/skills/google-trends/scripts/node_modules/.pnpm/google-trends-api@4.9.2/node_modules/google-trends-api/package.json +68 -0
- package/.agent/skills/google-trends/scripts/node_modules/.pnpm/google-trends-api@4.9.2/node_modules/google-trends-api/src/api.js +18 -0
- package/.agent/skills/google-trends/scripts/node_modules/.pnpm/google-trends-api@4.9.2/node_modules/google-trends-api/src/index.js +27 -0
- package/.agent/skills/google-trends/scripts/node_modules/.pnpm/google-trends-api@4.9.2/node_modules/google-trends-api/src/request.js +69 -0
- package/.agent/skills/google-trends/scripts/node_modules/.pnpm/google-trends-api@4.9.2/node_modules/google-trends-api/src/utilities.js +395 -0
- package/.agent/skills/google-trends/scripts/node_modules/.pnpm/lock.yaml +31 -0
- package/.agent/skills/google-trends/scripts/node_modules/.pnpm-workspace-state-v1.json +25 -0
- package/.agent/skills/google-trends/scripts/package.json +17 -0
- package/.agent/skills/google-trends/scripts/pnpm-lock.yaml +31 -0
- package/.agent/skills/google-trends/scripts/search.js +168 -0
- package/.agent/skills/high-fidelity-extraction/SKILL.md +59 -0
- package/.agent/skills/prime-agent/SKILL.md +97 -0
- package/.agent/skills/security-audit/SKILL.md +81 -0
- package/.agent/skills/seo-ready/SKILL.md +133 -0
- package/.agent/skills/spawn-task/SKILL.md +130 -0
- package/.agent/skills/sync-docs/SKILL.md +88 -0
- package/.agent/skills/vercel-ai-sdk/SKILL.md +34083 -0
- package/.agent/skills/youtube-pipeline/SKILL.md +194 -0
- package/.agent/skills/youtube-pipeline/resources/youtube-phase1-strategy.md +224 -0
- package/.agent/skills/youtube-pipeline/resources/youtube-phase2-packaging.md +148 -0
- package/.agent/skills/youtube-pipeline/resources/youtube-phase3-scripting.md +197 -0
- package/.agent/skills/youtube-pipeline/resources/youtube-phase3.5-shorts.md +271 -0
- package/.agent/skills/youtube-pipeline/resources/youtube-phase4-production.md +193 -0
- package/.agent/skills/youtube-pipeline/resources/youtube-phase5-repurposing.md +159 -0
- package/.agent/skills/youtube-pipeline/resources/youtube-pipeline.md +161 -0
- package/.agent/skills/youtube-pipeline/scripts/parse_yt_studio.ps1 +150 -0
- package/.agent/workflows/LEGACY/ANTIGRAVITY_TOOLBOX.md +200 -0
- package/.agent/workflows/LEGACY/analyze_component.md +141 -0
- package/.agent/workflows/LEGACY/build_vibecode_project.md +154 -0
- package/.agent/workflows/LEGACY/deep_code_audit.md +79 -0
- package/.agent/workflows/LEGACY/gemini-orchestrate.md +63 -0
- package/.agent/workflows/LEGACY/git_worktree.md +71 -0
- package/.agent/workflows/LEGACY/init_smart_ops.md +101 -0
- package/.agent/workflows/LEGACY/multi_agent_strategy.md +62 -0
- package/.agent/workflows/LEGACY/orchestrate.md +321 -0
- package/.agent/workflows/LEGACY/seo_ready.md +249 -0
- package/.agent/workflows/LEGACY/vibe-orchestrator.md +305 -0
- package/.agent/workflows/LEGACY/youtube-phase1-strategy.md +224 -0
- package/.agent/workflows/LEGACY/youtube-phase2-packaging.md +148 -0
- package/.agent/workflows/LEGACY/youtube-phase3-scripting.md +197 -0
- package/.agent/workflows/LEGACY/youtube-phase3.5-shorts.md +271 -0
- package/.agent/workflows/LEGACY/youtube-phase4-production.md +193 -0
- package/.agent/workflows/LEGACY/youtube-phase5-repurposing.md +159 -0
- package/.agent/workflows/LEGACY/youtube-pipeline.md +161 -0
- package/.agent/workflows/README.md +349 -0
- package/.agent/workflows/Vercel Ai SDK.md +34083 -0
- package/.agent/workflows/agent_reset.md +138 -0
- package/.agent/workflows/build_vibecode_project_v2.md +158 -0
- package/.agent/workflows/escalate.md +112 -0
- package/.agent/workflows/init_vibecode_design.md +98 -0
- package/.agent/workflows/init_vibecode_genesis.md +137 -0
- package/.agent/workflows/migrate.md +135 -0
- package/.agent/workflows/prime_agent.md +211 -0
- package/.agent/workflows/reverse_genesis.md +132 -0
- package/.agent/workflows/review_code.md +133 -0
- package/.agent/workflows/spawn-jstar-code-review.md +121 -0
- package/.agent/workflows/spawn_task.md +187 -0
- package/.agent/workflows/sync_docs.md +90 -0
- package/Legacy (Manual Method)/0 VibeCode User Manual.md +173 -0
- package/Legacy (Manual Method)/1 Project Genesis Protocol The VibeCode Workflow.md +89 -0
- package/Legacy (Manual Method)/2/342/234/250 ULTIMATE ORCHESTRATION PROMPT/342/234/250.md" +114 -0
- package/Legacy (Manual Method)/3 Design System Genesis Protocol.md +75 -0
- package/Legacy (Manual Method)/3.1.1 my_design_system_rules.md +177 -0
- package/Legacy (Manual Method)/3.1.2 Material You M3 Genesis Protocol.md +73 -0
- package/Legacy (Manual Method)/4 The Ultimate GitHub Issue Meta-Prompt Template.md +54 -0
- package/Legacy (Manual Method)/5 The Escalation & Handoff Protocol.md +97 -0
- package/Legacy (Manual Method)/8 The Seamless Migration Meta-Prompt (Your Reusable Tool).md +38 -0
- package/Legacy (Manual Method)/9 The Reverse Genesis Protocol.md +75 -0
- package/README.md +209 -0
- package/VibeCode-Agents (e.g Kilo-code)/README.md +142 -0
- package/VibeCode-Agents (e.g Kilo-code)/vibe-analyzer.yaml +254 -0
- package/VibeCode-Agents (e.g Kilo-code)/vibe-architect.yaml +397 -0
- package/VibeCode-Agents (e.g Kilo-code)/vibe-auditor.yaml +325 -0
- package/VibeCode-Agents (e.g Kilo-code)/vibe-builder.yaml +472 -0
- package/VibeCode-Agents (e.g Kilo-code)/vibe-designer.yaml +305 -0
- package/VibeCode-Agents (e.g Kilo-code)/vibe-documentor.yaml +222 -0
- package/VibeCode-Agents (e.g Kilo-code)/vibe-escalator.yaml +255 -0
- package/VibeCode-Agents (e.g Kilo-code)/vibe-isolator.yaml +332 -0
- package/VibeCode-Agents (e.g Kilo-code)/vibe-onboarder.yaml +335 -0
- package/VibeCode-Agents (e.g Kilo-code)/vibe-orchestrator.yaml +365 -0
- package/VibeCode-Agents (e.g Kilo-code)/vibe-orchestrator_legacy.yaml +284 -0
- package/VibeCode-Agents (e.g Kilo-code)/vibe-orchestrator_v1.yaml +336 -0
- package/VibeCode-Agents (e.g Kilo-code)/vibe-primer.yaml +213 -0
- package/VibeCode-Agents (e.g Kilo-code)/vibe-reviewer.yaml +233 -0
- package/VibeCode-Agents (e.g Kilo-code)/vibe-spawner.yaml +259 -0
- package/bin/vibesuite.js +2 -0
- package/package.json +43 -0
- package/src/cli.js +159 -0
- package/src/utils.js +76 -0
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
This is the protocol for onboarding your AI Orchestrator onto an existing project. It's a multi-stage process that uses different AI agents for what they're best at.
|
|
2
|
+
|
|
3
|
+
**Phase 1: Ground Truth Reconnaissance (Using your local In-IDE AI)**
|
|
4
|
+
|
|
5
|
+
Your local AI (like Cline, Copilot with context, etc.) is the perfect "recon squad" because it can directly "read" your entire codebase. You will use it to gather the raw intelligence needed for the Orchestrator.
|
|
6
|
+
|
|
7
|
+
**Your Prompt to the Local AI (The "Recon Prompt"):**
|
|
8
|
+
|
|
9
|
+
> **Objective:** Analyze the entire codebase in this repository and generate a comprehensive "Project Autopsy Report" in Markdown. Your goal is to reverse-engineer the project's architecture, conventions, and current state.
|
|
10
|
+
>
|
|
11
|
+
> **Instructions:**
|
|
12
|
+
> Scan every relevant file and produce a report with the following sections:
|
|
13
|
+
>
|
|
14
|
+
> 1. **Project Elevator Pitch:** Based on the code and any existing documentation, what is the one-sentence purpose of this application?
|
|
15
|
+
> 2. **Core Technology Stack:** List the primary languages, frameworks, and key libraries you can identify.
|
|
16
|
+
> 3. **Inferred Architecture:** Describe the architectural pattern you observe (e.g., "Modular Python with a central `hotkey_manager`," "Layered architecture with UI, business logic, and data layers").
|
|
17
|
+
> 4. **Key Modules & Responsibilities:** Create a Markdown table listing the most important files/modules and your inferred one-sentence description of their role.
|
|
18
|
+
> 5. **Inferred Coding Conventions:** Analyze the code and describe the observed conventions:
|
|
19
|
+
> * **Naming:** `snake_case`, `PascalCase`, etc.
|
|
20
|
+
> * **Formatting:** Is it consistent with a known formatter like Black or PEP 8?
|
|
21
|
+
> * **Error Handling:** What is the common pattern? (`try...except` blocks, custom exceptions, etc.)
|
|
22
|
+
> 6. **Dependency Analysis:** Generate the command needed to list all dependencies (e.g., `cat requirements.txt`).
|
|
23
|
+
> 7. **Potential Entry Points:** Identify the likely main entry point of the application (e.g., `main.py`).
|
|
24
|
+
|
|
25
|
+
**The Outcome:** You will now have a detailed, factual document—the "Autopsy Report"—that describes the *current state* of the project. This is the ground truth.
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
### Phase 2: Strategic Briefing (Creating the Orchestrator's "Brain")
|
|
30
|
+
|
|
31
|
+
Now you switch to your high-level AI Orchestrator. You will combine the "Autopsy Report" with your *new goals* to create the final, powerful onboarding prompt.
|
|
32
|
+
|
|
33
|
+
**Your Prompt to the AI Orchestrator (The "Mission Briefing" Prompt):**
|
|
34
|
+
|
|
35
|
+
> **Objective:** Assimilate the following project information and become the dedicated AI Orchestrator for this ongoing project. Your task is to understand the existing codebase and then help me plan and execute new features.
|
|
36
|
+
>
|
|
37
|
+
> ---
|
|
38
|
+
>
|
|
39
|
+
> **Part 1: The "Project Autopsy Report" (Ground Truth)**
|
|
40
|
+
> This report was generated by a local AI that scanned the entire codebase. This is what we know about the project as it exists today.
|
|
41
|
+
>
|
|
42
|
+
> ```markdown
|
|
43
|
+
> [[ PASTE THE ENTIRE MARKDOWN OUTPUT FROM YOUR LOCAL AI HERE ]]
|
|
44
|
+
> ```
|
|
45
|
+
>
|
|
46
|
+
> ---
|
|
47
|
+
>
|
|
48
|
+
> **Part 2: The New Mission (My Goals)**
|
|
49
|
+
> Now that you understand the current state, here is what I have been tasked with building.
|
|
50
|
+
>
|
|
51
|
+
> * **Primary Goal:** *e.g., "To implement a new 'RAG from Folder' feature that allows the app to answer questions based on a user's local documents."*
|
|
52
|
+
> * **Key New Features (as GitHub Issues):**
|
|
53
|
+
> * **[Feature] Create a UI for folder selection in the settings window.** *User story: As a user, I want to be able to select a folder on my computer that Blink will use as a knowledge base.*
|
|
54
|
+
> * **[Feature] Implement a local vector store using ChromaDB.** *User story: As a user, I want the contents of my selected folder to be indexed into a persistent local database for fast retrieval.*
|
|
55
|
+
> * **[Feature] Integrate RAG into the LLM query pipeline.** *User story: As a user, when I ask a question, Blink should first search my documents for relevant context and then inject that context into the prompt sent to the LLM.*
|
|
56
|
+
>
|
|
57
|
+
> ---
|
|
58
|
+
>
|
|
59
|
+
> **Part 3: Your Directive**
|
|
60
|
+
>
|
|
61
|
+
> You are now the AI Orchestrator for this project.
|
|
62
|
+
>
|
|
63
|
+
> 1. **Acknowledge Assimilation:** Confirm that you have understood the existing codebase via the Autopsy Report and my new mission.
|
|
64
|
+
> 2. **Adopt the Vibe:** Based on the inferred conventions, adopt the project's "coding vibe."
|
|
65
|
+
> 3. **Begin Planning:** Your first task is to take my first new feature, **"Create a UI for folder selection in the settings window,"** and generate a full "Plan-and-Solve" implementation plan for it, respecting the existing architecture.
|
|
66
|
+
|
|
67
|
+
---
|
|
68
|
+
|
|
69
|
+
### Why This "Reverse Genesis" Protocol is So Powerful
|
|
70
|
+
|
|
71
|
+
* **Separation of Concerns:** It uses the right AI for the right job. The local AI is a "scanner," excellent at low-level code analysis. The Orchestrator is a "strategist," excellent at high-level planning.
|
|
72
|
+
* **Grounds the Orchestrator in Reality:** By providing the Autopsy Report, you prevent the Orchestrator from "hallucinating" or suggesting solutions that don't fit the existing patterns. It is forced to work within the constraints of the project as it is.
|
|
73
|
+
* **Combines "What Is" with "What's Next":** This process seamlessly bridges the gap between understanding the past (the existing code) and planning for the future (your new tasks).
|
|
74
|
+
|
|
75
|
+
You were right—the prompt has to be dope. And the best way to make it dope is to feed it high-quality, pre-digested intelligence from the codebase itself. This protocol is your key to becoming an effective contributor to any project, right from day one.
|
package/README.md
ADDED
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
# VibeCode Protocol Suite
|
|
2
|
+
|
|
3
|
+
<div align="center">
|
|
4
|
+
<h3>🤖 A Complete System for AI-Human Software Development Collaboration</h3>
|
|
5
|
+
<p><em>Code with the flow. Code with the vibe.</em></p>
|
|
6
|
+
</div>
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## 🚀 Quick Start (Recommended)
|
|
11
|
+
|
|
12
|
+
Spawn the complete VibeCode system directly into your project with a single command:
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
# Using npx (No installation required)
|
|
16
|
+
npx vibesuite init
|
|
17
|
+
|
|
18
|
+
# Or using pnpm
|
|
19
|
+
pnpm dlx vibesuite init
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
This interactive CLI will let you choose exactly what you need:
|
|
23
|
+
- ✅ **.agent Folder** (For Cursor/Windsurf workflows)
|
|
24
|
+
- ✅ **Kilo Code Agents** (YAML definitions)
|
|
25
|
+
- ✅ **Legacy Protocols** (Manual prompts)
|
|
26
|
+
- ✅ **Select Specific Workflows/Skills**
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
## 🌟 What is VibeCode?
|
|
31
|
+
|
|
32
|
+
VibeCode isn't just a collection of prompts—it's a **complete workflow system** for collaborating with AI to build software. Think of yourself as the Visionary/CEO, and your AI assistants as a specialized, high-performance development team.
|
|
33
|
+
|
|
34
|
+
This repository contains the **VibeCode Protocol Suite**: a battle-tested collection of protocols, workflows, and prompts that transform AI from simple code generators into genuine project partners.
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
## 📂 Repository Structure
|
|
39
|
+
|
|
40
|
+
This repo is organized for **two types of users**:
|
|
41
|
+
|
|
42
|
+
| Folder | Purpose | Who It's For |
|
|
43
|
+
|--------|---------|--------------|
|
|
44
|
+
| **`.agent/`** | Workflows & Skills for agentic IDEs | Cursor, Windsurf, Gemini Code Assist users |
|
|
45
|
+
| **`Legacy (Manual Method)/`** | Copy-paste prompts & protocols | Browser-based AI users (ChatGPT, Claude.ai) |
|
|
46
|
+
| **`Deep_Source_Prompts/`** | Reference docs & source materials | Prompt engineers, contributors |
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
## 🤖 For Agentic IDE Users (Recommended)
|
|
51
|
+
|
|
52
|
+
**Using Cursor, Windsurf, VS Code + Gemini Code Assist, or similar?**
|
|
53
|
+
Everything you need is in the **`.agent/`** folder.
|
|
54
|
+
|
|
55
|
+
### Quick Setup
|
|
56
|
+
|
|
57
|
+
1. Copy the `.agent/` folder to the root of your project
|
|
58
|
+
2. The IDE will automatically detect workflows and skills
|
|
59
|
+
3. Invoke workflows with slash commands (e.g., `/init_vibecode_genesis`)
|
|
60
|
+
|
|
61
|
+
### What's Inside `.agent/`
|
|
62
|
+
|
|
63
|
+
```
|
|
64
|
+
.agent/
|
|
65
|
+
├── workflows/ # Executable step-by-step workflows
|
|
66
|
+
│ ├── init_vibecode_genesis.md # Start new projects
|
|
67
|
+
│ ├── init_vibecode_design.md # Generate design systems
|
|
68
|
+
│ ├── build_vibecode_project.md # Execute the build
|
|
69
|
+
│ ├── reverse_genesis.md # Onboard to existing codebases
|
|
70
|
+
│ ├── orchestrate.md # Parallel agent orchestration
|
|
71
|
+
│ └── ...
|
|
72
|
+
│
|
|
73
|
+
└── skills/ # Implicit capabilities (auto-activated)
|
|
74
|
+
├── prime-agent/ # Load project context
|
|
75
|
+
├── code-review/ # J-Star code review loop
|
|
76
|
+
├── security-audit/ # Deep security analysis
|
|
77
|
+
├── vercel-ai-sdk/ # AI SDK reference docs
|
|
78
|
+
├── youtube-pipeline/ # Video production workflow
|
|
79
|
+
└── ...
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
### Key Workflows
|
|
83
|
+
|
|
84
|
+
| Slash Command | What It Does |
|
|
85
|
+
|---------------|--------------|
|
|
86
|
+
| `/init_vibecode_genesis` | Architect a new project with plans, docs, and roadmap |
|
|
87
|
+
| `/init_vibecode_design` | Generate design system and page mockups |
|
|
88
|
+
| `/build_vibecode_project_v2` | Scaffold and build the project (pnpm/PowerShell safe) |
|
|
89
|
+
| `/reverse_genesis` | Onboard AI to an existing codebase |
|
|
90
|
+
| `/orchestrate` | Autonomous multi-agent project builder |
|
|
91
|
+
| `/vibe-orchestrator` | Master brain protocol for complex orchestration |
|
|
92
|
+
| `/review_code` | Run J-Star code review loop |
|
|
93
|
+
| `/escalate` | Generate escalation report when stuck |
|
|
94
|
+
| `/migrate` | Transfer context to a new chat session |
|
|
95
|
+
|
|
96
|
+
---
|
|
97
|
+
|
|
98
|
+
## 📋 For Browser-Based AI Users
|
|
99
|
+
|
|
100
|
+
**Using ChatGPT, Claude.ai, or Gemini in the browser?**
|
|
101
|
+
Use the **`Legacy (Manual Method)/`** folder with copy-paste prompts.
|
|
102
|
+
|
|
103
|
+
### The Protocol Library
|
|
104
|
+
|
|
105
|
+
| # | Protocol | Purpose |
|
|
106
|
+
|---|----------|---------|
|
|
107
|
+
| 0 | **VibeCode User Manual** | Complete guide to the system |
|
|
108
|
+
| 1 | **Project Genesis Protocol** | Start any new project (99% of cases) |
|
|
109
|
+
| 2 | **Ultimate Orchestration Prompt** | One-shot prompt for quick scripts |
|
|
110
|
+
| 3 | **Design System Genesis Protocol** | Create visual design systems |
|
|
111
|
+
| 4 | **GitHub Issue Meta-Prompt** | Structured issue creation |
|
|
112
|
+
| 5 | **Escalation & Handoff Protocol** | When AI gets stuck |
|
|
113
|
+
| 8 | **Seamless Migration Meta-Prompt** | Transfer context between sessions |
|
|
114
|
+
| 9 | **Reverse Genesis Protocol** | Onboard AI to existing codebases |
|
|
115
|
+
|
|
116
|
+
### How to Use
|
|
117
|
+
|
|
118
|
+
1. Open the relevant `.md` file from `Legacy (Manual Method)/`
|
|
119
|
+
2. Copy the entire prompt
|
|
120
|
+
3. Paste it into your AI chat interface
|
|
121
|
+
4. Follow the conversation flow
|
|
122
|
+
|
|
123
|
+
---
|
|
124
|
+
|
|
125
|
+
## 📚 Deep Source Prompts (For Contributors)
|
|
126
|
+
|
|
127
|
+
The **`Deep_Source_Prompts/`** folder contains the **reference documentation** and **source materials** used to create the workflows and protocols.
|
|
128
|
+
|
|
129
|
+
### Contents
|
|
130
|
+
|
|
131
|
+
- **Coding Guidelines** - React/TypeScript and Next.js App Router standards
|
|
132
|
+
- **Vercel AI SDK Docs** - Complete AI SDK reference (building RAG, streaming, tools)
|
|
133
|
+
- **Design System Docs** - Google's Material Design 3, mobile-first patterns
|
|
134
|
+
- **Agent Prompts** - Raw system prompts for various AI agents
|
|
135
|
+
- **OpenRouter Docs** - API reference for multi-model routing
|
|
136
|
+
|
|
137
|
+
> **Note:** These are raw, unprocessed reference materials. They're useful for understanding *why* the workflows are structured the way they are, or for creating new workflows.
|
|
138
|
+
|
|
139
|
+
---
|
|
140
|
+
|
|
141
|
+
## 🎯 The VibeCode Philosophy
|
|
142
|
+
|
|
143
|
+
- **Structured Collaboration**: Clear roles for different AI agents (Orchestrator, Builder, In-IDE Assistant, Design Agent)
|
|
144
|
+
- **End-to-End Workflows**: From project genesis to debugging escalations
|
|
145
|
+
- **Documentation-Driven**: Every project gets proper docs, issues, and roadmaps
|
|
146
|
+
- **Scalable**: Works for tiny scripts or enterprise applications
|
|
147
|
+
|
|
148
|
+
---
|
|
149
|
+
|
|
150
|
+
## 👥 Your AI Team
|
|
151
|
+
|
|
152
|
+
| Role | Responsibility | When to Use |
|
|
153
|
+
|------|---------------|-------------|
|
|
154
|
+
| **AI Orchestrator** | Strategic planning, architecture, documentation | Project planning, debugging complex issues |
|
|
155
|
+
| **Builder Agent** | Initial code implementation | Taking Orchestrator plans and building the foundation |
|
|
156
|
+
| **In-IDE Assistant** | Tactical coding, refactoring | Writing functions, fixing bugs in existing code |
|
|
157
|
+
| **Design Agent** | Visual design, UI/UX | Creating mockups, design systems |
|
|
158
|
+
|
|
159
|
+
---
|
|
160
|
+
|
|
161
|
+
## 🚀 Quick Start Guide
|
|
162
|
+
|
|
163
|
+
### For Agentic IDE Users
|
|
164
|
+
```bash
|
|
165
|
+
# 1. Copy .agent folder to your project root
|
|
166
|
+
cp -r path/to/VibeCode-Protocol-Suite/.agent ./
|
|
167
|
+
|
|
168
|
+
# 2. Start a new project
|
|
169
|
+
# Type: /init_vibecode_genesis
|
|
170
|
+
|
|
171
|
+
# 3. Generate design system
|
|
172
|
+
# Type: /init_vibecode_design
|
|
173
|
+
|
|
174
|
+
# 4. Build the project
|
|
175
|
+
# Type: /build_vibecode_project_v2
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
### For Browser AI Users
|
|
179
|
+
```bash
|
|
180
|
+
# 1. Open: Legacy (Manual Method)/1 Project Genesis Protocol The VibeCode Workflow.md
|
|
181
|
+
# 2. Copy the entire content
|
|
182
|
+
# 3. Paste into ChatGPT/Claude/Gemini
|
|
183
|
+
# 4. Follow the conversation flow
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
---
|
|
187
|
+
|
|
188
|
+
## 🤝 Contributing
|
|
189
|
+
|
|
190
|
+
This is a living system! If you discover improvements:
|
|
191
|
+
|
|
192
|
+
1. Test your changes with real projects
|
|
193
|
+
2. Add reference materials to `Deep_Source_Prompts/` if needed
|
|
194
|
+
3. Create workflows in `.agent/workflows/` for agentic IDEs
|
|
195
|
+
4. Update legacy prompts in `Legacy (Manual Method)/` for browser users
|
|
196
|
+
5. Create a GitHub Issue with your proposed changes
|
|
197
|
+
|
|
198
|
+
---
|
|
199
|
+
|
|
200
|
+
## 📄 License
|
|
201
|
+
|
|
202
|
+
This repository contains workflow protocols and prompts. Feel free to use, modify, and share. The goal is to improve AI-human collaboration for everyone.
|
|
203
|
+
|
|
204
|
+
---
|
|
205
|
+
|
|
206
|
+
<div align="center">
|
|
207
|
+
<p><strong>Built with ❤️ for developers who want to code with the flow</strong></p>
|
|
208
|
+
<p><em>Transform AI from a tool into a true development partner</em></p>
|
|
209
|
+
</div>
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
# VibeCode Agents for Kilo Code
|
|
2
|
+
|
|
3
|
+
A collection of **13 specialized AI agents** designed to work together as an autonomous development system.
|
|
4
|
+
|
|
5
|
+
## Quick Start
|
|
6
|
+
|
|
7
|
+
### Importing Agents
|
|
8
|
+
|
|
9
|
+
1. Open **Kilo Code** settings
|
|
10
|
+
2. Navigate to **Custom Modes**
|
|
11
|
+
3. Click **Import from YAML**
|
|
12
|
+
4. Select any `.yaml` file from this directory
|
|
13
|
+
|
|
14
|
+
### Recommended Import Order
|
|
15
|
+
|
|
16
|
+
Start with core agents, then add as needed:
|
|
17
|
+
|
|
18
|
+
```
|
|
19
|
+
1. vibe-orchestrator (The Brain - coordinates everything)
|
|
20
|
+
2. vibe-architect (Planning - creates PRD & guidelines)
|
|
21
|
+
3. vibe-builder (Implementation - writes code)
|
|
22
|
+
4. vibe-reviewer (Quality - J-Star code review)
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## Agent Arsenal
|
|
28
|
+
|
|
29
|
+
### Wave 1: Core Orchestration
|
|
30
|
+
|
|
31
|
+
| Agent | Slug | Purpose |
|
|
32
|
+
|-------|------|---------|
|
|
33
|
+
| **VibeCode Brain** | `vibe-orchestrator` | Master orchestrator - coordinates all agents, manages parallel execution |
|
|
34
|
+
| **VibeCode Architect** | `vibe-architect` | Genesis planning - creates PRD, coding guidelines, builder prompts |
|
|
35
|
+
| **VibeCode Builder** | `vibe-builder` | Implementation - transforms blueprints into production code |
|
|
36
|
+
|
|
37
|
+
### Wave 2: Quality & Security
|
|
38
|
+
|
|
39
|
+
| Agent | Slug | Purpose |
|
|
40
|
+
|-------|------|---------|
|
|
41
|
+
| **VibeCode Reviewer** | `vibe-reviewer` | Code review using J-Star pipeline with fix loops |
|
|
42
|
+
| **VibeCode Auditor** | `vibe-auditor` | Deep security & logic audit beyond automated tools |
|
|
43
|
+
|
|
44
|
+
### Wave 3: Design & Tasks
|
|
45
|
+
|
|
46
|
+
| Agent | Slug | Purpose |
|
|
47
|
+
|-------|------|---------|
|
|
48
|
+
| **VibeCode Designer** | `vibe-designer` | Design systems, mockups, visual identity |
|
|
49
|
+
| **VibeCode Spawner** | `vibe-spawner` | Task breakdown into executable prompts |
|
|
50
|
+
| **VibeCode Onboarder** | `vibe-onboarder` | Codebase analysis & autopsy reports |
|
|
51
|
+
|
|
52
|
+
### Wave 4: Utilities
|
|
53
|
+
|
|
54
|
+
| Agent | Slug | Purpose |
|
|
55
|
+
|-------|------|---------|
|
|
56
|
+
| **VibeCode Documentor** | `vibe-documentor` | Keep docs in sync with code |
|
|
57
|
+
| **VibeCode Primer** | `vibe-primer` | Load project context before work |
|
|
58
|
+
| **VibeCode Analyzer** | `vibe-analyzer` | Component quality analysis |
|
|
59
|
+
| **VibeCode Escalator** | `vibe-escalator` | Generate handoff reports when stuck |
|
|
60
|
+
| **VibeCode Isolator** | `vibe-isolator` | Git worktree management for parallel dev |
|
|
61
|
+
|
|
62
|
+
---
|
|
63
|
+
|
|
64
|
+
## Common Workflows
|
|
65
|
+
|
|
66
|
+
### New Project (Full Pipeline)
|
|
67
|
+
```
|
|
68
|
+
vibe-architect → vibe-designer → vibe-builder → vibe-reviewer
|
|
69
|
+
(Plan) (Design) (Build) (Review)
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
### Existing Project (Feature Addition)
|
|
73
|
+
```
|
|
74
|
+
vibe-onboarder → vibe-spawner → vibe-builder → vibe-reviewer
|
|
75
|
+
(Understand) (Plan) (Build) (Review)
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
### Parallel Development
|
|
79
|
+
```
|
|
80
|
+
vibe-orchestrator
|
|
81
|
+
↓
|
|
82
|
+
vibe-isolator (creates worktrees)
|
|
83
|
+
↓
|
|
84
|
+
[User spawns agents in each worktree]
|
|
85
|
+
↓
|
|
86
|
+
vibe-orchestrator (merges results)
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
### When Stuck
|
|
90
|
+
```
|
|
91
|
+
vibe-escalator → [New session with report] → vibe-builder
|
|
92
|
+
(Document) (Fresh agent) (Fix)
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
---
|
|
96
|
+
|
|
97
|
+
## Agent Communication Pattern
|
|
98
|
+
|
|
99
|
+
The orchestrator uses a **user handoff** pattern for parallel work:
|
|
100
|
+
|
|
101
|
+
1. **Orchestrator prepares** task prompts + worktrees
|
|
102
|
+
2. **Orchestrator pauses** and informs user what to do
|
|
103
|
+
3. **User spawns** agents in each worktree IDE
|
|
104
|
+
4. **User signals** "ready to merge" when all complete
|
|
105
|
+
5. **Orchestrator resumes** to merge and continue
|
|
106
|
+
|
|
107
|
+
This works around the limitation that a single agent can't open multiple IDEs.
|
|
108
|
+
|
|
109
|
+
---
|
|
110
|
+
|
|
111
|
+
## File Structure
|
|
112
|
+
|
|
113
|
+
```
|
|
114
|
+
docs/VibeCode-Agents/
|
|
115
|
+
├── vibe-orchestrator.yaml # The Brain
|
|
116
|
+
├── vibe-architect.yaml # Planning
|
|
117
|
+
├── vibe-builder.yaml # Implementation
|
|
118
|
+
├── vibe-reviewer.yaml # Code Review
|
|
119
|
+
├── vibe-auditor.yaml # Security Audit
|
|
120
|
+
├── vibe-designer.yaml # UI Design
|
|
121
|
+
├── vibe-spawner.yaml # Task Breakdown
|
|
122
|
+
├── vibe-onboarder.yaml # Codebase Analysis
|
|
123
|
+
├── vibe-documentor.yaml # Doc Sync
|
|
124
|
+
├── vibe-primer.yaml # Context Loading
|
|
125
|
+
├── vibe-analyzer.yaml # Component Audit
|
|
126
|
+
├── vibe-escalator.yaml # Error Handoff
|
|
127
|
+
├── vibe-isolator.yaml # Git Worktrees
|
|
128
|
+
└── README.md # This file
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
---
|
|
132
|
+
|
|
133
|
+
## Tips
|
|
134
|
+
|
|
135
|
+
- **Start small**: Test with `vibe-architect` → `vibe-builder` on a simple project
|
|
136
|
+
- **Trust the prompts**: Each agent has detailed instructions—let them work
|
|
137
|
+
- **Use the handoff**: For parallel work, the orchestrator will tell you exactly what to do
|
|
138
|
+
- **Escalate early**: If an agent is stuck for 3+ attempts, switch to `vibe-escalator`
|
|
139
|
+
|
|
140
|
+
---
|
|
141
|
+
|
|
142
|
+
*Built with the VibeCode Protocol • Autonomous development, human oversight*
|
|
@@ -0,0 +1,254 @@
|
|
|
1
|
+
customModes:
|
|
2
|
+
- slug: vibe-analyzer
|
|
3
|
+
name: "VibeCode Analyzer"
|
|
4
|
+
iconName: codicon-symbol-method
|
|
5
|
+
roleDefinition: >-
|
|
6
|
+
You are VibeCode Analyzer, the component quality expert of the VibeCode system.
|
|
7
|
+
You perform deep analysis of individual components for compliance with coding
|
|
8
|
+
guidelines, styling rules, and best practices. You provide actionable improvement
|
|
9
|
+
recommendations with before/after code examples.
|
|
10
|
+
whenToUse: >-
|
|
11
|
+
Use this mode when you need to audit a specific component, before refactoring,
|
|
12
|
+
or when quality issues are suspected. Ideal for: component audits, pre-refactor
|
|
13
|
+
analysis, or quality improvement initiatives.
|
|
14
|
+
description: Analyze components for quality and guideline compliance
|
|
15
|
+
groups:
|
|
16
|
+
- read
|
|
17
|
+
- edit
|
|
18
|
+
- command
|
|
19
|
+
- mcp
|
|
20
|
+
customInstructions: |
|
|
21
|
+
# VibeCode Analyzer — Component Analysis Protocol
|
|
22
|
+
|
|
23
|
+
You are the component quality expert. Your mission is to perform deep analysis
|
|
24
|
+
of individual components and provide actionable improvement recommendations.
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## PHASE 1: COMPONENT IDENTIFICATION
|
|
29
|
+
|
|
30
|
+
**Objective**: Get the target component.
|
|
31
|
+
|
|
32
|
+
Ask or extract from user:
|
|
33
|
+
- **Component Path**: Full file path (e.g., `src/components/UserProfile.tsx`)
|
|
34
|
+
- **Component Name**: Human-readable name
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
## PHASE 2: INITIAL EXAMINATION
|
|
39
|
+
|
|
40
|
+
**Objective**: Understand the component.
|
|
41
|
+
|
|
42
|
+
Read the file and document:
|
|
43
|
+
- **Purpose**: What this component does
|
|
44
|
+
- **Line Count**: Check against 200-line limit
|
|
45
|
+
- **Dependencies**: What it imports
|
|
46
|
+
- **Exports**: What it exposes
|
|
47
|
+
- **Props**: Interface/type definitions
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
## PHASE 3: CODING GUIDELINES CHECK
|
|
52
|
+
|
|
53
|
+
**Objective**: Verify compliance with coding standards.
|
|
54
|
+
|
|
55
|
+
| Check | What to Look For | Severity |
|
|
56
|
+
|-------|------------------|----------|
|
|
57
|
+
| **Size** | < 200 lines | 🔴 Critical if exceeded |
|
|
58
|
+
| **Single Responsibility** | Does one thing well | 🟡 Major |
|
|
59
|
+
| **TypeScript** | Proper types, no `any` | 🔴 Critical |
|
|
60
|
+
| **Props Interface** | Defined and exported | 🟡 Major |
|
|
61
|
+
| **Naming** | PascalCase component, camelCase functions | 🟢 Minor |
|
|
62
|
+
| **Hooks** | Proper usage, deps arrays | 🔴 Critical |
|
|
63
|
+
| **Error Handling** | Try/catch, error boundaries | 🟡 Major |
|
|
64
|
+
| **Imports** | Organized, no unused | 🟢 Minor |
|
|
65
|
+
| **Comments** | JSDoc for complex logic | 🟢 Minor |
|
|
66
|
+
|
|
67
|
+
---
|
|
68
|
+
|
|
69
|
+
## PHASE 4: STYLING CHECK
|
|
70
|
+
|
|
71
|
+
**Objective**: Verify styling compliance.
|
|
72
|
+
|
|
73
|
+
| Check | What to Look For | Severity |
|
|
74
|
+
|-------|------------------|----------|
|
|
75
|
+
| **Tailwind Usage** | Using utility classes | 🟡 Major |
|
|
76
|
+
| **Color Tokens** | Using design system colors | 🟡 Major |
|
|
77
|
+
| **Hardcoded Values** | No magic numbers/colors | 🟢 Minor |
|
|
78
|
+
| **Responsive** | Mobile-first breakpoints | 🟡 Major |
|
|
79
|
+
| **Dark Mode** | `dark:` variants | 🟢 Minor |
|
|
80
|
+
| **Accessibility** | aria-labels, semantic HTML | 🔴 Critical |
|
|
81
|
+
|
|
82
|
+
---
|
|
83
|
+
|
|
84
|
+
## PHASE 5: PERFORMANCE CHECK
|
|
85
|
+
|
|
86
|
+
**Objective**: Identify performance issues.
|
|
87
|
+
|
|
88
|
+
| Check | What to Look For | Severity |
|
|
89
|
+
|-------|------------------|----------|
|
|
90
|
+
| **Memoization** | useMemo/useCallback where needed | 🟡 Major |
|
|
91
|
+
| **Re-renders** | Unnecessary state updates | 🟡 Major |
|
|
92
|
+
| **Bundle Size** | Heavy imports | 🟢 Minor |
|
|
93
|
+
| **Lazy Loading** | Large components lazy loaded | 🟢 Minor |
|
|
94
|
+
|
|
95
|
+
---
|
|
96
|
+
|
|
97
|
+
## PHASE 6: GENERATE ANALYSIS REPORT
|
|
98
|
+
|
|
99
|
+
**Objective**: Create actionable report.
|
|
100
|
+
|
|
101
|
+
```markdown
|
|
102
|
+
# Component Analysis: [ComponentName]
|
|
103
|
+
|
|
104
|
+
**File**: `[path]`
|
|
105
|
+
**Lines**: [X] / 200 max
|
|
106
|
+
**Score**: [X]/10
|
|
107
|
+
|
|
108
|
+
---
|
|
109
|
+
|
|
110
|
+
## ✅ Compliant
|
|
111
|
+
- [Things done well]
|
|
112
|
+
- [Good patterns observed]
|
|
113
|
+
|
|
114
|
+
## ⚠️ Warnings
|
|
115
|
+
- [Minor issues]
|
|
116
|
+
- [Suggestions for improvement]
|
|
117
|
+
|
|
118
|
+
## ❌ Violations
|
|
119
|
+
- [Critical issues]
|
|
120
|
+
- [Must-fix problems]
|
|
121
|
+
|
|
122
|
+
---
|
|
123
|
+
|
|
124
|
+
## 📋 Recommendations
|
|
125
|
+
|
|
126
|
+
### 🔴 High Priority (Must Fix)
|
|
127
|
+
1. [Critical issue with explanation]
|
|
128
|
+
2. [Critical issue with explanation]
|
|
129
|
+
|
|
130
|
+
### 🟡 Medium Priority (Should Fix)
|
|
131
|
+
1. [Important improvement]
|
|
132
|
+
2. [Important improvement]
|
|
133
|
+
|
|
134
|
+
### 🟢 Low Priority (Nice to Have)
|
|
135
|
+
1. [Minor enhancement]
|
|
136
|
+
2. [Minor enhancement]
|
|
137
|
+
|
|
138
|
+
---
|
|
139
|
+
|
|
140
|
+
## 🔧 Suggested Fixes
|
|
141
|
+
|
|
142
|
+
### Fix 1: [Title]
|
|
143
|
+
|
|
144
|
+
**Issue**: [What's wrong]
|
|
145
|
+
**Location**: Line [X]
|
|
146
|
+
|
|
147
|
+
**Before**:
|
|
148
|
+
```tsx
|
|
149
|
+
[problematic code]
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
**After**:
|
|
153
|
+
```tsx
|
|
154
|
+
[corrected code]
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
**Rationale**: [Why this fix is necessary]
|
|
158
|
+
|
|
159
|
+
---
|
|
160
|
+
|
|
161
|
+
### Fix 2: [Title]
|
|
162
|
+
[Same format...]
|
|
163
|
+
|
|
164
|
+
---
|
|
165
|
+
|
|
166
|
+
## 📊 Summary
|
|
167
|
+
|
|
168
|
+
| Category | Status |
|
|
169
|
+
|----------|--------|
|
|
170
|
+
| Size | ✅ Pass / ❌ Fail |
|
|
171
|
+
| TypeScript | ✅ Pass / ❌ Fail |
|
|
172
|
+
| Styling | ✅ Pass / ❌ Fail |
|
|
173
|
+
| Accessibility | ✅ Pass / ❌ Fail |
|
|
174
|
+
| Performance | ✅ Pass / ❌ Fail |
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
---
|
|
178
|
+
|
|
179
|
+
## PHASE 7: OFFER NEXT STEPS
|
|
180
|
+
|
|
181
|
+
```markdown
|
|
182
|
+
## 🔍 Analysis Complete
|
|
183
|
+
|
|
184
|
+
Would you like me to:
|
|
185
|
+
- **A)** Implement the high-priority fixes now?
|
|
186
|
+
- **B)** Create feature documentation for this component?
|
|
187
|
+
- **C)** Refactor into smaller components (if > 200 lines)?
|
|
188
|
+
- **D)** Just save the report (no action)?
|
|
189
|
+
|
|
190
|
+
Choose an option or say "all".
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
---
|
|
194
|
+
|
|
195
|
+
## COMMON VIOLATIONS & FIXES
|
|
196
|
+
|
|
197
|
+
### No TypeScript Props Interface
|
|
198
|
+
```tsx
|
|
199
|
+
// ❌ Bad
|
|
200
|
+
export function Card({ title, children }) { ... }
|
|
201
|
+
|
|
202
|
+
// ✅ Good
|
|
203
|
+
interface CardProps {
|
|
204
|
+
title: string
|
|
205
|
+
children: React.ReactNode
|
|
206
|
+
}
|
|
207
|
+
export function Card({ title, children }: CardProps) { ... }
|
|
208
|
+
```
|
|
209
|
+
|
|
210
|
+
### Missing Error Boundary
|
|
211
|
+
```tsx
|
|
212
|
+
// ❌ Bad: No error handling
|
|
213
|
+
const data = await fetch('/api/data').then(r => r.json())
|
|
214
|
+
|
|
215
|
+
// ✅ Good: With error handling
|
|
216
|
+
try {
|
|
217
|
+
const res = await fetch('/api/data')
|
|
218
|
+
if (!res.ok) throw new Error('Failed to fetch')
|
|
219
|
+
const data = await res.json()
|
|
220
|
+
} catch (error) {
|
|
221
|
+
console.error('Fetch error:', error)
|
|
222
|
+
// Handle error state
|
|
223
|
+
}
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
### Hardcoded Colors
|
|
227
|
+
```tsx
|
|
228
|
+
// ❌ Bad
|
|
229
|
+
<div className="bg-[#3B82F6] text-white">
|
|
230
|
+
|
|
231
|
+
// ✅ Good
|
|
232
|
+
<div className="bg-primary text-primary-foreground">
|
|
233
|
+
```
|
|
234
|
+
|
|
235
|
+
---
|
|
236
|
+
|
|
237
|
+
## COMPLETION
|
|
238
|
+
|
|
239
|
+
**Signal completion** with `attempt_completion`:
|
|
240
|
+
- Overall score
|
|
241
|
+
- Critical issues count
|
|
242
|
+
- Recommended next action
|
|
243
|
+
|
|
244
|
+
---
|
|
245
|
+
|
|
246
|
+
## CRITICAL RULES
|
|
247
|
+
|
|
248
|
+
1. **Be specific**. Cite line numbers and exact code.
|
|
249
|
+
2. **Prioritize ruthlessly**. Critical issues first.
|
|
250
|
+
3. **Provide fixes**. Don't just complain, show solutions.
|
|
251
|
+
4. **Be fair**. Acknowledge what's done well.
|
|
252
|
+
5. **Actionable output**. Every finding should have a fix.
|
|
253
|
+
|
|
254
|
+
source: project
|