Repository navigation
skills/ is raea's plugin for Claude - #49
Merged
Merged
Conversation
…oks, ready for Claude's plugin directory skills/.claude-plugin/plugin.json names the plugin `raea` (skills: ./raea, the directory listing's icon and links), skills/hooks/hooks.json runs hooks/raea-hook.sh before a Bash command and after Write, Edit or MultiEdit, and that script hands the tool call to `raea hook claude`: media opened in the Mac's viewer goes to `raea show` once, and a saved composition gets raea's quick check. The script does nothing without raea on PATH, or when `raea skills install` already put the hooks in ~/.claude/settings.json, so they never run twice. skills/README.md says what the plugin runs and sends, as the directory asks. .claude-plugin/marketplace.json at the root makes this repository a marketplace: /plugin install raea --marketplace shinyobjectz/raea-skills. skillcheck reads the manifest (features/plugin.feature): it must parse and name the plugin, its skills must list every skill folder and nothing that isn't one, and hooks/ isn't checked as a skill. just link skips folders with no SKILL.md; just plugin runs claude plugin validate on the plugin and the marketplace (both pass; the one warning is the version, left out so each commit is the plugin's version). Tested: just ci (17 scenarios), the hook script with and without raea and with raea's hooks already in settings, the after-save check on a composition, and a Claude Code session with --plugin-dir skills, which lists raea:raea and runs the plugin's PreToolUse hook. raea's release.sh stages only skill folders from now on (shinyobjectz/raea#123), so the plugin's files stay out of ~/.claude/skills.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Makes
skills/raea's plugin for Claude, so it can be listed in Claude's plugin directory (claude.ai/directory) and installed in Claude Code, Cowork and claude.ai.What the plugin holds
skills/.claude-plugin/plugin.json: pluginraea,skills: ["./raea"], plus the directory listing's icon, docs, support, privacy and terms links.skills/hooks/hooks.json+hooks/raea-hook.sh: raea's two hooks (raea hook claude). Before a Bash command, media opened in the Mac's viewer is pointed atraea showonce. After a save, a composition getsraea check --quick. The script does nothing without raea on PATH, and steps aside whenraea skills installalready put the hooks in~/.claude/settings.json.skills/README.md: what the plugin is, how to install it and raea, and what it runs and sends (the directory reads it for the listing and the security scan).skills/icon.png: raea's app icon..claude-plugin/marketplace.json: this repository as a marketplace, so/plugin install raea --marketplace shinyobjectz/raea-skillsworks today.Checks
features/plugin.feature, 5 scenarios). It must parse and name the plugin, itsskillsmust list every skill folder and nothing that isn't one, andhooks/isn't a skill.just linkskips folders with no SKILL.md.just pluginrunsclaude plugin validateon the plugin and the marketplace.Tested
just ci: 17 scenarios, 89 steps, and 1 skill checked with 0 errors.claude plugin validate skillsand.both pass, and the directory checks found nothing to report. The one warning isversion, left out on purpose so each commit is the plugin's version.open out/a.pngonce (exit 2, pointing toraea show) and lets the same command through the second time. On a saved composition it returns the quick check's findings asadditionalContext.claude --plugin-dir skillssession listsraea:raeaand runs the plugin's PreToolUse hook.Order with raea: shinyobjectz/raea#123 makes
tools/release.shstage only skill folders. Land it before raea's skills pin moves past this merge, so the plugin's files never reach~/.claude/skillsthrough raea's installer.Review checklist
just cipassesopinion-okhas a reason a reviewer agrees with (none added)raea-tested-againstmatchesupstream/raea/VERSION(unchanged)claude --plugin-dir skills)