mirror of
https://github.com/trailofbits/skills-curated
synced 2026-06-21 14:12:04 +00:00
d6181041a2
Avoids confusion with the org name. Command becomes /trailofbits-skill-importer:import-skill. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1.4 KiB
1.4 KiB
Skill Importer
Import skills from GitHub into the curated marketplace. Downloads source files, transforms them to meet plugin standards, validates the result, and creates a PR.
Installation
/plugin install trailofbits-skill-importer
Usage
/trailofbits-skill-importer:import-skill https://github.com/mitsuhiko/agent-stuff/tree/main/skills/ghidra
Accepts GitHub URLs in several formats:
https://github.com/{owner}/{repo}/tree/{branch}/{path}https://github.com/{owner}/{repo}/blob/{branch}/{file}(uses parent dir)github.com/owner/repo/tree/branch/path(no protocol)owner/repo(root path, default branch)
What It Does
- Fetches the skill source tree from GitHub
- Reads and understands the skill content
- Asks you to confirm the plugin name
- Transforms paths, platform references, and frontmatter
- Adds missing required sections ("When to Use", "When NOT to Use")
- Generates
plugin.json,README.md, and directory structure - Lints scripts and validates structure
- Registers in
marketplace.jsonand rootREADME.md - Creates a branch, commits, and opens a PR
Prerequisites
ghCLI installed and authenticated (gh auth login)uvfor running the fetch scriptrufffor Python linting (optional, for script cleanup)shellcheckandshfmtfor shell linting (optional)
Credits
Built for the Trail of Bits curated skills marketplace.