with one click
skill-distillery
// Distills tool patterns from external repositories into teachable skills and plugins. Use when build plugin for, create skills for CLI, package as plugin, repo to plugin, or turn into plugin are mentioned.
// Distills tool patterns from external repositories into teachable skills and plugins. Use when build plugin for, create skills for CLI, package as plugin, repo to plugin, or turn into plugin are mentioned.
[HINT] Download the complete skill directory including SKILL.md and all related files
| name | skill-distillery |
| description | Distills tool patterns from external repositories into teachable skills and plugins. Use when build plugin for, create skills for CLI, package as plugin, repo to plugin, or turn into plugin are mentioned. |
| metadata | {"version":"1.0.1","related-skills":["research","codebase-analysis","find-patterns","codify","skillcraft","claude-craft","claude-plugins"]} |
| allowed-tools | Read, Write, Edit, Grep, Glob, Bash, TaskCreate, TaskUpdate, TaskList, TaskGet, AskUserQuestion, Skill |
Transform external repositories into Claude Code plugins.
External Repo ā Research ā Recon ā Patterns ā Codify ā Author ā Package ā Audit ā Plugin
research skill for external discovery (docs, APIs, community patterns)codebase-analysis skill for internal analysis of target repofind-patterns skill to extract repeatable patterns worth automatingcodify skill to map patterns to component typesskillcraft or claude-craftclaude-plugins skill to package into distributable pluginclaude-plugins audit checklists<when_to_use>
NOT for: plugins from scratch (use claude-plugins), single-skill creation (use skillcraft), auditing existing plugins (use claude-plugins)
</when_to_use>
Track progress with artifacts in artifacts/skill-distillery/:
artifacts/skill-distillery/
āāā discovery.md # Research output (docs, APIs, community patterns)
āāā recon.md # Codebase analysis (structure, conventions, key files)
āāā patterns.md # Extracted patterns with automation value
āāā mapping.md # Pattern ā component mapping decisions
āāā components/ # Authored skills, agents, hooks, commands
ā āāā skill-1/
ā āāā skill-2/
ā āāā ...
āāā audit.md # Plugin validation results
For simple repos (single-purpose CLI, small API wrapper):
Trigger: User says "quick", repo has < 5 main commands, or clear single purpose.
Load the maintain-tasks skill for stage tracking. Stages advance only.
| Stage | Skill | activeForm |
|---|---|---|
| 1. Discovery | research | "Researching external docs" |
| 2. Recon | codebase-analysis | "Analyzing target repo" |
| 3. Patterns | find-patterns | "Extracting patterns" |
| 4. Mapping | codify | "Mapping to components" |
| 5. Authoring | skillcraft | "Creating components" |
| 6. Packaging | claude-plugins | "Packaging plugin" |
| 7. Audit | claude-plugins | "Validating plugin" |
Load research skill. Gather external docs, community patterns, pain points.
See stage-1-discovery.md for details.
Load codebase-analysis skill. Analyze structure, API surface, conventions.
See stage-2-recon.md for details.
Load find-patterns skill. Extract workflows, command sequences, decision points.
See stage-3-patterns.md for details.
Load codify skill. Map patterns to component types (skill, command, hook, agent).
See stage-4-mapping.md for details.
Load appropriate skill per component type. Create in artifacts/skill-distillery/components/.
See stage-5-authoring.md for details.
Load claude-plugins skill. Create plugin structure with manifest and README.
Ask: "Do you have an existing marketplace to add this plugin to?" If yes, prepare the marketplace entry.
See stage-6-packaging.md for details.
Validate using the claude-plugins audit checklists. See its references/audit.md.
See stage-7-audit.md for details.
<decision_points>
Key decisions during engineering process:
Which patterns to automate?
Skills vs Commands?
Include agents?
Quick mode vs full pipeline?
</decision_points>
ALWAYS:
NEVER:
Stage guides:
Skills loaded:
research ā external discovery methodologycodebase-analysis ā repo analysis approachfind-patterns ā pattern extractioncodify ā pattern-to-component mappingclaude-plugins ā plugin packaging