AgentSkillsCN

implement-claude-extensions

在比较钩子、技能、子代理、Agent团队以及插件封装模式的基础上,选择并实施恰当的Claude扩展类型。

SKILL.md
--- frontmatter
name: implement-claude-extensions
description: Choose and implement the right Claude extension type by comparing hooks, skills, sub-agents, agent teams, and plugin packaging patterns.

Implement Claude Extensions

Use this umbrella skill to choose the correct extension type and route implementation to the appropriate component skill.

Comparison

Extension TypeBest ForPrimary ArtifactsComponent Skill
HooksEvent-driven automation/guardrailshooks/hooks.json, hook scripts../implement-hooks/SKILL.md
Agent SkillsReusable task playbooksskills/<name>/SKILL.md../implement-agent-skills/SKILL.md
Sub-AgentsSpecialized delegated rolesagents/*.md../implement-sub-agents/SKILL.md
Agent TeamsCoordinated multi-agent executionteam config + coordination docs../implement-agent-teams/SKILL.md
PluginsPackaging/distribution + wiring.claude-plugin/plugin.json../implement-plugin/SKILL.md

Workflow

  1. Identify outcome and constraints.
  2. Use references/when-to-use.md to pick extension type(s).
  3. Hand off implementation to component skill(s).
  4. Apply shared lifecycle checks before verification.

Progressive Disclosure

  • Extension comparison details: references/extension-types.md
  • Decision guide: references/when-to-use.md
  • Cross-component patterns: references/cross-component-patterns.md
  • Lifecycle from design to verification: references/extension-lifecycle.md

Component Skills

  • ../implement-hooks/SKILL.md
  • ../implement-agent-skills/SKILL.md
  • ../implement-sub-agents/SKILL.md
  • ../implement-agent-teams/SKILL.md
  • ../implement-plugin/SKILL.md

Sources