Skip to content

feat: add skill export CLI with multi-platform install guides#59

Open
proboscis wants to merge 1 commit intomainfrom
issue/ISSUE-037/run-20260120-154855
Open

feat: add skill export CLI with multi-platform install guides#59
proboscis wants to merge 1 commit intomainfrom
issue/ISSUE-037/run-20260120-154855

Conversation

@proboscis
Copy link
Owner

Summary

Implements runbox skill export command to export skills with platform-specific installation guides for AI coding assistants.

  • Add runbox skill list to discover skills across platforms (Claude Code, OpenCode, Cursor)
  • Add runbox skill show <name> to view skill metadata and content preview
  • Add runbox skill export <name> --output <dir> to export skills with install guides

Output Structure

exported-skill/
├── SKILL.md                 # The skill content
├── references/              # Reference files (if any)
├── examples/                # Example files (if any)
├── INSTALL.md               # Unified install guide
├── install/
│   ├── claude-code.md       # Claude Code installation
│   ├── opencode.md          # OpenCode installation
│   ├── gemini.md            # Gemini CLI installation
│   ├── codex.md             # Codex installation
│   └── cursor.md            # Cursor installation
└── install.sh               # Auto-install script

Supported Platforms

Platform Location Format
Claude Code ~/.claude/skills/<name>/ Markdown + YAML frontmatter
OpenCode ~/.opencode/skills/<name>/ Markdown + YAML frontmatter
Gemini CLI Project GEMINI.md Markdown
Codex AGENTS.md Markdown
Cursor ~/.cursor/rules/ Markdown

Testing

  • All existing tests pass
  • Added CLI tests for skill export commands
  • Manual testing verified export creates all expected files

Related Issue

Closes: ISSUE-037

…uides

Implement skill export functionality for AI coding assistants:

- Add 'runbox skill list' to discover skills across platforms
- Add 'runbox skill show <name>' to view skill details
- Add 'runbox skill export <name> --output <dir>' to export skills

Export creates:
- SKILL.md (main skill file)
- references/ and examples/ (if present)
- INSTALL.md (unified guide)
- install/<platform>.md for each platform
- install.sh (auto-detect and install script)

Supported platforms:
- Claude Code (~/.claude/skills/)
- OpenCode (~/.opencode/skills/)
- Gemini CLI
- Codex (OpenAI)
- Cursor (~/.cursor/rules/)

Closes: ISSUE-037
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant