본문으로 건너뛰기
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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-plugin-creator/skills/validate-plugin/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“플러그인 폴더에 구조나 형식 문제가 있는지 게시하기 전에 확인해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

이 스킬은 폴더 구조, 플러그인 파일의 항목, 스킬과 에이전트 헤더, 도구 참조에 대해 일련의 검사를 실행합니다. 발견한 문제를 하나씩 보고하므로 사용자가 고칠 수 있습니다.

기술 내용 (원본 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가 플러그인을 거부하게 합니다.

문제를 자동으로 고쳐 주나요?

이 설명은 확인하고 보고하는 것에 대한 것이므로, 각 문제를 어떻게 고칠지는 사용자가 정합니다.

각 스킬 파일에서 무엇을 확인하나요?

name, description, allowed-tools 필드를 확인하며, 와일드카드 도구 이름이 없는지도 봅니다.

상세 정보

작성자의 원본 설명

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

repo: ruvnet/ruflo

인기도

GitHub 스타
81k
순위
#1680
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬