Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

brainstorm

БесплатноБез исполняемых скриптовНе проверен

Unified brainstorming skill with dual-mode operation — auto mode (framework generation, parallel multi-role analysis, cross-role synthesis) and single role…

catlog22от catlog22★ 2 110 звёзд на GitHub

Об этом скилле

Brainstorm

Unified brainstorming skill combining interactive framework generation, multi-role parallel analysis, and cross-role synthesis into a single entry point with two operational modes.

Architecture Overview

┌─────────────────────────────────────────────────────────────┐
│                    /brainstorm                                │
│         Unified Entry Point + Interactive Routing             │
└───────────────────────┬─────────────────────────────────────┘
                        │
              ┌─────────┴─────────┐
              ↓                   ↓
    ┌─────────────────┐  ┌──────────────────┐
    │   Auto Mode     │  │ Single Role Mode │
    │  (自动模式)      │  │ (单角色分析模式)   │
    └────────┬────────┘  └────────┬─────────┘
             │                    │
    ┌────────┼────────┐          │
    ↓        ↓        ↓          ↓
 Phase 2  Phase 3  Phase 4    Phase 3
Artifacts  N×Role  Synthesis  1×Role
 (7步)    Analysis  (8步)    Analysis
           并行               (4步)

Data Flow:

Auto Mode:
  Phase 2 (artifacts) → guidance-specification.md + selected_roles[]
    → Phase 3 (N × role-analysis) → {role}/analysis*.md (immutable)
      → Phase 4 (synthesis) → feature-specs/ + feature-index.json + synthesis-changelog.md

Single Role Mode:
  Phase 3 (1 × role-analysis) → {role}/analysis*.md

Key Design Principles

  1. Dual-Mode Routing: Interactive mode selection via AskUserQuestion, with parameter-based auto-detection
  2. Progressive Phase Loading: Phase files loaded on-demand via Ref: markers, not all at once
  3. Task Attachment/Collapse: Sub-tasks attached during phase execution, collapsed after completion
  4. Session Continuity: All phases share session state via workflow-session.json
  5. Auto-Continue Execution: Phases chain automatically without user intervention between them
  6. SPEC.md Quality Alignment: Guidance specification and role analysis follow SPEC.md standards (Concepts & Terminology, Non-Goals, Data Model, State Machine, RFC 2119 constraints)
  7. Template-Driven Analysis: Role-specific templates (e.g., system-architect) ensure consistent, high-quality outputs
  8. Quality Gates: Automated validation of guidance specification and role analysis against quality standards

Auto Mode

When --yes or -y: Auto-select auto mode, skip interactive routing question, auto-select recommended roles, skip all clarification questions, use default answers.

Execution Flow

Phase 1: Mode Detection & Interactive Routing

Ref: phases/01-mode-routing.md

Parse arguments, detect mode from flags/parameters, or ask user via AskUserQuestion.

Mode Detection Rules:

  1. If --yes or -y flag present → Auto Mode (no question asked)
  2. If first arg matches a known role name → Single Role Mode (no question asked)
  3. If --session flag present without role name → Ask user
  4. Otherwise → Ask user via AskUserQuestion

Output: execution_mode ("auto" | "single-role"), parsed parameters


Auto Mode Execution (execution_mode = "auto")

Phase 1.5: Terminology & Boundary Definition

  • Extract 5-10 core domain terms from user input and Phase 1 context
  • Generate terminology table (term, definition, aliases, category)
  • Collect Non-Goals via AskUserQuestion (明确排除的范围)
  • Store to session.terminology and session.non_goals

Phase 2: Interactive Framework Generation

Ref: phases/02-artifacts.md

Seven-phase interactive workflow: Context collection → Topic analysis → Role selection → Role questions → Conflict resolution → Final check → Generate specification.

Input: topic description, --count N, --yes flag Output: guidance-specification.md (with Concepts & Terminology, Non-Goals, RFC 2119 constraints), workflow-session.json (selected_roles[], session_id)

TodoWrite: Attach 7 sub-tasks (Phase 0-5), execute sequentially, collapse on completion.

Phase 3: Parallel Role Analysis

Ref: phases/03-role-analysis.md

Execute role analysis for EACH selected role in parallel (excluding ui-designer, which runs sequentially in Phase 3.5).

Input: selected_roles[] from Phase 2, session_id, guidance-specification.md Output: {role}/analysis*.md for each role

Parallel Execution: Launch N role-analysis calls simultaneously (one message with multiple Skill invokes). Each role with --skip-questions flag. Note: ui-designer is excluded from this parallel batch — it runs in Phase 3.5 with access to all text-role analyses.

For ui-designer: append --style-skill {package} if provided.

Template-Driven Analysis:

  • Load role-specific template if exists (e.g., templates/role-templates/system-architect-template.md)
  • Inject template into agent prompt as required structure
  • For system-architect: MUST include Data Model, State Machine, Error Handling, Observability, Configuration Model, Boundary Scenarios

Quality Validation:

  • After analysis generation, invoke `role-analysis-
Полный SKILL.md на GitHub

Установить brainstorm в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Skill(*)
Agent(conceptual-planning-agent, context-search-agent)
AskUserQuestion(*)
TodoWrite(*)
Read(*)
Write(*)
Edit(*)
Glob(*)
Bash(*)

Вложенные файлы

README.mdphases/01-mode-routing.mdphases/02-artifacts.mdphases/03-role-analysis.mdphases/03a-ui-design-exploration.mdphases/04-synthesis.mdspecs/terminology-template.json

FAQ

Что делает скилл brainstorm?

Unified brainstorming skill with dual-mode operation — auto mode (framework generation, parallel multi-role analysis, cross-role synthesis) and single role analysis. Triggers on "brainstorm", "头脑风暴".

Как установить скилл brainstorm?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл brainstorm запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить brainstorm с