Patronum Dev Setup

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

emaarco 32bd28d 1.3 KB Updated

File contents

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 scripts
which jq      # Required: JSON processing (CRITICAL)
which node    # Required: VitePress docs
which npm     # Required: VitePress docs

jq is critical — without it, the hook cannot function. If missing, provide install instructions:

# macOS
brew install jq

# Linux
apt install jq  # Debian/Ubuntu
yum install jq  # RHEL/CentOS

# WSL
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:

# JSON validity
jq empty .claude-plugin/plugin.json
jq empty hooks/hooks.json
jq empty defaults/patronum.json

# Bash syntax
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.

emaarco/hogwarts/tree/main/plugins/agento-patronum/.claude/skills/patronum-dev-setup commit 32bd28dd07

Frequently asked questions

npx skillmds@latest add emaarco/patronum-dev-setup