Langsung ke konten
Skillpedia
Testing81k Β· #1680

validate-plugin

Fungsinya

Skill ini memeriksa folder plugin, file plugin, dan file skill terhadap format Claude Code. Skill ini cocok untuk developer yang ingin menangkap kesalahan sebelum membagikan plugin.

Kapan dipakai

  • βœ“Saat Anda baru saja membuat atau mengubah sebuah plugin.
  • βœ“Saat sebuah plugin akan dipublikasikan dan memerlukan pemeriksaan akhir.
  • βœ“Saat Claude Code menolak sebuah plugin dan Anda perlu mencari penyebabnya.

Link skill

https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-plugin-creator/skills/validate-plugin/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-plugin-creator/skills/validate-plugin/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œPeriksa folder plugin saya dari masalah struktur atau format sebelum saya mempublikasikannya.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Skill menjalankan serangkaian pemeriksaan pada tata letak folder, kolom file plugin, header skill dan agen, serta referensi alat. Skill melaporkan setiap masalah yang ditemukan agar Anda dapat memperbaikinya.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

Validate Plugin

Validate that a plugin follows the correct Claude Code plugin format.

When to use

After creating or modifying a plugin, run validation to catch structural issues before publishing.

Checks performed

  1. Directory structure β€” .claude-plugin/plugin.json exists at plugin root
  2. plugin.json schema β€” required fields present (name, description, version, non-empty keywords array); name equals the directory name; version is semver
  3. Skills auto-discovery β€” every skills/<name>/SKILL.md is a valid skill (Claude Code auto-discovers from directory; plugin.json MUST NOT list a skills array)
  4. Commands auto-discovery β€” every commands/<name>.md is a valid command (auto-discovered; no commands array in plugin.json)
  5. Agents auto-discovery β€” every agents/<name>.md is a valid agent (auto-discovered; no agents array in plugin.json)
  6. No legacy arrays in plugin.json β€” presence of skills, commands, or agents arrays in plugin.json is a validation error (they cause Claude Code to reject the plugin)
  7. SKILL.md frontmatter β€” each skill has name, description, and allowed-tools (no wildcards)
  8. Agent frontmatter β€” each agent has name, description, and model
  9. No files in wrong locations β€” skills/commands/agents not inside .claude-plugin/
  10. MCP tool references β€” tools in allowed-tools use the mcp__plugin_ruflo-core_ruflo__* prefix AND exist: list the real tools with npx @claude-flow/cli@latest mcp tools and flag any name not in it (typos such as hooks_post_task for hooks_post-task, or agentdb_pattern_search for agentdb_pattern-search, are format-valid but do not exist). Also run the repo gates when inside the ruflo repo: node scripts/audit-skill-frontmatter.mjs, audit-plugin-manifest.mjs, audit-plugin-mcp-prefix.mjs

Steps

  1. Read the plugin's plugin.json and assert no skills / commands / agents arrays present
  2. Glob skills/*/SKILL.md, commands/*.md, agents/*.md and validate each frontmatter
  3. For each SKILL.md, verify frontmatter has required fields and allowed-tools has no wildcards
  4. For each agent .md, verify frontmatter has required fields
  5. Report pass/fail for each check with actionable fix suggestions
Pertanyaan umum

Apa penyebab penolakan yang umum?

File plugin yang mencantumkan skill, perintah, atau agen sebagai array. Sumber menyatakan hal ini membuat Claude Code menolak plugin.

Apakah skill ini memperbaiki masalah secara otomatis?

Deskripsinya mencakup pemeriksaan dan pelaporan, sehingga Anda yang memutuskan cara memperbaiki setiap masalah.

Apa yang diperiksa pada setiap file skill?

Kolom name, description, dan allowed tools, tanpa nama alat berkarakter wildcard.

Detail

Deskripsi asli dari pembuat

Validate a Claude Code plugin structure, frontmatter, and MCP tool references

repo: ruvnet/ruflo

Popularitas

Bintang GitHub
81k
Peringkat
#1680
Lisensi
MIT
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa