pruff-skills 1.2.0 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -0
- package/dist/cli.mjs +1004 -307
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -47,6 +47,19 @@ npx pruff-skills rules add <name> # → .claude/rules/ (add -g for ~/.
|
|
|
47
47
|
npx pruff-skills rules add --scope server # all server + common rules (client/server pull in common)
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
+
It also ships **Claude Code hooks**, scripts Claude Code runs at fixed moments of a session.
|
|
51
|
+
They always install at user scope, because a project settings file only applies to sessions
|
|
52
|
+
started in that directory:
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
npx pruff-skills hooks add <name> # → ~/.claude/hooks/pruff/<name>/ + ~/.claude/settings.json
|
|
56
|
+
npx pruff-skills hooks list # installed and available
|
|
57
|
+
npx pruff-skills hooks remove <name>
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
Your own settings and hooks are never modified, and `~/.claude/settings.json` is backed up before
|
|
61
|
+
every change.
|
|
62
|
+
|
|
50
63
|
## Use a Skill Without Installing
|
|
51
64
|
|
|
52
65
|
Generate a prompt for one skill, or start a supported coding agent interactively:
|
|
@@ -133,6 +146,7 @@ npx pruff-skills add <skill> -g -a claude-code -y
|
|
|
133
146
|
| `npx pruff-skills init [name]` | Create a new `SKILL.md` template |
|
|
134
147
|
| `npx pruff-skills restore` | Reinstall everything recorded in `skills-lock.json` |
|
|
135
148
|
| `npx pruff-skills sync` | Install skills found in `node_modules` into agent dirs |
|
|
149
|
+
| `npx pruff-skills onboarding --db-access` | Set up personal read-only database access (team members) |
|
|
136
150
|
|
|
137
151
|
```bash
|
|
138
152
|
npx pruff-skills list # list installed skills
|