Agent SkillsAgent Skills
edwinhu

dev-brainstorm

@edwinhu/dev-brainstorm
edwinhu
6
1 forks
Updated 4/1/2026
View on GitHub

REQUIRED Phase 1 of /dev workflow. Uses Socratic questioning to understand requirements before exploration.

Installation

$npx agent-skills-cli install @edwinhu/dev-brainstorm
Claude Code
Cursor
Copilot
Codex
Antigravity

Details

Pathplugins/workflows/skills/dev-brainstorm/SKILL.md
Branchmain
Scoped Name@edwinhu/dev-brainstorm

Usage

After installing, this skill will be available to your AI coding assistant.

Verify installation:

npx agent-skills-cli list

Skill Instructions


name: dev-brainstorm description: "REQUIRED Phase 1 of /dev workflow. Uses Socratic questioning to understand requirements before exploration."

Announce: "I'm using dev-brainstorm (Phase 1) to gather requirements."

Contents

Brainstorming (Questions Only)

Refine vague ideas into clear requirements through Socratic questioning. NO exploration, NO approaches - just questions and requirements.

<EXTREMELY-IMPORTANT> ## The Iron Law of Brainstorming

ASK QUESTIONS BEFORE ANYTHING ELSE. This is not negotiable.

Before exploring codebase, before proposing approaches, you MUST:

  1. Ask clarifying questions using AskUserQuestion
  2. Understand what the user actually wants
  3. Define success criteria

Approaches come later (in /dev-design) after exploring the codebase.

If you catch yourself about to explore the codebase before asking questions, STOP. </EXTREMELY-IMPORTANT>

What Brainstorm Does

DODON'T
Ask clarifying questionsExplore codebase
Understand requirementsSpawn explore agents
Define success criteriaLook at existing code
Write draft SPEC.mdPropose approaches (that's design)
Identify unknownsCreate implementation tasks

Brainstorm answers: WHAT do we need and WHY Explore answers: WHERE is the code (next phase) Design answers: HOW to build it (after exploration)

Process

1. Ask Questions First

Use AskUserQuestion immediately:

  • One question at a time - never batch
  • Multiple-choice preferred - easier to answer
  • Focus on: purpose, constraints, success criteria

Example questions:

  • "What problem does this solve?"
  • "Who will use this feature?"
  • "What's the most important requirement?"
  • "Any constraints (performance, compatibility)?"

2. Define Success Criteria

After understanding requirements:

  • Turn requirements into measurable criteria
  • Use checkboxes for clear pass/fail
  • Confirm with user

3. Write Draft SPEC.md

Write initial spec to .claude/SPEC.md:

# Spec: [Feature Name]

> **For Claude:** After writing this spec, use `Skill(skill="workflows:dev-explore")` for Phase 2.

## Problem
[What problem this solves]

## Requirements
- [Requirement 1]
- [Requirement 2]

## Success Criteria
- [ ] Criterion 1
- [ ] Criterion 2

## Constraints
- [Any limitations or boundaries]

## Automated Testing (MANDATORY)

> **For Claude:** Use `Skill(skill="workflows:dev-test")` for automation options.

- **Framework:** [pytest / playwright / jest / etc.]
- **Command:** [e.g., `pytest tests/ -v`]
- **Core functionality to verify:** [what MUST be tested automatically]

### What Counts as a Real Automated Test

| ✅ REAL TEST (execute + verify) | ❌ NOT A TEST (never acceptable) |
|---------------------------------|----------------------------------|
| pytest calls function, checks return value | grep/ast-grep finds function exists |
| Playwright clicks button, verifies result | Check logs say "success" |
| ydotool simulates user, screenshot verifies | Read source code structure |
| API call returns expected response | "Code looks correct" |
| CLI invocation produces expected output | Structural pattern matching |

**THE TEST MUST EXECUTE THE CODE AND VERIFY RUNTIME BEHAVIOR.**

Grepping is not testing. Log checking is not testing. Code review is not testing.

## Open Questions
- [Questions to resolve during exploration]

Note: No "Chosen Approach" yet - that comes after exploration and design phases.

Red Flags - STOP If You're About To:

ActionWhy It's WrongDo Instead
Spawn explore agentExploring before understandingAsk questions first
Read source filesLooking at code before requirementsAsk what user wants
Propose approachesToo early - need to explore firstSave for /dev-design
Create task listPlanning before understandingFinish brainstorm first

Output

Brainstorm complete when:

  • Problem is clearly understood
  • Requirements defined
  • Success criteria defined
  • .claude/SPEC.md written (draft)
  • Open questions identified for exploration

Phase Complete

REQUIRED SUB-SKILL: After completing brainstorm, IMMEDIATELY invoke:

Skill(skill="workflows:dev-explore")
dev-brainstorm by edwinhu | Agent Skills