Agento-patronum patronum-dev-setup

Set up the agento-patronum development environment. Check prerequisites, install docs dependencies, validate plugin structure.

install
source · Clone the upstream repo
git clone https://github.com/emaarco/agento-patronum
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/emaarco/agento-patronum "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.claude/skills/patronum-dev-setup" ~/.claude/skills/emaarco-agento-patronum-patronum-dev-setup && rm -rf "$T"
manifest: .claude/skills/patronum-dev-setup/SKILL.md
source content

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    # Required: shell runtime
which node    # Required: plugin scripts + VitePress docs
which npm     # Required: VitePress docs

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:

# JSON validity
node -e "JSON.parse(require('fs').readFileSync('.claude-plugin/plugin.json','utf8'))" && echo "plugin.json OK"
node -e "JSON.parse(require('fs').readFileSync('hooks/hooks.json','utf8'))" && echo "hooks.json OK"
node -e "JSON.parse(require('fs').readFileSync('defaults/patronum.json','utf8'))" && echo "patronum.json OK"

# Script syntax
for f in scripts/hooks/patronum-*.js scripts/management/patronum-*.js scripts/setup/patronum-*.js; do
  node -c "$f" && echo "$f OK"
done

4. Run self-test

CLAUDE_PLUGIN_ROOT="$(pwd)" node scripts/management/patronum-verify.js

5. Report

Summarize what was checked and whether everything passed.