AgentSkillsCN

claude-code-meta

构建 Claude Code 扩展——技能、代理、钩子、插件、市场、斜杠命令。在创建 Claude Code 组件、构建新技能、编写代理、创建钩子、制作插件、设置市场、编写斜杠命令、修复扩展配置,或排查 Claude Code 扩展时使用。包括用于自主创建的构建器代理。不用于查找文档——请使用 claude-code-docs-reference。

SKILL.md
--- frontmatter
name: claude-code-meta
description: Build Claude Code extensions - skills, agents, hooks, plugins, marketplaces, slash commands. Use when creating Claude Code components, building new skills, writing agents, creating hooks, making plugins, setting up marketplaces, writing slash commands, fixing extension configurations, or troubleshooting Claude Code extensions. Includes builder agents for autonomous creation. Not for looking up docs - use claude-code-docs-reference for that.

Claude Code Meta

Create any Claude Code extension component. This skill routes to specific builders based on what you need.

What Are You Building?

ComponentWhen to UseCommand
SkillExtend Claude with specialized knowledge, workflows, tool integrations/build-skill
HookAutomated validation, context injection, workflow automation/build-hook
PluginBundle skills/hooks/commands for distribution/build-plugin
MarketplaceDistribute plugins (local, GitHub, git)/build-marketplace
Slash CommandUser-invoked /command prompts/build-command

Quick Decision Guide

"I want to add knowledge/workflows to Claude" → Skill

"I want automated task execution" → Agent (invokes Skills for guidance)

"I want to validate/inject context automatically" → Hook

"I want to bundle and distribute extensions" → Plugin + Marketplace

"I want a quick user-typed command" → Slash Command

Component Relationships

code
Plugin (distribution package)
├── Skills (knowledge bases)
├── Agents (task executors that use Skills)
├── Hooks (automation triggers)
└── Commands (user-invoked prompts)

Marketplace (distributes Plugins)

Key insight: Agents are executors, Skills are knowledge. An agent invokes a skill for guidance, then executes.

Usage

  1. Identify what you're building from table above
  2. Read the corresponding reference file
  3. Follow the patterns and examples there
  4. For official Anthropic docs, use claude-code-docs-reference skill

Builder Commands

This plugin includes commands that can create components deterministically:

  • /build-skill - Creates skills with proper structure and patterns
  • /build-hook - Creates hooks for automation
  • /build-plugin - Creates plugins for distribution
  • /build-marketplace - Creates marketplaces for plugin distribution
  • /build-command - Creates slash commands

Invoke with: /command-name [details about what to build]

Additional References