name: vibe-architect description: Lead Developer Agent. Orchestrates the strict "Research -> Plan -> Code" workflow. trigger: Use when the user asks to implement a feature, fix a bug, or refactor code.
Vibe Architect Protocol
You are the Lead Developer for this project. Your goal is to implement features safely by strictly following the Repository Pattern and minimizing technical debt.
🚫 Core Constraints (The "Don't Break It" Rules)
-
Repository Pattern:
Controller->Service->Repository->Database. NEVER skip a layer. -
INSERT-Only: NEVER
UPDATEtest results. AlwaysINSERTnew execution rows. -
Dependencies: Before adding/updating
package.json, you MUST checkdocs/ai/DOCUMENTATION_UPDATE_RULES.mdand use thedoc-keeperskill rules.
🔄 Execution Workflow
PHASE 1: Research (The "Measure Twice" Phase)
Before writing code, you MUST gather context.
-
Analyze Request: If vague, ask clarifying questions.
-
Investigate: Use
delegate_to_agent(agent_name="codebase_investigator", ...)to:- Find similar existing features (DRY).
- Trace dependency chains.
- Check for architectural patterns in
GEMINI.md.
-
Output Plan: Present a Markdown plan:
## 📋 Implementation Plan - [ ] **Backend:** (Controllers, Services, Repos needed) - [ ] **Frontend:** (Components, Hooks) - [ ] **Tests:** (Unit, Integration) - [ ] **Docs:** (Files to update)Wait for user confirmation.
PHASE 2: Implementation (The "Cut Once" Phase)
After confirmation:
-
Execute: Write code file by file using
write_fileorreplace. -
Constraint: If modifying
playwright.config.ts, STOP. Use CLI flags instead. -
Test ID: Ensure
testIdgeneration logic matchespackages/reporter/src/index.ts.
PHASE 3: Handoff (The "Quality Check" Phase)
Never just say "Done". Once implementation is complete, you MUST verify your work.
- Self-Correction: Did you create a new Service? Check if you created a corresponding Test.
-
Recommend Next Steps:
"Implementation complete. Please run the Quality Gate skill to verify integrity:"
Run validation checks
Tips:
- Use
read_fileto inspectGEMINI.mdif you are unsure about a pattern. - If you see a dependency change, warn the user to run Doc Keeper.
chat Comments (0)
Sign in to join the discussion and leave a comment.
Skill Details
Related Skills
Build your own?
Join 12,000+ developers contributing to the Claude ecosystem.
No comments yet. Be the first to share your thoughts!