# Patronum Dev Setup

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

- Skill: `emaarco/patronum-dev-setup` (Agent Skill)
- Install (CLI): `npx skillmds@latest add emaarco/patronum-dev-setup`
- Raw SKILL.md: https://api.skillmd.com/api/skills/emaarco/patronum-dev-setup/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: emaarco (https://skillmd.com/u/emaarco)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/emaarco/patronum-dev-setup

---


# Skill: patronum-dev-setup

Set up the local development environment for agento-patronum.

## Steps

### 1. Check prerequisites

Verify the following tools are available:

```bash
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:

```bash
# 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

```bash
cd docs && npm install
```

### 3. Validate plugin structure

Run all validation checks:

```bash
# 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

```bash
CLAUDE_PLUGIN_ROOT="$(pwd)" bash scripts/patronum-verify.sh
```

### 5. Report

Summarize what was checked and whether everything passed.

