Skip to content
MCP ve Eklentiler İleri

Eklenti Oluşturma

Yetenekler, ajanlar, hook'lar ve MCP sunucuları içeren yeniden kullanılabilir bir eklenti oluşturun

Komut

"color:#9CA3AF;font-style:italic"># Plugin directory structure:
$ my-plugin/
  ├── ."color:#7C5CFC">claude-plugin/
  │   └── plugin.json          "color:#9CA3AF;font-style:italic"># Required manifest
  ├── skills/
  │   └── code-review/
  │       └── SKILL.md
  ├── agents/
  ├── hooks/
  │   └── hooks.json
  ├── .mcp.json
  └── settings.json

Yanıt

// .claude-plugin/plugin.json (required):
{
  "name": "my-plugin",
  "description": "My custom plugin",
  "version": "1.0.0",
  "author": { "name": "Your Name" }
}

Ayrıştırma Kodu

059669">">// SKILL.md format:
059669">">// ---
059669">">// name: code-review
059669">">// description: Review code 059669">">for quality
059669">">// ---
059669">">// Review the provided code 059669">">for issues.
// Target: $ARGUMENTS

Tuzaklar

! Yalnızca plugin.json .claude-plugin/ içine gider — diğer her şey (yetenekler, hook'lar, ajanlar) eklenti kök dizinine gider
! Manifesto'daki eklenti adı tüm yeteneklerin ad alanını belirler

İlgili Tarifler