بنقرة واحدة
brainstorm
Iterative Q&A to develop a thorough project specification (spec.md)
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Iterative Q&A to develop a thorough project specification (spec.md)
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Load saved review feedback from /bpe:review and apply changes to the reviewed artifact
Generate a commit message explaining what was changed and write it to commit-msg.md
Implement the next unchecked step from plan.md by executing its sub-steps as written (RED-GREEN-REFACTOR for Feature steps; Scope/Tooling/Do/Verify/Document for Task steps)
Fetch a GitHub issue and route to brainstorm or plan based on detail level
Autonomous-mode BPE run via /goal. Modes — full (default) | section <name> | step. Pre-flights branch safety (refuses on main), resolves the project verification command (test-runner autodetect, spec.md fallback, or ask), builds a verifiable completion condition, and writes the assembled /goal block (condition + validator-aware orchestrator playbook + per-commit verification) to goal.md at the repo root for you to paste. Requires Claude Code v2.1.139+; put your session in auto mode before pasting for unattended execution.
Create, continue, or close handoff documents for fresh-agent baton passes
| name | brainstorm |
| description | Iterative Q&A to develop a thorough project specification (spec.md) |
| model | opus |
| disable-model-invocation | true |
Ask me one question at a time so we can develop a thorough, step-by-step spec for this idea. Each question should build on my previous answers, and our end goal is to have a detailed specification I can hand off to a developer who will implement using good TDD practices.
Let's do this iteratively and dig into every relevant detail. Remember, only one question at a time.
Run this pass BEFORE the substantive Q&A. It calibrates the rest of the session to what the user already knows.
## Starting context. Create the section if it doesn't exist. Do not paraphrase; the plan writer and validator calibrate against the user's own words.TDD Implementation Ready: Ensure the spec includes requirements for YOUR application logic that can be converted into failing tests first. Focus on business rules, data validation, error handling, and custom algorithms that YOU will implement, not framework or library behavior. Think about what application-specific behaviors need verification.
Component Boundaries: Identify clear, testable components that can be implemented independently and then integrated together. Each component should have well-defined inputs, outputs, and responsibilities.
Global Claude Config Integration: Follow the established development patterns and preferences from the user's global Claude configuration (found in ~/.claude/CLAUDE.md and related files). Respect their preferred tools, coding standards, and project structure approaches.
Focus on getting the technical details and component boundaries clear enough that the resulting spec can be broken down into implementable, testable steps that follow the user's established development workflow.
The goal of this is NOT to implement the application or write a bunch of code, but to create a specification file that you will use later to create a plan. I will review this after and make manual changes. You may write some code to illustrate specific points, but do not focus on that. Instead focus on making the specification usable for you to consume and plan with later.
After the substantive Q&A and before writing the final spec, run one more pass: enumerate the MCP servers and skills available in this session that might apply to the project's domain. The goal is to populate an ## Available tooling section in spec.md so /bpe:plan can assign validators per section and /bpe:goal can dispatch the bpe:validator agent with the right consultation set.
Procedure:
ToolSearch with a search query suited to the project's domain (e.g. for a Temporal project, search for "temporal"; for a Postgres project, search for "postgres"). Capture the MCP server names that come back. Also list any plugin-namespaced MCPs visible in the session (e.g. mcp__claude_ai_Google_Drive__* for a project that involves Drive). If none look relevant, that's fine; the list can be empty.temporal:temporal-developer, python:python, content-design:tutorial-writing).bpe:cheap-research subagent with the project domain; present the shortlist for user confirmation. Dispatch via the Agent tool with a single research question naming the project domain; the agent returns a ranked list of at most 10 entries (<name> :: <one-line relevance note> :: <source URL or path>) or the line no relevant results followed by one sentence naming what was searched. Only confirmed entries go into spec.md./bpe:goal autodetects (pyproject.toml, package.json, Cargo.toml, go.mod), ask ONE more question: what exact command verifies the work (e.g. vale docs/ for a prose project)? Record the answer as a **Verification command:** <command> line in the ## Available tooling section, between **Skills:** and **Notes:**. /bpe:goal's pre-flight falls back to this field when it can't autodetect a test runner.The output section format:
## Available tooling
Tools the `bpe:validator` agent should consult when reviewing diffs in `/bpe:goal` runs. `/bpe:plan` propagates these to per-section declarations in plan.md.
**MCPs:**
- mcp__temporal-docs__search_temporal_knowledge_sources
**Skills:**
- temporal:temporal-developer
- python:python
**Notes:** Validator should focus on workflow non-determinism, activity heartbeats, and signal/query semantics in any code under `workflows/` and `activities/`.
When step 5 collected a verification command, add a **Verification command:** <command> line between **Skills:** and **Notes:**. Omit the line when a test runner is autodetectable. ${CLAUDE_PLUGIN_ROOT}/references/session-management.md documents the full section format canonically.
If the user says no validators apply at the project level, write the section with both lists empty and **Notes:** No domain validators apply for this project. /bpe:plan will declare "Validator consults: none" for every section. This still creates the section so plan.md has a known structure to read.
Once we are done, save the spec as @spec.md. Place the ## Starting context section from Step 0 between # <title> and ## Project overview. Make sure the ## Available tooling section is present near the top of the spec (after the project overview, before the detailed requirements).
Here's the idea: