Zum Inhalt springen
Skillpedia
Tests81k · #1680

validate-plugin

Was er macht

Dieser Skill prüft die Ordner, die Plugin-Datei und die Skill-Dateien eines Plugins gegen das Format von Claude Code. Er ist für Entwickler gedacht, die Fehler finden wollen, bevor sie ein Plugin teilen.

Wann du ihn nutzt

  • ✓Wenn du gerade ein Plugin erstellt oder geändert hast.
  • ✓Wenn ein Plugin veröffentlicht werden soll und eine letzte Prüfung braucht.
  • ✓Wenn Claude Code ein Plugin ablehnt und du die Ursache finden musst.

Link zum Skill

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

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-plugin-creator/skills/validate-plugin/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Prüfe meinen Plugin-Ordner auf Struktur- oder Formatprobleme, bevor ich ihn veröffentliche.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Der Skill führt eine Reihe von Prüfungen am Ordneraufbau, an den Feldern der Plugin-Datei, an den Kopfzeilen der Skills und Agenten sowie an den Werkzeug-Verweisen durch. Jedes gefundene Problem meldet er, damit du es beheben kannst.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von 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
Häufige Fragen

Was ist eine typische Ursache für eine Ablehnung?

Eine Plugin-Datei, die Skills, Befehle oder Agenten als Arrays auflistet. Laut Quelle führt das dazu, dass Claude Code das Plugin ablehnt.

Behebt der Skill Probleme automatisch?

Die Beschreibung deckt Prüfen und Melden ab. Du entscheidest also, wie du jedes Problem behebst.

Was prüft er in jeder Skill-Datei?

Die Felder name, description und erlaubte Werkzeuge, ohne Platzhalter-Werkzeugnamen.

Details

Originalbeschreibung des Autors

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

repo: ruvnet/ruflo

Beliebtheit

GitHub-Sterne
81k
Platz im Ranking
#1680
Lizenz
MIT
Aktualisiert
2.11.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills