본문으로 건너뛰기
Skillpedia
일반 코딩81k · #1679

create-plugin

하는 일

이 스킬은 새 Claude Code 플러그인의 폴더 구조와 시작 파일을 만듭니다. 스킬, 명령, 에이전트로 Claude Code를 확장하려는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓스킬이나 명령을 추가하는 새 플러그인을 만들고 싶을 때.
  • ✓표준 폴더 구조를 자동으로 만들고 싶을 때.
  • ✓플러그인 이름이 이미 쓰이고 있지 않은지 확인하고 싶을 때.

스킬 링크

https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-plugin-creator/skills/create-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/create-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에게 요청하는 예시

“송장 초안을 작성하는 스킬이 들어 있는 invoice-helper라는 새 플러그인을 만들어 주세요.”

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

작동 방식

이 스킬은 플러그인 이름과 설명을 묻고, 이름이 비어 있는지 확인한 뒤 표준 폴더와 시작 파일을 만듭니다. 필요한 헤더가 들어간 플러그인 파일과 스킬 파일을 씁니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Create Plugin

Scaffold a new Claude Code plugin from scratch.

When to use

When you want to create a new plugin that extends Claude Code with skills, commands, and agents. This generates the correct directory structure and wires up MCP tools.

Steps

  1. Get plugin name and description from the user
  2. Check for conflicts — call mcp__plugin_ruflo-core_ruflo__transfer_plugin-search to ensure the name isn't taken
  3. Create directory structure (follows the canonical plugin contract from sibling plugins' ADR-0001s):
    plugins/<name>/
    ├── .claude-plugin/
    │   └── plugin.json
    ├── skills/
    │   └── <skill-name>/
    │       └── SKILL.md
    ├── commands/
    │   └── <command-name>.md
    ├── agents/
    │   └── <agent-name>.md
    ├── docs/
    │   └── adrs/
    │       └── 0001-<name>-contract.md     # Plugin-level ADR (Proposed)
    ├── scripts/
    │   └── smoke.sh                         # Structural contract (≥8 checks)
    └── README.md                            # Compatibility + Namespace coordination + Verification + ADR sections
    
  4. Generate plugin.json with name, description, version, author (do NOT include skills, commands, or agents arrays — Claude Code auto-discovers these from directory structure)
  5. Generate SKILL.md files with proper frontmatter:
    ---
    name: skill-name
    description: What this skill does
    allowed-tools: mcp__plugin_ruflo-core_ruflo__tool1 mcp__plugin_ruflo-core_ruflo__tool2 Bash
    ---
    
  6. Generate command files with name and description frontmatter
  7. Generate agent files with name, description, and model: sonnet
  8. Generate README.md with install instructions, features, commands, skills, AND the canonical plugin-contract sections:
    • Compatibility — pin to @claude-flow/cli v3.6 major+minor
    • Namespace coordination — claim a kebab-case <plugin-stem>-<intent> namespace; defer to ruflo-agentdb ADR-0001 §"Namespace convention"
    • Verification — bash plugins/<name>/scripts/smoke.sh
    • Architecture Decisions — link to ADR-0001
  9. Generate ADR-0001 (Proposed) at docs/adrs/0001-<name>-contract.md documenting: pinning, namespace coordination, MCP-tool surface count if applicable, smoke contract scope. Status: Proposed.
  10. Generate scripts/smoke.sh — at minimum 8 structural checks: version + keywords; skills/agents/commands present with valid frontmatter; v3.6 pin in README; namespace coordination block in README; ADR exists with status Proposed; no wildcard tools in skills.
  11. Update marketplace.json if adding to the ruflo marketplace.

MCP-tool drift to avoid (per sibling-ADR lessons learned)

Several plugins shipped with subtle MCP bugs the loop has been finding. Don't replicate them:

  • embeddings_embed does not exist. Real tool is embeddings_generate. Don't reference embeddings_embed in any allowed-tools line.
  • agentdb_hierarchical-* does NOT route by namespace. It routes by tier (working|episodic|semantic). Pass tier, not namespace. For namespaced reads/writes, use memory_* instead.
  • agentdb_pattern-* does NOT route by namespace. It routes through ReasoningBank. Don't pass a namespace arg — fallback writes to the reserved pattern namespace via memory-store-fallback.
  • pattern (singular) and patterns (plural) are different namespaces. ReasoningBank fallback writes to pattern; hooks_pretrain writes to patterns. Don't conflate them.

Plugin.json schema

Required fields (the repo gate scripts/audit-plugin-manifest.mjs fails without them):

  • name — plugin identifier (kebab-case, must equal the directory name)
  • description — what the plugin does
  • version — semver (X.Y.Z, optional pre-release suffix); bump it on every change, because marketplace users only receive a plugin when its version changes
  • keywords — non-empty array of strings

Recommended fields:

  • author — { "name": "...", "url": "..." }
  • homepage, license

Optional fields:

  • graph_adapter — ADR-130 graph intelligence contract (commented out by default in generated output):
    // "graph_adapter": {
    //   "edgeRelations": ["my-relation-type"],
    //   "nodeTypes": ["entity"],
    //   "autoRegister": true
    // }
    
    When autoRegister: true, the plugin's edges are automatically included in graph_edges writes by the core graph layer. Declare edgeRelations — the relation types this plugin produces.

**Do

자주 묻는 질문

플러그인 파일에 스킬을 목록으로 적어야 하나요?

아니요. 원본에 따르면 Claude Code는 폴더에서 스킬, 명령, 에이전트를 찾으므로 플러그인 파일에 적을 필요가 없습니다.

플러그인을 배포해 주나요?

이 설명은 구조를 만드는 것에 대한 것이며, 배포는 다루지 않습니다.

무엇이 함께 만들어지나요?

형제 플러그인의 구조를 따라 README, 아키텍처 메모, 스모크 테스트 스크립트가 만들어집니다.

상세 정보

작성자의 원본 설명

Scaffold a new Claude Code plugin with proper directory structure, plugin.json, skills, commands, and agents

repo: ruvnet/ruflo

인기도

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

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬