Sr brainstorm

From DangQuangSE/team-development-skills · View interactive version

Sr brainstorm is an AI agent skill from the GitHub repository DangQuangSE/team-development-skills. Phase 1 of the SRS workflow. User gives a project topic → AI runs a deep, categorized brainstorm (5 mandatory rounds) to fully understand actors, features, scope boundary, tech constraints, and business rules before writing anything.

How to use this skill

Skill file

sr-brainstorm

Goal: fully understand the project before a single word of spec is written.

Do NOT write spec, plan, or SRS in this session.


Step 0 — Topic Intake

Receive topic from user. Do NOT ask questions yet.

Identify:

Echo back:

Topic:   {topic}
Domain:  {domain}
Scale:   {scale}
Slug:    {kebab-case name for projects/{slug}/}

Confirm slug with user before proceeding. If topic is too vague to form a slug, ask.


Step 1 — Load Domain Questions

Load .codex/skills/srs-workflow/references/brainstorm-guide.md.

Select the question bank matching the detected domain.


Step 2 — Round 1: Actors & Users

Ask the user with concrete role options (not open-ended).

Ask about:

Wait for answer. Record each confirmed actor as:

[ACTOR] {name}: {description} | access level: {read/write/admin}

Step 3 — Round 2: Core Features

Ask the user. Present a feature checklist derived from domain + topic.

For each feature cluster offer sub-options. Example for e-commerce:

Mark each selection as [CONFIRMED]. Infer likely missing features — ask to confirm or reject.

Wait for answer.


Step 4 — Round 3: Scope Boundary

Ask the user. Present a two-column table:

| IN Scope (proposed) | OUT Scope (proposed) |

|---------------------|----------------------|

| {feature A} | {feature X} |

Ask user to move items between columns or add new ones.

HARD BLOCK: Do not proceed without explicit in/out boundary confirmed by user.

Wait for answer.


Step 5 — Round 4: Technical Constraints

Ask the user:

Wait for answer.


Step 6 — Round 5: Business Rules & Edge Cases

Ask the user:

Wait for answer.


Step 7 — Completeness Check

After Round 5, self-check against this list. Any gap = add a follow-up question NOW:

If ANY box is unchecked: ask a targeted follow-up round before proceeding.


Step 8 — Save Brainstorm Output

Write projects/{slug}/brainstorm.md:

# Brainstorm: {project name}
Date: {date}

## Topic
{user's original topic verbatim}

## Domain / Scale
{domain} / {scale}

## Actors
{list with [ACTOR] entries}

## Confirmed Features (IN Scope)
{confirmed list}

## OUT of Scope
{explicit list}

## Technical Constraints
{answers from Round 4}

## Business Rules
{answers from Round 5}

## NFR Baselines
{confirmed numeric targets, or [TBD] with context}

## Open Items
{anything still unresolved — will become [TBD] tags in spec}

Step 9 — Handoff

Output:

Brainstorm complete.

Project: {name}   Slug: {slug}
Actors:  {count}
Features confirmed (IN scope): {count}
OUT scope items: {count}
Open items: {count}

Saved: projects/{slug}/brainstorm.md

Next: $sr-spec → writes the full spec from this brainstorm
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.