Agent skill
magi-test
三機(Claude/Gemini/Codex)平行審查測試,評估覆蓋率、邊界條件、異常處理後投票共識
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/magi-test
SKILL.md
MAGI Test 快捷指令
/magi-test [feature]- 測試覆蓋評估
此指令為 /magi test [feature] 的快捷方式。
使用方式
/magi-test 用戶登入功能
/magi-test src/services/payment.ts
執行內容
自動啟動 MAGI 三機平行分析:
| 機體 | 引擎 | 分析重點 |
|---|---|---|
| MELCHIOR-1 | Claude Sonnet | 測試策略、覆蓋完整性 |
| BALTHASAR-2 | Gemini Flash | 測試品質、Mock 使用合理性、測試隔離性 |
| CASPER-3 | Codex/GPT | 安全測試覆蓋、負面測試、邊界條件 |
🚨 強制執行規則
禁止事項:
- ❌ 禁止委派給其他 agent 處理
- ❌ 禁止使用非指定的工具
必須使用:
- ✅ MELCHIOR-1:
Tasktool withsubagent_type="general-purpose",model="sonnet" - ✅ BALTHASAR-2:
mcp__gemini__ask-gemini(先用 ToolSearch 載入) - ✅ CASPER-3:
mcp__codex-cli__ask-codex(先用 ToolSearch 載入)
執行步驟:
- 先調用
ToolSearch載入mcp__gemini__ask-gemini和mcp__codex-cli__ask-codex - 在單一訊息中同時發出三個 tool calls(Task + Gemini + Codex)
- 等待三機回應後彙整共識報告 </MANDATORY>
模型設定(test 任務)
| 機體 | 模型 | 參數 |
|---|---|---|
| MELCHIOR-1 | sonnet |
- |
| BALTHASAR-2 | gemini-3-flash-preview |
- |
| CASPER-3 | gpt-5.2-codex |
reasoningEffort: "medium" |
請參考 /magi-system 了解完整的投票機制與共識報告格式。
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?