smithery/JamesPrial

plugin-packager-hooks

Handle hook scripts and paths for plugin packaging

Installation

$ npx skills add smithery/JamesPrial --skill plugin-packager-hooks

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery/JamesPrial · top by installs.

npx skills add smithery/JamesPrial

Browse all from smithery/JamesPrial

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 775 B
  • docs SUMMARY.md 79 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

Hook Script Handling

Make Executable

chmod +x hooks/golang/scripts/*.sh
chmod +x hooks/security/scripts/*.py

Dynamic Path Resolution

Use ${CLAUDEPLUGINROOT} for portable paths:

{
  "script": "${CLAUDE_PLUGIN_ROOT}/hooks/golang/scripts/go-fmt.sh"
}

Validate All Scripts

find hooks -type f \( -name "*.sh" -o -name "*.py" \) ! -perm -u+x

Multiple hooks.json Handling

Option 1: Array Reference (Recommended)

{
  "hooks": [
    "./hooks/golang/hooks.json",
    "./hooks/security/hooks.json"
  ]
}

Option 2: Inline Merged

Combine all hook definitions into single inline object in plugin.json.