reviewlisted
Install: claude install-skill camjac251/tool-gates
# Review Pending Approvals
Promote pending one-time approvals into permanent settings.json rules. Single-shot in-session approvals already work via the CC prompt's "Yes, and don't ask again for X" button (tool-gates defers benign asks so CC's resolver populates the prefix suggestion). This skill is for the cross-session cleanup pass.
## Steps
1. Run `tool-gates pending list --project` to fetch the current project's queue.
- This skill defaults to project scope by passing `--project`.
- If `$ARGUMENTS` contains `--all`, run `tool-gates pending list` instead to fetch every project.
2. If the queue is empty, tell the user and stop.
3. Present a numbered checklist using the most-specific suggested pattern per row:
```
1. [ ] cargo build --release (12x) -> cargo build:*
2. [ ] npm install (8x) -> npm install:*
3. [ ] git push origin main (3x) -> git push:*
```
When a row has multiple patterns, mention broader alternatives briefly. Example: "row 3 could use the broader `git:*` if you also want force-push allowed."
4. Ask which to approve and at what scope:
- **local** (default): just this project, just this user. Writes to `.claude/settings.local.json` (gitignored).
- **project**: shared with the team via git. Writes to `.claude/settings.json`.
- **user**: every project on this machine. Writes to `~/.claude/settings.json`.
5. For each selection, run `tool-gates approve '<pattern>' -s <scope>`.
6. Show the final state with `too