| name | patronum-dev-setup |
| description | Set up the agento-patronum development environment. Check prerequisites, install docs dependencies, validate plugin structure. |
| disable-model-invocation | true |
| allowed-tools | Bash(which *), Bash(bash -n *), Bash(jq *), Bash(cd * && npm *), Bash(npm *) |
Skill: patronum-dev-setup
Set up the local development environment for agento-patronum.
Steps
1. Check prerequisites
Verify the following tools are available:
which bash
which jq
which node
which npm
jq is critical — without it, the hook cannot function. If missing, provide install instructions:
brew install jq
apt install jq
yum install jq
apt install jq
If any tool is missing, tell the user how to install it and do not proceed.
2. Install docs dependencies
cd docs && npm install
3. Validate plugin structure
Run all validation checks:
jq empty .claude-plugin/plugin.json
jq empty hooks/hooks.json
jq empty defaults/patronum.json
for f in scripts/patronum-*.sh; do
bash -n "$f" && echo "$f OK"
done
4. Run self-test
CLAUDE_PLUGIN_ROOT="$(pwd)" bash scripts/patronum-verify.sh
5. Report
Summarize what was checked and whether everything passed.