agent-development

dwmkerr 的头像作者 dwmkerr

当用户请求“创建代理”、“编写代理”、“构建代理”或希望向 Claude Code 添加新的代理功能时,应使用此技能。

📖 中文导读:当用户请求“创建代理”、“编写代理”、“构建代理”或希望向 Claude Code 添加新的代理功能时,应使用此技能。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: agent-development description: This skill should be used when the user asks to "create an agent", "write an agent", "build an agent", or wants to add new agent capabilities to Claude Code.

Agent Development

Create effective Claude Code agents.

Agent Colors

Agents support color assignments for visual distinction. Set in YAML frontmatter:

---
name: explore
description: Explores codebases
color: purple
---

Color Conventions

Color Agent Type Purpose
Purple Explore Codebase exploration, documentation
Blue Plan Analysis, planning, architecture
Green Create Testing, creation, validation
Orange Debug Debugging, refactoring
Yellow Clean Optimization, cleanup
Red Reflect Security, critical review
Pink - Available
Cyan - Orchestration, coordination

Agent Behavior

Permission Denial Resilience

Subagents continue after permission denial rather than stopping entirely. When a subagent hits a permissions wall, it tries alternative approaches automatically. This makes autonomous workflows more resilient and reduces the need for human intervention.

Important

After creating or modifying agents, inform the user:

No restart needed. Agent changes take effect immediately - agents are hot-reloaded.