Skip to content

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

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

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

Conversation

@proboscis
Copy link
Owner

Summary

Implements ISSUE-037: Skill export CLI with multi-platform installation guides.

This PR adds the ability to export runbox skills to a directory with platform-specific installation guides for multiple AI coding assistants.

Changes

  • New CLI command: runbox skill list - Lists available skills
  • New CLI command: runbox skill export <name> [--output <dir>] - Exports a skill with installation guides

Exported Directory Structure

exported-skill/
├── SKILL.md              # The skill content
├── 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 (executable)

Supported Platforms

Platform Location
Claude Code ~/.claude/skills/<name>/
OpenCode ~/.opencode/skills/<name>/
Gemini CLI ~/.gemini/instructions/
Codex ~/.codex/instructions/
Cursor .cursor/rules/

Testing

  • Added comprehensive tests in crates/runbox-cli/tests/skill_export.rs
  • All 6 new tests pass
  • All existing tests pass

Usage Example

# List available skills
runbox skill list

# Export a skill
runbox skill export runbox-cli --output ./my-skill

# Then install with auto-installer
cd my-skill && ./install.sh

Related Issue

Closes ISSUE-037

…ll guides

Implements ISSUE-037: Skill export CLI with multi-platform installation guides.

Changes:
- Add 'runbox skill list' to show available skills
- Add 'runbox skill export <name> [--output <dir>]' to export skills
- Generate SKILL.md with the skill content
- Generate INSTALL.md with unified installation instructions
- Generate platform-specific guides for:
  - Claude Code (~/.claude/skills/)
  - OpenCode (~/.opencode/skills/)
  - Gemini CLI (~/.gemini/instructions/)
  - Codex (~/.codex/instructions/)
  - Cursor (.cursor/rules/)
- Generate executable install.sh auto-installer script
- Add comprehensive tests for skill export functionality

The embedded 'runbox-cli' skill uses docs/opencode-skill.md as content.
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