Interview-driven skill/command generator for domain experts
Interviews domain experts and generates Claude Code skills or slash commands from their tacit knowledge.
/plugin marketplace add liskl/claude-marketplace/plugin install liskl-metaskills@liskl/claude-marketplaceA metaskill that interviews domain experts and generates Claude Code skills or slash commands from their tacit knowledge.
This command runs an interactive interview to:
Target user: Someone who has expertise but doesn't know how to write Claude Code skills.
Run this interview conversationally. Don't rush through phases — let the expert share fully before moving on. Use adaptive depth: offer to go deeper, don't force it.
Start with:
I'll help you package your expertise into a Claude Code skill or slash command.
What expertise or workflow do you want to package? What should Claude help with when using this?
Some examples:
- "Help builders think through product-market fit"
- "Review code for security vulnerabilities"
- "Guide someone through our onboarding process"
- "Analyze a PR for architectural concerns"
Walk me through how you actually do this.
- What questions do you ask?
- What do you look for?
- What's your mental process?
- Are there decision points where you go different directions?
I'll ask follow-up questions to understand the structure.
Adaptive depth: After their response, ask:
Refinement branch: After capturing their process, offer:
I've captured your process. Before we continue:
1. Package as-is → I'll structure exactly what you shared
2. Refine together → Let's improve the process before packaging
3. Get my suggestions → I'll share thoughts on structure/gaps, you decide what to keep
This handles users who want help thinking through their process, not just capturing it.
What frameworks, mental models, or reference material do you use?
Do you have any documents or notes I should include?
- Paste content directly
- Share a link (I'll fetch it)
- Describe it and I'll help structure it
- Or skip if there's no reference material
If material provided: Read/fetch it, confirm understanding, note this signals SKILL format (needs multiple files).
Can you give me an example of:
1. A GOOD outcome from applying this expertise — what does success look like?
2. A BAD outcome or common mistake to avoid — what should people watch out for?
Internally determine skill vs command based on signals:
| Signal | Points to |
|---|---|
| Linear flow, same steps every time | Command |
| Branching logic, "it depends" answers | Skill |
| Has reference material to include | Skill |
| Quick checklist or template | Command |
| Should auto-trigger on certain contexts | Skill |
| Walks through a framework with steps | Skill with reference files |
Present your analysis:
Based on what you've shared, I recommend a [SKILL / SLASH COMMAND].
Here's why:
- [Key reasoning from signals]
The structure I'm seeing:
- Core framework: [decision tree / checklist / process]
- Reference material: [yes, will include / no]
- Estimated files: [1 for command / N for skill]
Does this capture your expertise correctly? Anything to adjust before I generate it?
Generate the artifact based on recommendation:
For Slash Command: Single markdown file For Skill: Folder with SKILL.md + optional reference.md + optional examples.md
Show the full generated content and ask:
Here's what I generated. Take a look — does this capture your expertise correctly?
[Show full content]
What would you like to do?
1. Ship it! → I'll save it now
2. Let me refine... → Tell me what to adjust
3. Show me the raw files → For manual copying
First, detect their setup:
# Check if ~/.claude/commands/ has symlinks pointing to a dotfiles directory
ls -la ~/.claude/commands/ 2>/dev/null | grep "^l" | head -3
Then adapt the flow:
If symlinks detected (dotfiles workflow):
I see you manage commands in [detected dotfiles path] with symlinks.
Want me to:
1. Write to [dotfiles path] + create symlink → Works immediately, stays in your dotfiles
2. Write directly to ~/.claude/ → Simpler, but outside your dotfiles
3. Just show me → Display for manual copying
If no symlinks (direct workflow):
Where should I save this?
1. Personal → ~/.claude/[skills|commands]/[name]
2. Team/Org → [Ask for path, e.g., ~/projects/team-cc-utils]
3. Just show me → Display for manual copying
For dotfiles + symlink: Write to detected path, create symlink to ~/.claude/ For personal: Create directory if needed, write files directly For team: Write to specified path, suggest git workflow For manual: Display with copy-paste instructions
Key requirements from Anthropic best practices:
analyzing-code, reviewing-prs)---
description: [Third-person description]. Use when [trigger context].
---
# [Display Name]
[Core instructions synthesized from walkthrough]
## Process
[Step-by-step flow or decision tree from their mental model]
## Key Considerations
[Frameworks and mental models they mentioned]
## Examples
**Good outcome:** [From interview]
**Avoid:** [Common mistakes from interview]
<!-- Generated by /skill-builder -->
---
name: [gerund-kebab-case]
description: [Third-person what it does]. Use when [trigger context with key terms].
---
# [Display Name]
[Brief overview — when Claude should apply this skill]
## Core Process
[Main framework or decision tree from walkthrough]
## Guidelines
[Key principles from interview]
## Reference
- See `reference.md` for detailed frameworks
- See `examples.md` for good/bad examples
<!-- Generated by /skill-builder -->
Naming examples:
reviewing-code, analyzing-spreadsheets, processing-pdfscode-review, helper, utils# [Name] Reference
## Frameworks
[Detailed frameworks from interview]
## Mental Models
[How to think about this domain]
## External Resources
[Links or citations if provided]
# [Name] Examples
## Good Outcomes
[Success examples from interview]
## Common Mistakes
[What to avoid, failure modes]
Follow these throughout the interview: