Spec Kit extension for requiring a merge request before proceeding with /speckit.tasks.
When /speckit.tasks is invoked, this extension runs a mandatory before_tasks check that verifies spec.md and plan.md have been merged to the default branch via a merge request (or pull request). If either file is new (not yet on the default branch), task generation is blocked.
- Run
/speckit.specifyand/speckit.planto create spec artifacts - Commit, push, and create an MR/PR for review
- Get the MR/PR reviewed and merged
- Now
/speckit.taskswill pass the gate and generate tasks
specify extension add plan-review-gate --from https://github.com/luno/spec-kit-plan-review-gate/archive/refs/heads/main.zipOr install from a local clone:
git clone https://github.com/luno/spec-kit-plan-review-gate.git
specify extension add plan-review-gate --dev ./spec-kit-plan-review-gateThe extension registers a mandatory before_tasks hook. When /speckit.tasks runs, it:
- Locates the feature's
spec.mdandplan.md - Checks whether both files exist on the default branch (
main/master) - If either file is new or has uncommitted changes — blocks task generation
- If both files are merged and clean — allows task generation to proceed
To bypass the gate, pass --skip-review to /speckit.tasks.
| Hook | Type | Behaviour |
|---|---|---|
| before_tasks | Mandatory | Blocks /speckit.tasks unless spec.md and plan.md are merged |
- Spec Kit — the Spec-Driven Development framework this extension plugs into
- Extensions catalog — browse all available Spec Kit extensions
MIT