|
|
6 miesięcy temu | |
|---|---|---|
| .. | ||
| .claude-plugin | 19a119f97e Update plugins library to include authors (#6) | 8 miesięcy temu |
| commands | 4ca561fb85 creating intital scaffolding for claude code plugins | 9 miesięcy temu |
| skills | 4ca561fb85 creating intital scaffolding for claude code plugins | 9 miesięcy temu |
| .mcp.json | 4ca561fb85 creating intital scaffolding for claude code plugins | 9 miesięcy temu |
| LICENSE | aecd4c852f Add Apache 2.0 LICENSE files to all internal plugins | 6 miesięcy temu |
| README.md | ef7ceef127 fixed readme | 9 miesięcy temu |
A comprehensive example plugin demonstrating Claude Code extension options.
example-plugin/
├── .claude-plugin/
│ └── plugin.json # Plugin metadata
├── .mcp.json # MCP server configuration
├── commands/
│ └── example-command.md # Slash command definition
└── skills/
└── example-skill/
└── SKILL.md # Skill definition
commands/)Slash commands are user-invoked via /command-name. Define them as markdown files with frontmatter:
---
description: Short description for /help
argument-hint: <arg1> [optional-arg]
allowed-tools: [Read, Glob, Grep]
---
skills/)Skills are model-invoked capabilities. Create a SKILL.md in a subdirectory:
---
name: skill-name
description: Trigger conditions for this skill
version: 1.0.0
---
.mcp.json)Configure external tool integration via Model Context Protocol:
{
"server-name": {
"type": "http",
"url": "https://mcp.example.com/api"
}
}
/example-command [args] - Run the example slash command