一键导入
workflow-discuss
Kick off a new workflow by discussing requirements — asks clarifying questions, explores trade-offs, and captures decisions in a structured format.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Kick off a new workflow by discussing requirements — asks clarifying questions, explores trade-offs, and captures decisions in a structured format.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Abort a workflow — cleans up worktrees and branches, marks the workspace as aborted.
Finalize the workflow — squash commits into one clean commit, remove worktrees, and close the workspace.
Execute all planned tasks — creates per-task git worktrees, spawns implementer and reviewer agents in dependency order, aggregates results.
Break an approved design into atomic implementation tasks — creates dependency-ordered task specs ready for parallel agent execution.
Review completed implementation — runs final verification across all changes and presents results for user sign-off.
Convert discussion output into a validated design — reads captured requirements and presents architecture for iterative approval.
| name | workflow-discuss |
| description | Kick off a new workflow by discussing requirements — asks clarifying questions, explores trade-offs, and captures decisions in a structured format. |
Guide the user through a structured discussion to understand what they want to build/fix/refactor. Capture everything in DISCUSSION.md.
The user invokes this as /workflow-discuss {description}.
If $ARGUMENTS is empty, ask the user to describe what they want to work on.
Based on the description, determine the type:
feat — New feature or functionalitybug — Bug fixrefactor — Code restructuring without behavior changedocs — Documentation changeschore — Maintenance, dependencies, toolingCreate a descriptive, kebab-case slug (3-5 words max). Examples:
global-search-filtersfix-movie-detail-crashPresent: "I'd classify this as {type} with slug {slug}. Does that look right?"
Wait for confirmation before proceeding.
mkdir -p .workflow/{type}/{slug}
Write .workflow/{type}/{slug}/STATUS.yaml:
slug: {slug}
type: {type}
phase: discussion
created: {ISO timestamp}
updated: {ISO timestamp}
Before starting the discussion, invoke these skills to inform your exploration:
brainstorming (superpowers) — Use this to explore the solution space before narrowing scope. Present 2-3 creative approaches to the user during discussion.Project skills (from .claude/skills/):
page-building — If the work involves creating or modifying pages, invoke to understand the page architecture patterns (listing vs. detail vs. browse).component-architecture — If the work involves new or restructured components, invoke to understand file organization, composition, and prop design patterns.data-fetching — If the work involves API data, invoke to understand the query pipeline (API client → function → query options → Query wrapper).styling-design — If the work involves visual changes, invoke to understand the color system, animation patterns, and responsive approach.query-autonomy — If the work involves refactoring prop passthrough into independent queries.Plugin skills/tools:
frontend-design (plugin) — If the work involves building new UI with significant visual design. Use to inform bold aesthetic direction and avoid generic AI aesthetics.feature-dev:code-explorer (agent) — Spawn this agent to deeply analyze existing features before discussing changes. It traces execution paths and maps architecture layers.context7 (MCP tools) — CRITICAL: Never assume library APIs. Use resolve-library-id + query-docs to look up current documentation for Next.js, TanStack Query, Radix/shadcn, nuqs, or any library used in this project. Do this during discussion when API behavior matters for a decision.Reference the relevant skills when asking questions — e.g., "Based on our page-building patterns, this would follow the Detail Page structure (Header + Stats + Tabs). Does that match your intent?"
Read the user's description and ask clarifying questions one at a time. Prefer multiple-choice questions when possible.
Focus areas:
As the discussion progresses, proactively explore relevant code:
Write/update .workflow/{type}/{slug}/DISCUSSION.md as the conversation progresses:
# Discussion: {slug}
## Intent
{One paragraph summarizing what the user wants}
## Key Decisions
- **Decision 1**: {What was decided and why}
- **Decision 2**: ...
## Scope
### In scope
- Item 1
- Item 2
### Out of scope
- Item 1
## Relevant Code
- `path/to/file.ts` — {Why it's relevant}
- `path/to/other.ts` — {Pattern to follow}
## Applicable Skills
- `component-architecture` — {Why this skill applies}
- `data-fetching` — {Why this skill applies}
- `styling-design` — {Why this skill applies}
- (only list skills that are relevant to this work)
## Open Questions
- {Any unresolved questions}
## Notes
- {Additional context gathered during discussion}
If any assumptions are made during discussion, create/update .workflow/{type}/{slug}/ASSUMPTIONS.md:
# Assumptions: {slug}
- **Assumption**: {What was assumed}
**Basis**: {Why this seems reasonable}
**Risk if wrong**: {What would need to change}
When the discussion feels complete (scope is clear, decisions are made, no open questions):
/workflow-design {slug}?" (or continue with /workflow-plan {slug} if design isn't needed)phase: discussion-complete