Skip to content
Back to skills

Approve

ASecurity

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.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
ai-agentsgo

Works with

  • claude code

Security analysis

A100/100

Scanned November 19, 2026

npx -y skills add iadr-dev/greenlight --skill approve --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Approve?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Approve
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/iadr-dev-approve/badge)](https://www.skillsdirectory.com/skills/iadr-dev-approve)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.