Comprehensive guide for creating Claude Code agents with proper structure, triggering conditions, system prompts, and validation - combines official Anthropic best practices with proven patterns
安装
npx skills add NeoLabHQ/context-engineering-kit --skill create-agentnpx skills add NeoLabHQ/context-engineering-kit --skill create-agent -a claude-code -gnpx skills add NeoLabHQ/context-engineering-kit --skill create-agent -a codex -ggemini skills install https://github.com/NeoLabHQ/context-engineering-kit.git --path skills/create-agentgh skill install NeoLabHQ/context-engineering-kit create-agentgit clone --depth 1 https://github.com/NeoLabHQ/context-engineering-kit /tmp/NeoLabHQ__context-engineering-kit
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/NeoLabHQ__context-engineering-kit/skills/create-agent ~/.claude/skills/create-agent # Claude Code
cp -R /tmp/NeoLabHQ__context-engineering-kit/skills/create-agent ~/.agents/skills/create-agent # Codex, Cursor, Gemini CLI, Copilot, OpenCode