From f6bb97eba955d78eda5a7bf3d515cee2a56158f1 Mon Sep 17 00:00:00 2001 From: cexll Date: Tue, 16 Dec 2025 13:02:40 +0800 Subject: [PATCH] update codeagent skill backend select --- skills/codeagent/SKILL.md | 34 +++++++++++++++++++++++++++++----- 1 file changed, 29 insertions(+), 5 deletions(-) diff --git a/skills/codeagent/SKILL.md b/skills/codeagent/SKILL.md index bd00552..0671304 100644 --- a/skills/codeagent/SKILL.md +++ b/skills/codeagent/SKILL.md @@ -39,11 +39,35 @@ codeagent-wrapper --backend gemini "simple task" ## Backends -| Backend | Command | Description | -|---------|---------|-------------| -| codex | `--backend codex` | OpenAI Codex (default) | -| claude | `--backend claude` | Anthropic Claude | -| gemini | `--backend gemini` | Google Gemini | +| Backend | Command | Description | Best For | +|---------|---------|-------------|----------| +| codex | `--backend codex` | OpenAI Codex (default) | Code analysis, complex development | +| claude | `--backend claude` | Anthropic Claude | Simple tasks, documentation, prompts | +| gemini | `--backend gemini` | Google Gemini | UI/UX prototyping | + +### Backend Selection Guide + +**Codex** (default): +- Deep code understanding and complex logic implementation +- Large-scale refactoring with precise dependency tracking +- Algorithm optimization and performance tuning +- Example: "Analyze the call graph of @src/core and refactor the module dependency structure" + +**Claude**: +- Quick feature implementation with clear requirements +- Technical documentation, API specs, README generation +- Professional prompt engineering (e.g., product requirements, design specs) +- Example: "Generate a comprehensive README for @package.json with installation, usage, and API docs" + +**Gemini**: +- UI component scaffolding and layout prototyping +- Design system implementation with style consistency +- Interactive element generation with accessibility support +- Example: "Create a responsive dashboard layout with sidebar navigation and data visualization cards" + +**Backend Switching**: +- Start with Codex for analysis, switch to Claude for documentation, then Gemini for UI implementation +- Use per-task backend selection in parallel mode to optimize for each task's strengths ## Parameters