Skillpedia
الاختبار81k · #1680

validate-plugin

ما الذي تفعله

تتحقق هذه المهارة من مجلدات الإضافة وملفها وملفات مهاراتها مقارنةً بصيغة Claude Code. وهي موجهة إلى المطورين الذين يريدون اكتشاف الأخطاء قبل مشاركة الإضافة.

متى تستخدمها

  • ✓عندما تكون قد أنشأت إضافة أو غيّرتها للتو.
  • ✓عندما ستُنشر الإضافة وتحتاج إلى فحص نهائي.
  • ✓عندما يرفض Claude Code إضافة وتحتاج إلى معرفة السبب.

رابط المهارة

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

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-plugin-creator/skills/validate-plugin/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“تحقق من مجلد الإضافة عندي من أي مشكلات في البنية أو الصيغة قبل أن أنشرها.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

تشغّل المهارة سلسلة من الفحوص على تخطيط المجلدات وحقول ملف الإضافة وترويسات ملفات المهارات والوكلاء ومراجع الأدوات. وتبلّغ عن كل مشكلة تجدها كي تصلحها.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من 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
الأسئلة الشائعة

ما السبب الشائع للرفض؟

ملف إضافة يسرد المهارات أو الأوامر أو الوكلاء كمصفوفات. يقول المصدر إن ذلك يتسبب في رفض Claude Code للإضافة.

هل تصلح المشكلات تلقائيًا؟

يغطي الوصف الفحص والإبلاغ، لذلك تقرر أنت كيف تعالج كل مشكلة.

ماذا يفحص في كل ملف مهارة؟

حقول الاسم والوصف والأدوات المسموح بها، دون أسماء أدوات تحتوي على حرف البدل *.

التفاصيل

الوصف الأصلي من المؤلف

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

repo: ruvnet/ruflo

الشعبية

نجوم GitHub
81k
الترتيب
#1680
الترخيص
MIT
آخر تحديث
2‏/11‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة