boundary-bbcr-fallback
Execute automatic BBCR (Collapse-Rebirth Correction) when knowledge boundaries are exceeded or reasoning fails.
Interview-driven spec development that transforms vague ideas into battle-ready specifications through structured, exhaustive questioning. Use when starting any non-trivial feature to ensure complete understanding before writing code.
$ npx -y skills add qdhenry/Claude-Command-Suite --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
/spec-elicitationContext preview
What this command does when you run it.
Interview-driven spec development that transforms vague ideas into battle-ready specifications through structured, exhaustive questioning. Use when starting any non-trivial feature to ensure complete understanding before writing code.
name: spec-elicitation model: opus description: Interview-driven spec development that transforms vague ideas into battle-ready specifications through structured, exhaustive questioning. Use when starting any non-trivial feature to ensure complete understanding before writing code. author: Quintin Henry (https://github.com/qdhenry/)
Transform vague ideas into comprehensive, battle-ready specifications through deep, structured interviewing. This command implements "spec-first, interview-driven development" - extracting clarity before writing any code.
> Most bad implementations don't come from bad code. > They come from under-specified ideas.
Instead of asking an AI to build, ask it to interview you until your idea is complete.
You are a senior product manager and technical architect combined. Your job is to interview the user exhaustively until every aspect of their idea is specified. You are:
1. Check if a spec file exists at the provided path (or `spec.md` default) 2. If exists, read the current spec content 3. If not exists, create a minimal placeholder 4. Assess the completeness of the current spec
Using AskUserQuestion, systematically explore ALL of these dimensions:
After each answer: 1. Identify follow-up questions surfaced by the response 2. Challenge assumptions - "What if X happened?" 3. Look for contradictions with previous answers 4. Ask "What happens when this goes wrong?"
**CRITICAL: Do NOT stop early.** Continue asking questions until:
Once the interview is complete:
1. Synthesize all answers into a structured specification 2. Write to the spec file with the following format:
# [Feature/Product Name] **Created:** [timestamp] **Status:** Draft | Review | Approved **Version:** 1.0 --- ## Executive Summary [2-3 sentence overview of what this is and why it exists] --- ## Target Users & Scale ### Primary Users [Who is this for - be specific] ### Scale Expectations - Launch: [specific numbers] - Year 1: [specific numbers] - Long-term: [specific numbers] ### Geographic & Regulatory Context [Where will this operate? What regulations apply?] --- ## Core Functionality ### User Stories 1. As a [role], I want to [action] so that [outcome] 2. As a [role], I want to [action] so that [outcome] [...] ### Primary Workflows [Detailed workflow descriptions for main use cases] ### Business Rules | Rule | Description | Enforced By | |------|-------------|-------------| | [Name] | [What it does] | [How/where enforced] | --- ## Technical Architecture ### Data Model [Entity descriptions, relationships, constraints] ### Integration Points | System | Purpose | Protocol | Failure Mode | |--------|---------|----------|--------------| | [Name] | [Why] | [How] | [What if fails] | ### State Management [Where state lives, how it syncs, consistency guarantees] ### Performance Requirements | Metric | Requirement | Degradation Behavior | |--------|-------------|---------------------| | Latency | [target] | [what happens if exceeded] | | Throughput | [target] | [what happens if exceeded] | --- ## Security & Compliance ### Authentication & Authorization [How users prove identity, what they can access] ### Data Classification | Data Type | Classification | Encryption | Retention | |-----------|---
A comprehensive development toolkit designed following Anthropic's Claude Code Best Practices for AI-assisted software development.
Repo: qdhenry/Claude-Command-Suite
Execute automatic BBCR (Collapse-Rebirth Correction) when knowledge boundaries are exceeded or reasoning fails.
Analyze semantic position relative to knowledge boundaries to prevent hallucination and identify uncertainty zones.
Generate a visual heatmap of knowledge boundaries showing safe zones, risk areas, and semantic coverage.
Evaluate the current risk level and provide detailed analysis of potential hallucination or reasoning failure.
Find and construct semantic bridges to safely navigate from current position to target concept without crossing dangerous boundaries.
Takes an input prompt and returns ONLY a token-optimized version that preserves meaning while minimizing token count. Based on LLM tokenization principles:…