Patronum dev add default pattern
Skill emaarco/hogwarts/plugins/agento-patronum/.claude/skills/patronum-dev-add-default-pattern
Add a new default pattern to defaults/patronum.json with correct schema and validation.From its SKILL.md
npx -y skills add emaarco/hogwarts --skill patronum-dev-add-default-patternAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.3 KB, 249 tokens by cl100k_base, as published. Nobody here has run it
Skill: patronum-dev-add-default-pattern
Add a new pattern to the default protection list shipped with the plugin.
Steps
1. Read current defaults
Read defaults/patronum.json
2. Validate the proposed pattern
- Check it's not already in the defaults
- Check the pattern syntax is valid (glob or Bash command format)
- Check a reason is provided
3. Add the entry
Edit defaults/patronum.json to add the new entry with the correct schema:
{
"pattern": "<pattern>",
"type": "glob",
"reason": "<reason>",
"addedAt": "<current ISO timestamp>",
"source": "default"
}
4. Validate JSON
jq empty defaults/patronum.json
5. Run self-test
Copy the updated defaults to the config and run verify:
cp defaults/patronum.json ~/.claude/patronum.json
CLAUDE_PLUGIN_ROOT="$(pwd)" bash scripts/patronum-verify.sh
6. Report
Confirm the pattern was added and tests pass.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.