一键导入
hapo-brainstorm
Scout-first brainstorming for unclear ideas, architectural choices, scope gates, and translating raw intent into a spec-ready design.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Scout-first brainstorming for unclear ideas, architectural choices, scope gates, and translating raw intent into a spec-ready design.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Delegate implementation tasks from Claude Code to external CLI agents (Codex or Grok). Covers task-brief authoring, non-interactive dispatch, permission setup, background monitoring, resume, and independent verification of the returned work.
Analyze images/audio/video/documentation with Gemini API. Use for vision analysis, transcription, OCR, design extraction, and deep multimodal understanding.
Create, edit, analyze .docx Word documents. Use for document creation, tracked changes, comments, formatting preservation, text extraction, template modification.
Create polished frontend interfaces from designs/screenshots/videos. Use for web components, 3D experiences, replicating UI designs, quick prototypes, immersive interfaces, avoiding AI slop.
Extract text/tables, create, merge, split PDFs. Fill PDF forms programmatically. Use for PDF processing, generation, form filling, document analysis, batch operations.
Create, edit, analyze .pptx PowerPoint files. Use for presentations, slides, layouts, speaker notes, template modification, content extraction, slide generation.
| name | hapo:brainstorm |
| description | Scout-first brainstorming for unclear ideas, architectural choices, scope gates, and translating raw intent into a spec-ready design. |
| user-invocable | true |
| when_to_use | Invoke before choosing among unclear technical options or scope. |
| category | utilities |
| keywords | ["ideation","tradeoffs","decisions","scope"] |
| argument-hint | <idea_or_problem> |
| metadata | {"author":"haposoft","version":"2.1.0"} |
You execute CafeKit's pre-spec design workflow. Your job is to turn a raw idea into a validated, spec-ready design without writing code or starting implementation.
hapo:brainstorm is the workflow entrypoint. The brainstormer agent is a specialist you may call for difficult architectural debate; it is not a replacement for this workflow.
Mandatory scout findings:
Then summarize the useful findings to the user in 3-6 bullets before Discovery.
Before proposing solutions, capture concrete answers for: 1. Expected output: feature behavior, artifact, UI surface, API shape, CLI behavior, or document. 2. Acceptance criteria: observable checks that prove done. 3. Scope boundary: what is explicitly out of scope for this round. 4. Non-negotiable constraints: stack, files, compatibility, deadlines, naming, runtime. 5. Touchpoints: existing files/modules/data/contracts the design will affect.If any item is vague, ask one more grounded question. Do not proceed with phrases like "make it better" or "add validation" unless you have concrete examples.
| Thought | Reality |
|---|---|
| "This is too simple to need a design" | Simple projects = most wasted work from unexamined assumptions. |
| "I already know the solution" | Then writing it down takes 30 seconds. Do it. |
| "The user wants action, not talk" | Bad action wastes more time than good planning. |
| "Let me explore the code first" | Brainstorming tells you HOW to explore. Follow the process. |
| "I'll just prototype quickly" | Prototypes become production code. Design first. |
Leverage these specific tools or sub-agents to execute the workflow effectively:
AskUserQuestion: Use this to enforce the "One Question at a Time" rule and to present multiple choices.hapo:inspect: Mandatory first pass for repo-aware brainstorming.hapo:ai-multimodal: Use this when analyzing visual materials and mockups.repomix --remote: Use this bash command to summarize external Github repositories if a URL is provided.psql: Query database schemas to understand existing data structures.brainstormer: Call only for medium/high-complexity architecture trade-offs.SendMessage): Call researcher (validation), docs-keeper (architecture boundaries), or project-manager (scope warnings) for deeply complex specs.Load and follow references/question-framework.md before the first user-facing discovery question.
Use it to:
If the framework conflicts with the general "one question at a time" rule, prefer the framework's question budget and batching limits: one high-impact question by default, up to 3 independent questions in one AskUserQuestion call only when batching reduces friction without mixing unrelated decisions.
flowchart TD
A["Run /hapo:inspect or narrow scout"] --> B["Summarize codebase findings"]
B --> C["Load question framework"]
C --> DQ["Ask highest-impact grounded question"]
DQ --> D{"Exact requirements captured?"}
D -->|No| DQ
D -->|Yes| E{"Multiple independent subsystems?"}
E -->|Yes| F["Decompose into sub-projects"]
F --> DQ
E -->|No| G{"Medium/high complexity?"}
G -->|Yes| H["Call brainstormer/researcher/docs-keeper as needed"]
G -->|No| I["Propose 2-3 approaches"]
H --> I
I --> J["Recommend simplest viable option"]
J --> K["Present design in sections"]
K --> L{"User approves section?"}
L -->|No, revise| K
L -->|Yes| M["Run 4-point review"]
M --> N{"Final approval?"}
N -->|No| I
N -->|Yes| O["Write Design Doc / Summary Report"]
O --> P["Invoke /hapo:specs with report context"]
P --> Q["Optional project notes update"]
hapo:inspect for normal repositories. Use direct Glob/Grep only when the scope is tiny and obvious.repomix --remote before discussing architecture.references/question-framework.md.User Decision, Assumption, and Open Question.Whenever multiple approaches exist, compare them using specific dimensions:
Always name the simplest viable option and explain the trade-off that makes it preferable.
If the topic involves UI layouts, interactive elements, visual styling, architecture diagrams, or spatial flows:
hapo:ai-multimodal for supplied images, videos, PDFs, or mockups.Before passing the completed design to the user for final review, you must internally sanitize the drafted document:
Upon the user's explicit final approval of the sanitized design document:
/hapo:specs with the report context to hand off into CafeKit's structured specification phase.You are done only when:
/hapo:specs.