Skip to main content

brainstorming

Start a work item: triage risk, select the canonical execution mode, clarify requirements, compare solution options, and produce the lifecycle artifacts required by WORKFLOW.md.

Ir para a instalação

Informações da origem

Repositório
forgivesam168/ai-dev-workflow
Última atividade na origem
15 de julho de 2026 às 18:17
Idioma detectado do SKILL.md
Vários idiomas
Estrelas
2
Forks
1

Opções de instalação

Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.

Revise os arquivos de origem

Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.

Explorador de arquivos
4 arquivos

Exibindo SKILL.md

SKILL.md
Instruções da origem · Visualização somente leitura
name
brainstorming
description
Start a work item: triage risk, select the canonical execution mode, clarify requirements, compare solution options, and produce the lifecycle artifacts required by WORKFLOW.md.
license
MIT
# Brainstorming > 💡 **Recommended Agent**: `brainstorm-agent` (Requirements Explorer) > - **CLI**: Input `/agent` and select `brainstorm-agent` > - **VS Code**: Use `@workspace #brainstorm-agent` in Chat ## When to Use Use this skill at the **start of any request/change** when: - Requirements are ambiguous or incomplete - The change touches security, auth/authz, data flow, CI/CD, or supply chain - There are multiple plausible implementation approaches - You need a rationale trail (auditability) > 💡 **方向完全不明確?** 先用 `/research` 探索技術地圖,再回來 brainstorm。 ## Workflow ### Pre-Phase — Domain Research(條件觸發) **觸發條件**(滿足任一即觸發): - 使用者未指定技術棧 - 無現有 codebase(greenfield 專案) - 想法屬於領域/概念層級(如「我想做 AI 客服平台」「我想做財務分析工具」) 派遣 `research` subagent,指令範本: > *"Search GitHub for [domain] popular libraries, architectures, and community trends (2024–2025). Report top 3 approaches with complexity, maturity, and trade-offs, with citations."* 將研究結果整理為**解法地圖**(2-3 條路線 + 社群成熟度),作為 Phase 1 提問與 Phase 2 選項比較的依據。 ### Phase 0 — Intake & Risk Classification - Clarify goals/non-goals and acceptance criteria - Classify risk: **Low** / **Med** / **High** - Determine if this is brownfield (existing system) - Select exactly one execution mode from `WORKFLOW.md`: **Simple**, **Standard**, or **High-Risk**. Use its entry, escalation, artifact, and verification contract without defining another path here. ### Phase 1 — Clarify - In each new brainstorming round, ask at least 5 targeted questions before options/recommendation unless the user explicitly says assumptions are acceptable - If the user cannot answer immediately, list assumptions separately and label what remains unknown ### Phase 2 — Explore Options - Produce 2–3 options - For each: complexity (L/M/H), risks, dependencies, rollback strategy ### Phase 3 — Decide & Record - Recommend one option and justify - Produce a **Decision Log** entry (append-only) ### Phase 4 — Required Lifecycle Artifacts - Simple does not require a Change Package; retain the confirmed summary inline or in an existing project plan when useful. - For Standard when a canonical package trigger applies, or for High-Risk, use shell to create `changes/<YYYY-MM-DD>-<slug>/` first. - Then write the required stub files (do NOT use `edit` on non-existent files): - `01-brainstorm.md` - `02-decision-log.md` - `03-spec.md` (draft) - If shell is unavailable, output file contents in response for manual creation ## Must-Ask Questions Apply to **every project** regardless of domain: In a normal kickoff, cover at least five of these categories before recommending a path or solution. If the user explicitly allows assumptions, say that you are switching to assumption-driven brainstorming. | Category | Question | Purpose | |----------|----------|---------| | **Problem** | What problem are we solving? How is it handled today? | Avoid solving the wrong problem | | **Users** | Who will use this? What are the different roles? | Define personas | | **Non-goals** | What are we explicitly NOT doing in this iteration? | Prevent scope creep | | **Failure scenario** | If this feature breaks, what's the worst case? | Risk awareness | | **Existing system** | What existing components will this touch or depend on? | Greenfield vs brownfield | | **Acceptance** | How will we know it's done? How will we verify it works? | Seed acceptance criteria | | **Rollback** | If we ship this and it causes problems, can we revert? | Safety net | ## Conditional Follow-up Questions Trigger these based on the user's answers: | Trigger | Follow-up Questions | |---------|---------------------| | Involves money / pricing | Precision rules? Which currencies? Rounding strategy? Idempotency? | | Involves personal data | Privacy requirements? Who can access? Retention policy? | | Involves permissions / roles | Who can read, write, approve? Audit trail needed? | | Brownfield system | Which modules are affected? Dependent systems? Migration needed? | | Multi-system integration | API contracts? Failure/retry behavior? Eventual consistency acceptable? | | Scheduled / batch processing | What if it runs twice? Timeout handling? Partial failure recovery? | | Reporting / audit | Who reads the reports? How far back must data be queryable? | | Workflow / approvals | What are the state transitions? Who can approve or reject? | ## Risk Classification | Level | Criteria | Mode-routing signal | |-------|----------|--------------------| | **Low** | Single file or isolated component, no existing users, no data flow changes, easily reverted | Evaluate Simple first; reliable targeted verification is required. | | **Med** | Multiple files, touches existing features, some external dependencies | Usually Standard; apply canonical compact-package triggers. | | **High** | Cross-module, security/permissions, data migration, regulatory, or production-critical | High-Risk; use the full lifecycle and named gates. | ## Output Template - Risk Classification (Low/Med/High) - Execution Mode (Simple / Standard / High-Risk) with canonical evidence - Questions Asked (at least 5 unless the user explicitly allowed assumptions) - Assumptions & Constraints - Options (2–3) - Recommendation - Decision Log - Required Lifecycle Artifacts (inline/existing plan for Simple; package stubs when required) ### Brainstorm Summary Format Use this structure in `01-brainstorm.md`: ```markdown ## Brainstorm Summary **Problem**: [one sentence] **Risk Level**: Low / Med / High **Execution Mode**: Simple / Standard / High-Risk **Chosen Approach**: [option name and one-line reason] **Discovery Questions Covered**: [at least five categories, or note that the user explicitly allowed assumptions] **Open Questions**: [anything still unresolved] **Assumptions**: [what we're assuming to be true] **Non-goals**: [explicitly out of scope] ``` ## Output Mapping (when a Change Package is required) Write results into: - `changes/<YYYY-MM-DD>-<slug>/01-brainstorm.md` - `changes/<YYYY-MM-DD>-<slug>/02-decision-log.md` - Draft/Update `changes/<...>/03-spec.md` (minimum scope + verification) **Directory creation**: Always create the target directory with shell (`mkdir -p` / `New-Item -ItemType Directory -Force`) before writing files. The `edit` tool CANNOT create new files — use shell or `create` tool instead. If shell is unavailable, output file contents in response for manual creation. ## Common Rationalizations 在腦力激盪過程中,AI 可能以下列藉口跳過關鍵步驟。以下為常見合理化說詞與反制說明: | 常見藉口 | 反制說明 | |---------|---------| | "我只是先試試,不是真的要實作" | ⛔ 在設計批准前,任何實作程式碼均為違規——無論使用者要求多迫切 | | "需求很清楚了,不需要再問問題" | 腦力激盪的目的是發現「你不知道你不知道的」——即使需求看起來清楚,仍需走完 Must-Ask Questions | | "風險很低,可以跳過 mode classification 直接 plan" | Simple 仍需可靠的 targeted verification;未依 `WORKFLOW.md` 分類就跳過等於盲目行動 | | "使用者已經給了選項,我選一個就好" | 未產出 2–3 個選項比較 = 放棄最重要的決策品質保證;必須列出選項與折衷取捨,即使使用者傾向某選項 | ## Verification 在輸出 brainstorm 產出物前,逐項確認(Gate = 交付前閘門;Verification = 自我完成確認): - [ ] 若 mode 要求 Change Package,`Test-Path changes/<slug>/01-brainstorm.md` 回傳 True;Simple 則記錄 `N/A — Change Package is not required for this Simple task.` - [ ] Risk Classification 已完成,等級為 Low / Med / High 三者之一,且已依 `WORKFLOW.md` 選擇唯一的 Simple / Standard / High-Risk mode - [ ] 至少 5 個 Must-Ask 問題類別已覆蓋,或使用者已明確允許 assumption-driven 模式(不得靜默跳過) - [ ] 至少 2 個選項已比較(complexity / risks / rollback strategy),並有明確推薦理由 - [ ] 若 mode 要求 Change Package,Decision Log 條目已寫入 `02-decision-log.md`;Simple 則將決策理由保留在 inline summary 或 existing plan - [ ] Open Questions 欄位已填寫(若有未解問題),不得略去 - [ ] 所有 Assumptions 均已明確標記(不得以隱性假設替代明確說明)
Ver no GitHub