Approve or reject the rules or the examples of a feature, or the product design, or acknowledge open integrity violations. Only the person can run this by typing /greenlight:approve FEAT-n rules|examples or /greenlight:approve design (add "reject <reason>" to reject) or /greenlight:approve integrity <ids> <reason>; the AI never invokes it.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Approve?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/iadr-dev-approve)
---
name: approve
description: Approve or reject the rules or the examples of a feature, or the product design, or acknowledge open integrity violations. Only the person can run this by typing /greenlight:approve FEAT-n rules|examples or /greenlight:approve design (add "reject <reason>" to reject) or /greenlight:approve integrity <ids> <reason>; the AI never invokes it.
disable-model-invocation: true
---
# greenlight approve
The person typed `/greenlight:approve $ARGUMENTS`.
The approval itself is recorded by a hook before you see this prompt, from exactly what the person
typed. You do not record it and you cannot: never run `bdd approve ... --self-reported` or `--auto`
to stand in for the person when the hook has run.
1. Look for a line starting with `greenlight approval:` in the context of this prompt.
- If it says the approval was recorded, run the check below and tell the person the result.
- If it says `NOT recorded`, repeat its reason and what has to happen first. Do not retry. If the reason is
`send one approval per message`, tell the person to send the command alone, with no other text and no second
command, and to send each gate in its own message.
2. Check where the feature stands and show the output unchanged:
```sh
"${CLAUDE_PLUGIN_ROOT}/tools/bdd/bdd" approve <FEAT-n> --verify
"${CLAUDE_PLUGIN_ROOT}/tools/bdd/bdd" state show <FEAT-n>
```
An approval shows `pending` until Claude Code has written the person's prompt to the session
transcript; run the check again after the next turn if it does. An approval that is `invalid`
or `unverifiable` does not count: tell the person to type the command again themselves, unless the person's earlier
verified approval of the same, unchanged files stands (`bdd approve <FEAT-n> --check` names it); then nothing more is needed.
If the person typed `integrity #3,#4 <reason>` (or `integrity <reason>` with one violation open), the line
names exactly the violations it covers, or why it covers none. Run
`"${CLAUDE_PLUGIN_ROOT}/tools/bdd/bdd" status` instead and show its `integrity:` line (none means nothing is open); the violations
close once the transcript shows the person typed it, so run it again after the next turn if they are
still open. Never edit `.bdd/.integrity` and never try to acknowledge anything yourself: no command
does it.
If the person typed `design` (or `design reject <reason>`), run these instead and show the output unchanged:
```sh
"${CLAUDE_PLUGIN_ROOT}/tools/bdd/bdd" approve design --verify
"${CLAUDE_PLUGIN_ROOT}/tools/bdd/bdd" status
```
`design: approved, locked` means the features can start, in the order of `.bdd/product.md`. A rejection goes back to
the step of `phases/design.md` that owns what the person wants changed.
3. If there is **no** `greenlight approval:` line at all, hooks are not active in this session.
Say so. In a project that allows it (`enforcement = "soft"`, or hooks never having run), ask the
person to confirm in plain words, and only then record their answer with
`bdd approve <FEAT-n> <gate> --self-reported` (for the design, `bdd approve design --self-reported`). The command
refuses when the project requires hard enforcement; relay that refusal and do not look for another way.