hoadulieu2003-lang/antigravity-skill/aider-execution-engine

Claude Code and agent skill by hoadulieu2003-lang/antigravity-skill

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Kích hoạt động cơ gõ code Aider CLI qua MCP Server để tự động hóa Vibe Coding với Gemini 3.6 Flash / 3.5 Flash, auto-commit và auto-test.

Install

npx vskill@latest install hoadulieu2003-lang/antigravity-skill/aider-execution-engine

SKILL.md

The same SKILL.md was published earlier as hoadulieu2003-lang/antigravity-skill/aider-execution-engine.

⚡ AIDER EXECUTION ENGINE — MCP AUTOMATED CODING OPERATOR

Động cơ thực thi (Execution Engine): Aider CLI via MCP Protocol (mcp_server_aider.py)
Mô hình AI Hỗ trợ (Supported Models): gemini/gemini-3.6-flash, gemini/gemini-3.5-flash
Quy trình Cốt lõi: Vibe Coding khép kín $\to$ Tự động Commit Git $\to$ Tự động Chạy Unit Test $\to$ Tự sửa lỗi (Self-Healing).

🏛️ 1. TỔNG QUAN KIẾN TRÚC & QUY TRÌNH TỰ ĐỘNG HÓA

Aider Execution Engine cung cấp cầu nối tự động hóa gõ code trực tiếp, bảo đảm mã nguồn được kiểm thử liên tục:

mermaid
flowchart LR
Plan["📋 Kế Hoạch Đã Khóa<br/>(Locked Plan)"] --> Run["⚡ aider_run_task<br/>(Aider gõ code tự động)"]
Run --> Test["🧪 Automated Test<br/>(Chạy Unit Test)"]
Test -->|Fail| SelfHeal["🔄 Aider Tự Sửa Lỗi<br/>(Auto Self-Healing)"]
SelfHeal --> Test
Test -->|Pass| Commit["✅ Auto Git Commit<br/>(Ghi Nhận Thay Đổi)"]
SelfHeal -->|Lặp lỗi $\ge 2$ lần| Undo["⏪ aider_undo<br/>(Hoàn Tác Khẩn Cấp)"]
style Plan fill:#e1f5fe,stroke:#0288d1,stroke-width:2px;
style Run fill:#fff9c4,stroke:#fbc02d,stroke-width:2px;
style Test fill:#f3e5f5,stroke:#7b1fa2,stroke-width:2px;
style SelfHeal fill:#ffe0b2,stroke:#f57c00,stroke-width:2px;
style Commit fill:#e8f5e9,stroke:#388e3c,stroke-width:2px;
style Undo fill:#ffcdd2,stroke:#d32f2f,stroke-width:2px;

🛠️ 2. BẢNG CÔNG CỤ MCP SERVER (mcp_server_aider.py)

  1. `aider_run_task(prompt, cwd, model, test_cmd, files)`:
  • Mục tiêu: Giao nhiệm vụ cho Aider viết code hoặc tái cấu trúc tự động.
  • Cờ quan trọng:
  • test_cmd: Câu lệnh kiểm thử tự động (ví dụ: npm test hoặc pytest). Aider sẽ tự động chạy test sau mỗi lượt sửa và tiếp tục sửa nếu test fail!
  • model: Chỉ định mô hình AI hiệu năng cao (gemini/gemini-3.6-flash).
  1. `aider_undo(cwd)`:
  • Mục tiêu: Nút bấm hoàn tác khẩn cấp (Emergency Rollback). Lập tức đảo ngược commit gần nhất nếu phát hiện Aider đi lạc hướng hoặc lặp lỗi.
  1. `aider_get_repomap(cwd)`:
  • Mục tiêu: Trích xuất bản đồ cây cú pháp nén của toàn bộ dự án từ Tree-sitter.
  1. `aider_get_status(cwd)`:
  • Mục tiêu: Kiểm tra nhanh trạng thái git status và lịch sử commit gần nhất của Aider.

📋 3. QUY TRÌNH VẬN HÀNH CHUẨN 3 BƯỚC (RUNBOOK)

  1. Bước 1 — Khóa Kế Hoạch & Xác Định Ranh Giới (`Lock Plan & Scope`):
  • Định vị danh sách file cần sửa, lập chỉ mục AST trước khi kích hoạt Aider.
  1. Bước 2 — Điều Phối Aider Chạy Kèm Lệnh Test (`Execute with Auto-Test`):
  • Luôn truyền tham số test_cmd để khép kín vòng lặp kiểm chứng thực tế.
  1. Bước 3 — Nghiệm Thu & Khắc Phục Khẩn Cấp (`Verification & Circuit Breaker`):
  • Nếu Aider sửa thành công và test xanh $\to$ Tiếp nhận commit.
  • Nếu Aider bị rơi vào vòng lặp sửa sai $\ge 2$ lần $\to$ Gọi ngay aider_undo để phục hồi trạng thái sạch, sau đó tinh chỉnh lại prompt.

🛡️ 4. NGUYÊN TẮC BẤT BIẾN (INVARIANTS)

  1. Kỷ Luật Thuật Ngữ Song Ngữ (`Bilingual Terminology Protocol`):
  • Mọi tài liệu và trao đổi phải tuân thủ nghiêm ngặt định dạng: `English (Tiếng Việt)` (Ví dụ: `Automated Rollback (Hoàn Tác Tự Động)`, `Continuous Integration (Tích Hợp Liên Tục)`).
  1. Quy Tắc Ngắt Lặp Lỗi 2 Lần (`Two-Strike Circuit Breaker`):
  • Tuyệt đối không cho phép Aider tự thử sai quá 2 lần với cùng một lỗi lặp lại. Phải dừng tiến trình, rollback và phân tích nguyên nhân gốc rễ.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Grok Build (Cursor)
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/hoadulieu2003-lang/antigravity-skill/aider-execution-engine/badge)](https://verified-skill.com/skills/hoadulieu2003-lang/antigravity-skill/aider-execution-engine)

Something wrong with this skill or its page? Tell us.