gemini-agent/SKILL.md
Gemini (gemini-3-pro-preview) AI 代理 - UI 设计与前端开发专家。gemini-ui 的增强版,支持包装脚本、错误处理、流水线模式。触发条件:UI 设计、前端组件、页面布局、视觉设计、样式美化。使用 /gemini-agent <描述> 或 /design-ui <描述> 委派 UI 设计任务给 Gemini。
npx skillsauth add thendcn/ai-team-skills gemini-agentInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
将 UI 设计和前端开发任务委派给 Gemini (gemini-3-pro-preview),由 Claude Code 编排和审查。
/gemini-agent <UI 设计描述>
/design-ui <UI 设计描述>
也可由 Claude Code 在分析任务后自动委派(当任务涉及 UI/设计/组件/页面/布局/样式时)。
gemini-run.shgemini-run.ps1(必须通过 powershell.exe -ExecutionPolicy Bypass -File 调用)-f / -File 参数)推荐:使用 -f 文件模式传递 prompt(避免 shell 转义问题)
Linux / macOS (Bash):
bash ~/.claude/skills/gemini-agent/scripts/gemini-run.sh -f /tmp/gemini-prompt.txt -d <工作目录>
Windows(必须使用 powershell.exe 调用 .ps1 脚本):
powershell.exe -ExecutionPolicy Bypass -File ~/.claude/skills/gemini-agent/scripts/gemini-run.ps1 -File /tmp/gemini-prompt.txt -Dir <工作目录>
Windows 注意事项:
gemini-run.sh / gemini-run.ps1 [OPTIONS] [prompt...]
Bash: PowerShell:
-m, --mode <yolo|prompt> -Mode <yolo|prompt>
--model <model> -Model <model>
-d, --dir <directory> -Dir <directory>
-t, --timeout <seconds> -Timeout <seconds>
-f, --file <file> -File <file>
将用户需求转化为 Gemini 友好的 prompt 时,遵循以下结构:
关键:prompt 中应强调利用 Pro 模型的高级设计能力,包括精细的视觉层次、配色方案、动画细节等。
参考 references/prompt-templates.md 获取完整模板。
Gemini 生成的文件直接写入工作目录。Claude Code 应:
作为流水线第一步(设计阶段)时:
src/components/, src/pages/)gemini-agent 是 gemini-ui 的增强版:
两者共存,简单任务可用 gemini-ui,复杂任务或流水线模式用 gemini-agent。
当用户请求包含以下关键词时,应路由到 gemini-agent:
development
Codex (gpt-5.3-codex high) AI 代理 - 代码编写与实现专家。支持代码编写、功能实现、bug 修复、重构、测试、代码审查。使用 /codex-agent <描述> 或 /codex <描述> 委派代码任务给 Codex。
development
AI 团队协作流水线。自动编排 Claude(Lead) + Codex(代码) + Gemini(UI) 多 Agent 协作。使用 /ai-team <任务描述> 启动团队协作。
data-ai
Example TaskFlow authoring pattern for inbox triage. Use when messages need different treatment based on intent, with some routes notifying immediately, some waiting on outside answers, and others rolling into a later summary.
data-ai
Example TaskFlow authoring pattern for inbox triage. Use when messages need different treatment based on intent, with some routes notifying immediately, some waiting on outside answers, and others rolling into a later summary.