mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-28 09:23:08 +08:00
Refactor code structure for improved readability and maintainability
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
name: workflow-req-plan
|
name: req-plan-with-file
|
||||||
description: Requirement-level progressive roadmap planning with issue creation. Decomposes requirements into convergent layers or task sequences, creates issues via ccw issue create, and generates roadmap.md for human review. Issues stored in .workflow/issues/issues.jsonl (single source of truth).
|
description: Requirement-level progressive roadmap planning with issue creation. Decomposes requirements into convergent layers or task sequences, creates issues via ccw issue create, and generates roadmap.md for human review. Issues stored in .workflow/issues/issues.jsonl (single source of truth).
|
||||||
argument-hint: "[-y|--yes] [-c|--continue] [-m|--mode progressive|direct|auto] \"requirement description\""
|
argument-hint: "[-y|--yes] [-c|--continue] [-m|--mode progressive|direct|auto] \"requirement description\""
|
||||||
allowed-tools: spawn_agent, wait, send_input, close_agent, AskUserQuestion, Read, Write, Edit, Bash, Glob, Grep
|
allowed-tools: spawn_agent, wait, send_input, close_agent, AskUserQuestion, Read, Write, Edit, Bash, Glob, Grep
|
||||||
@@ -10,18 +10,18 @@ allowed-tools: spawn_agent, wait, send_input, close_agent, AskUserQuestion, Read
|
|||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$workflow-req-plan "Implement user authentication system with OAuth and 2FA"
|
$req-plan-with-file "Implement user authentication system with OAuth and 2FA"
|
||||||
|
|
||||||
# With mode selection
|
# With mode selection
|
||||||
$workflow-req-plan -m progressive "Build real-time notification system" # Layered MVP→iterations
|
$req-plan-with-file -m progressive "Build real-time notification system" # Layered MVP→iterations
|
||||||
$workflow-req-plan -m direct "Refactor payment module" # Topologically-sorted task sequence
|
$req-plan-with-file -m direct "Refactor payment module" # Topologically-sorted task sequence
|
||||||
$workflow-req-plan -m auto "Add data export feature" # Auto-select strategy
|
$req-plan-with-file -m auto "Add data export feature" # Auto-select strategy
|
||||||
|
|
||||||
# Continue existing session
|
# Continue existing session
|
||||||
$workflow-req-plan --continue "user authentication system"
|
$req-plan-with-file --continue "user authentication system"
|
||||||
|
|
||||||
# Auto mode (skip all confirmations)
|
# Auto mode (skip all confirmations)
|
||||||
$workflow-req-plan -y "Implement caching layer"
|
$req-plan-with-file -y "Implement caching layer"
|
||||||
|
|
||||||
# Flags
|
# Flags
|
||||||
-y, --yes Skip all confirmations (auto mode)
|
-y, --yes Skip all confirmations (auto mode)
|
||||||
@@ -1547,7 +1547,7 @@ Each line follows the standard `issues-jsonl-schema.json` (see `.ccw/workflows/c
|
|||||||
|
|
||||||
## Usage Recommendations
|
## Usage Recommendations
|
||||||
|
|
||||||
**Use `$workflow-req-plan` when:**
|
**Use `$req-plan-with-file` when:**
|
||||||
- You need to decompose a large requirement into a progressively executable roadmap
|
- You need to decompose a large requirement into a progressively executable roadmap
|
||||||
- Unsure where to start, need an MVP strategy
|
- Unsure where to start, need an MVP strategy
|
||||||
- Need to generate a trackable task sequence
|
- Need to generate a trackable task sequence
|
||||||
Reference in New Issue
Block a user