Communitygithub.com

Jamie-BitFlight/brainstorming-skill

创意构思技能:在编写任何代码之前,通过经研究验证的提示模式引导 AI 进行协作式构思与设计,适用于功能创建、组件构建、营销策划等场景。

brainstorming-skill 是什么?

该技能提供了一套严谨的、基于研究验证的提示模式的构思与设计工作流,旨在防止 AI 在需求未充分明确前就仓促编写代码。它强制要求 AI 在实现任何功能之前,必须依次完成“探索上下文—提出澄清问题—提出 2-3 种方案—呈现设计方案并获得用户批准—记录结果”的完整流程。技能中还包含一个可选的“模式库”,包含 14 类系统化的构思方法论(如视角倍增、约束变化、倒置法等),帮助用户从不同角度生成高质量的创意。该技能适用于所有 AI 编程助手(如 Claude Code、Cursor、Codex),特别适合需要进行复杂功能设计、产品规划、内容营销策略等需要深度思考与用户确认的场景。其核心价值在于通过结构化的对话和强制性的用户批准节点,显著减少返工,确保最终实现的方案与用户真实意图高度一致。

兼容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Jamie-BitFlight/claude_skills/tree/main/plugins/brainstorming-skill/skills/brainstorming-skill

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

Brainstorming Skill

概述

此技能服务于两个关键目标:

  1. 交互式设计过程: 引导 AI 通过自然、协作的对话,在编写任何代码之前,将想法转化为完整的设计和规格。
  2. 综合构思框架: 提供经研究验证的提示模式(参见下方模式文档参考),帮助在任何领域(营销、内容、功能)生成高质量的想法。

构思工作流

当处理软件功能、组件设计或复杂任务时,你必须为以下每个项目创建一个任务并按顺序完成它们。(对于纯内容/营销构思,请使用下面的模式库调整这些步骤)。

  1. 探索上下文 — 检查项目状态、文件、文档、最近的提交
  2. 提出澄清问题 — 一次一个,理解目的/约束/成功标准
  3. 提出 2-3 种方案 — 附带权衡分析和你的推荐(借助模式库获取灵感)
  4. 呈现设计方案 — 根据复杂度缩放章节,在每部分获得用户批准
  5. 记录结果 — 将验证过的设计/想法写入适当的 markdown 文件(例如 docs/plans/YYYY-MM-DD-<topic>-design.md)并提交
  6. 过渡 — 仅在批准后调用计划或实现技能

流程图

[!IMPORTANT] 当提供了流程图或 Mermaid 图表时,将其视为权威流程。严格按照图示顺序执行步骤,包括分支、决策点和停止条件。 Mermaid 流程图表是可执行的指令集。严格按照其描述执行:尊重顺序、条件、循环、并行路径和终止状态。不得即兴发挥、重新排序或跳过步骤。如果任何节点存在歧义或缺少必要的细节,请先暂停并提出澄清问题。 与用户交互时,在执行前报告你将从图表中遵循的解释路径,然后执行。

下图是构思工作流的权威流程。严格按照图示顺序执行步骤,包括分支、决策点和停止条件。

flowchart TD
    subgraph Phase1["阶段 1:探索 — 在提出方案前确立当前状态"]
        Explore["探索上下文 — 检查项目状态、文件、文档、最近的提交"]
        Ask["提出澄清问题 — 一次一个,理解目的/约束/成功标准"]
        Propose["提出 2-3 种方案 — 附带权衡分析和推荐,使用模式库"]
    end
    subgraph Phase2["阶段 2:验证 — 在继续前获得明确的用户批准"]
        Present["呈现设计方案 — 根据复杂度缩放章节,每部分后获得用户批准"]
        Approve{"用户是否明确确认批准<br>或请求修改?"}
    end
    subgraph Phase3["阶段 3:完成 — 记录并交接"]
        Document["记录结果 — 将验证过的设计写入 docs/plans/YYYY-MM-DD-topic-design.md 并提交"]
        Transition(["过渡 — 仅在批准后调用计划或实现技能"])
    end

    Explore --> Ask --> Propose --> Present
    Present --> Approve
    Approve -->|"用户请求修改 — 修改并重新呈现"| Present
    Approve -->|"用户确认批准 — 继续"| Document
    Document --> Transition

对话原则

  • 一次只问一个问题 - 不要用多个问题淹没用户。将复杂主题分解。
  • 优先提供选择题 - 在可能的情况下,选择题比开放性问题更易于用户回答。
  • 严格遵循 YAGNI 原则 - 从所有设计中移除不必要的功能。
  • 探索替代方案 - 在最终确定之前,始终提出 2-3 种方案。
  • 渐进式验证 - 呈现设计,获得批准后再继续。
  • 保持灵活 - 当某事不合理时,回头澄清。

用于构思与方案的 14 种模式类别

在提出方案或为用户生成想法时,请利用以下 14 个系统化类别。每种模式都包含确切的提示模板、输出格式规范和成功指标。

<category_index>

  1. 视角倍增 - 从多种视角和利益相关者角度生成想法
  2. 约束变化 - 通过人为约束探索想法空间
  3. 倒置与负空间 - 使用反向思维寻找新颖解决方案
  4. 类比转移 - 应用不同领域的模式
  5. 系统化功能分解 - SCAMPER 和基于属性的构思
  6. 场景探索 - 基于未来的“如果”思考
  7. 基于约束的结构化构思 - 在严格约束内构建
  8. 思维链推理 - 多步精炼过程
  9. 组合与形态探索 - 强制新颖功能组合
  10. 假设挑战 - 质疑前提并反转假设
  11. 填空模板 - 结构化完成格式
  12. 竞争定位 - 差异化矩阵方法
  13. 极端缩放 - 10 倍思维与指数级场景
  14. 利益相关者与同理心 - 客户旅程和人物画像模式 </category_index>

<selection_guide>

下图是模式选择的权威流程。严格按照图示顺序执行步骤,包括分支、决策点和停止条件。

flowchart TD
    Start(["用户请求想法或方案"]) --> Goal{"主要的<br>构思目标是什么?"}
    Goal -->|"快速产出 — 8-15 个想法"| PersMult["使用视角倍增模式"]
    Goal -->|"质量/深度 — 精炼想法"| MultiStage["使用多阶段精炼<br>配合约束变化"]
    Goal -->|"突破性创新"| InversionExtreme["结合倒置法 + 极端缩放"]
    Goal -->|"实际实施"| Constraint["使用基于约束的模式"]
    Goal -->|"市场差异化"| Competitive["使用竞争定位模式"]
    Goal -->|"以客户为中心的功能"| Stakeholder["使用利益相关者与同理心模式"]

    PersMult --> Apply(["从模式库中选择应用模式"])
    MultiStage --> Apply
    InversionExtreme --> Apply
    Constraint --> Apply
    Competitive --> Apply
    Stakeholder --> Apply

</selection_guide>

输出格式优化

<format_guidance> 成功的构思模式指定了确切的输出格式:

  • “编号列表” > “项目符号”(更适合跟踪想法)
  • “表格格式:想法 | 理由 | 实施方式 | 权衡分析”(迫使完整性)
  • “对于每个想法,解释你的理由”(提高质量 40%)
  • 指定字数范围(200-400 字既避免过短也避免冗长) </format_guidance>

模式文档参考

完整的模式文档整理在参考文件中:

给 Claude 实例的说明

<ai_instructions>

  • 首先判断这是一个实施设计任务还是内容/营销构思任务。
  • 始终强制执行 <HARD-GATE>。在没有获批的设计之前,永远不要跳到代码。
  • 在生成想法/方案时,提供来自参考文件的确切提示模板,而不是改写版。
  • 在引用特定模式时,注明来源文件。 </ai_instructions>

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

Jamie-BitFlight/agentskill-kaizen-meta-docs

Agentskill kaizen plugin documentation index. Load when needing to read about cross-platform notes, improvement plans, or DuckDB integration.

Jamie-BitFlight/bash-51-features

Bash 5.1 release features and improvements with practical examples. Use when working with Bash 5.1 features, epoch time variables, redirection enhancements, or when user asks about Bash 5.1 changes, new features, or version-specific capabilities.

Jamie-BitFlight/bash-52-features

Bash 5.2 release features and improvements with practical examples. Use when working with Bash 5.2 features, variable handling enhancements, readline improvements, or when user asks about Bash 5.2 changes, new features, or version-specific capabilities.

Jamie-BitFlight/bash-53-features

Bash 5.3 release features and improvements with practical examples. Use when working with Bash 5.3 features, new command substitution, GLOBSORT, loadable builtins, or when user asks about Bash 5.3 changes, new features, or version-specific capabilities.

Jamie-BitFlight/bash-development

This skill should be used when the user asks to "write a bash script", "create a shell script", "implement bash function", "parse arguments in bash", "handle errors in bash", or mentions bash development, shell scripting, script templates, or modern bash patterns.

Jamie-BitFlight/bash-lint

This skill should be used when the user asks to "lint bash script", "run shellcheck", "format shell script", "use shfmt", "fix shellcheck errors", or mentions shell script linting, formatting, code quality, or pre-commit hooks for bash.

Jamie-BitFlight/bash-logging

This skill should be used when the user asks to "add logging to bash script", "colorize output", "implement log levels", "CI/CD sections", "terminal colors in bash", or mentions logging functions, emoji output, collapsible CI sections, or shlocksmith.

Jamie-BitFlight/bash-portability

This skill should be used when the user asks about "POSIX compatibility", "portable shell scripts", "cross-shell compatibility", "bashisms", "shebang selection", or mentions writing scripts that work on different shells (bash, sh, dash, zsh) or different systems.

Jamie-BitFlight/bash-testing

This skill should be used when the user asks to "test bash script", "write shell tests", "use shunit2", "use shellspec", "create test suite for bash", or mentions unit testing, test frameworks, mocking, or test-driven development for shell scripts.

Jamie-BitFlight/clang-format

Configure clang-format code formatting. Use when: user mentions clang-format or .clang-format, analyzing code style/patterns, creating/modifying formatting config, troubleshooting formatting, brace styles/indentation/spacing/alignment/pointer alignment, or codifying conventions.

Jamie-BitFlight/commitlint

When setting up commit message validation for a project. When project has commitlint.config.js or .commitlintrc files. When configuring CI/CD to enforce commit format. When extracting commit rules for LLM prompt generation. When debugging commit message rejection errors.

Jamie-BitFlight/conventional-commits

When writing a git commit message. When task completes and changes need committing. When project uses semantic-release, commitizen, git-cliff. When choosing between feat/fix/chore/docs types. When indicating breaking changes. When generating changelogs from commit history.

Jamie-BitFlight/dasel-reference

Use when querying, modifying, or converting JSON, YAML, TOML, XML, CSV, HCL, or INI with dasel v3. Complete reference for selectors, functions, conditionals, variables, spread operator, type casting, and format-specific patterns.

Jamie-BitFlight/data-exploration

Use when exploring unknown structured data files with dasel v3 — discover schema, list keys, find nested values, sample arrays, identify data types across JSON, YAML, TOML, XML, CSV, HCL, INI formats

Jamie-BitFlight/data-transformation

Use when modifying, converting, or transforming structured data with dasel v3 — in-place mutations, format conversion, batch operations, array manipulation, object construction, and merge patterns across JSON, YAML, TOML, XML, CSV, HCL, INI

Jamie-BitFlight/delegate

Decompose substantive work into phases, dispatch each phase to a sub-agent, and adjudicate what comes back. Use whenever a request asks for implementation, investigation, a fix, a review, or any change to files — including small ones — and whenever you are about to read source or run a diagnostic yourself instead of handing it off. Also use when a report from a sub-agent needs judging, when a phase needs re-dispatching, or when a user names one instance of a pattern. Does not apply when your own prompt begins "Your ROLE_TYPE is sub-agent." — then follow references/sub-agent-contract.md instead.

Jamie-BitFlight/enterprise-hibernate-hbm

Dasel v3 query patterns for Hibernate .hbm.xml mapping files — entity-table binding, Java property-to-column extraction, one-to-many set/list/bag relationship tracing, many-to-one foreign key discovery, batch scanning across 60+ HBM files. Use when querying Hibernate ORM class mappings, extracting schema metadata from Java persistence layer, or auditing entity-column relationships in enterprise legacy codebases.

Jamie-BitFlight/enterprise-installanywhere

Dasel v3 query patterns for InstallAnywhere .iap_xml installer definitions — use when querying action sequences, discovering variables, resolving platform conditions, navigating panels, or comparing installer variants. Files are 2.5+ MB, 65,000+ lines — too large for context reads, requires structural dasel queries.

Jamie-BitFlight/enterprise-maven-pom

Dasel v3 selector patterns for Maven POM XML files — use when querying dependency versions, filtering by groupId or scope, extracting module hierarchy from parent POMs, or detecting version conflicts across enterprise multi-module Java projects. Load this skill when working with pom.xml files using dasel.

Jamie-BitFlight/enterprise-spring-xml

Dasel v3 selectors for Spring bean factory XML — use when querying any Spring ApplicationContext XML for bean discovery, dependency wiring, JMS destination mapping, property injection extraction, or cross-bean reference tracing. Load this skill before writing dasel selectors against Spring bean XML files (applicationContext.xml, *_beans.xml, spring-*.xml).

相关技能