cc-safe-setup 3.0.0 → 3.0.1

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.
Files changed (2) hide show
  1. package/README.md +11 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -160,6 +160,17 @@ npx cc-safe-setup --scan # detect tech stack, recommend hooks
160
160
  npx cc-safe-setup --scan --apply # auto-create CLAUDE.md with project rules
161
161
  ```
162
162
 
163
+ ### Create Hooks from Plain English
164
+
165
+ ```bash
166
+ npx cc-safe-setup --create "block npm publish without tests"
167
+ npx cc-safe-setup --create "auto approve test commands"
168
+ npx cc-safe-setup --create "block curl pipe to bash"
169
+ npx cc-safe-setup --create "block DROP TABLE and TRUNCATE"
170
+ ```
171
+
172
+ 9 built-in templates + generic fallback. Creates the script, registers it, and runs a smoke test.
173
+
163
174
  ### Self-Learning Safety
164
175
 
165
176
  ```bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cc-safe-setup",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "One command to make Claude Code safe for autonomous operation. 8 built-in hooks + 26 installable examples. Destructive blocker, branch guard, database wipe protection, case-insensitive FS guard, and more.",
5
5
  "main": "index.mjs",
6
6
  "bin": {