bd-close-reviewed

Run typechecks, verify lines, and path-matched surface reviews before closing bd issues.

Updated Apr 21, 2026
One-click install
npx skills add https://github.com/DoctorKomodo/ai-story-editor --skill bd-close-reviewed
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bd-close-reviewed
Source: https://github.com/DoctorKomodo/ai-story-editor/tree/main/.claude/skills/bd-close-reviewed
Command: npx skills add https://github.com/DoctorKomodo/ai-story-editor --skill bd-close-reviewed

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

It prevents premature closure of bd issues by enforcing typechecks, a verify-line gate, and required path-matched surface reviews, while still allowing explicit, user-confirmed overrides when justified.

Core Features & Use Cases

  • Typecheck gate before closing: Runs the affected workspaces’ typecheck phase and refuses to close if it fails.
  • Verify-line enforcement: Executes the issue’s verify instruction and refuses to close unless the verify outcome passes, or the user explicitly acknowledges missing/placeholder verify content.
  • Path-matched reviewer fan-out: Dispatches only the relevant surface reviewers (security and/or repo-boundary) based on what the diff touches.
  • User-confirmed override flow: Refuses to close when a reviewer returns BLOCK or FIX_BEFORE_MERGE unless the user explicitly authorizes an override, which is then recorded.
  • Controlled close recording: Performs the final close via the required phase so override notes and reviewer override trailers are correctly captured.

Quick Start

Ask the AI to close a reviewed bd issue by running: /bd-close-reviewed story-editor-9vm.

Frequently Asked Questions about bd-close-reviewed

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I safely close GitHub issues gated by code review and typecheck verification?

To safely close review-gated GitHub issues, you must enforce typechecks, execute the issue's verify line, and obtain path-matched surface reviewer approvals before closure. This prevents premature issue closure by refusing to complete the process until all safety gates pass.

What happens if a typecheck or verify gate fails when closing a reviewed issue?

When a typecheck or verify gate fails during issue closure, the system enforces strict refusal behavior and prevents the issue from closing. The issue remains open until the underlying typecheck or verify-line execution passes successfully.

Can I override a BLOCK or FIX_BEFORE_MERGE reviewer result to force close an issue?

Yes, you can override a BLOCK or FIX_BEFORE_MERGE reviewer result, but only through an explicit, user-confirmed authorization flow. The override is then recorded correctly during the final phase=close invocation to maintain auditability.

How do path-matched surface reviewers work during issue closure?

Path-matched surface reviewers dispatch only the relevant security or repo-boundary reviewers based on the specific files the diff touches. This targeted fan-out ensures appropriate code review coverage without running unnecessary checks on unaffected paths.

Do I need to acknowledge missing verify content before closing a GitHub issue?

Yes, if an issue has missing or placeholder verify content, the system requires explicit user acknowledgement before proceeding with closure. This ensures the verify-line enforcement gate is not bypassed silently without human confirmation.

When should I use an automated verify gate instead of manual issue closure?

Use an automated verify gate when finishing /bd-execute loops or when implementations were performed manually outside that workflow. It ensures typechecks and surface reviews run consistently, preventing unsafe manual closures of story-editor issues.