Files
skill-seekers-reference/distribution/claude-plugin/commands/create-skill.md

63 lines
1.9 KiB
Markdown

---
description: Create an AI skill from any source (URL, repo, PDF, video, notebook, etc.)
---
# Create Skill
Create an AI-ready skill from a source. The source type is auto-detected.
## Usage
```
/skill-seekers:create-skill <source> [--preset <level>] [--output <dir>]
```
## Instructions
When the user provides a source via `$ARGUMENTS`, run the `skill-seekers create` command to generate a skill.
1. Parse the arguments: extract the source (first argument) and any flags.
2. If no `--preset` is specified, default to `quick` for fast results.
3. If no `--output` is specified, default to `./output`.
4. Run the create command:
```bash
skill-seekers create "$SOURCE" --preset quick --output "$OUTPUT"
```
5. After completion, read the generated `SKILL.md` and summarize what was created.
6. If the user wants to target a specific platform (e.g., Claude, OpenAI, LangChain), run the package command after:
```bash
skill-seekers package "$SKILL_DIR" --target "$PLATFORM"
```
## Presets
- `-p quick` — 1-2 minutes, basic skill
- `-p standard` — 5-10 minutes, good coverage
- `-p comprehensive` — 20-60 minutes, full analysis
## Source Types (auto-detected)
- **URL** (https://...) — Documentation scraping
- **owner/repo** or github.com URL — GitHub repo analysis
- **file.pdf** — PDF extraction
- **file.ipynb** — Jupyter notebook
- **file.docx** — Word document
- **file.epub** — EPUB book
- **YouTube/Vimeo URL** — Video transcript
- **./directory** — Local codebase analysis
- **file.yaml** with OpenAPI — API spec
- **file.pptx** — PowerPoint
- **file.adoc** — AsciiDoc
- **file.html** — HTML page
- **file.rss** — RSS/Atom feed
- **cmd.1** — Man page
## Examples
```
/skill-seekers:create-skill https://react.dev
/skill-seekers:create-skill pallets/flask -p standard
/skill-seekers:create-skill ./docs/api.pdf
/skill-seekers:create-skill https://youtube.com/watch?v=abc123
```