mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-13 02:41:50 +08:00
style(issue/new): use hybrid Phase + table flow diagram
Combines sequential Phase structure with inline table for branching: - Phase 1-4 for overall flow clarity - Table for Score 0/1-2/3 decision branching - More compact and scannable than pure ASCII boxes 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -221,47 +221,30 @@ if (proceed) {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
## Decision Flow
|
## Execution Flow
|
||||||
|
|
||||||
```
|
```
|
||||||
┌─────────────────────────────────────────────────────────┐
|
Phase 1: Input Analysis
|
||||||
│ /issue:new <input> │
|
└─ Detect clarity score (GitHub URL? Structured text? Keywords?)
|
||||||
└─────────────────────────────────────────────────────────┘
|
|
||||||
│
|
|
||||||
▼
|
|
||||||
┌────────────────────────┐
|
|
||||||
│ Clarity Detection │
|
|
||||||
│ (GitHub? Structure?) │
|
|
||||||
└────────────────────────┘
|
|
||||||
│
|
|
||||||
┌───────────────┼───────────────┐
|
|
||||||
│ │ │
|
|
||||||
▼ ▼ ▼
|
|
||||||
[Score 3] [Score 1-2] [Score 0]
|
|
||||||
GitHub URL Structured Text Vague Input
|
|
||||||
│ │ │
|
|
||||||
▼ ▼ ▼
|
|
||||||
Parse Parse + AskUserQuestion
|
|
||||||
Direct ACE (quick) (1 question)
|
|
||||||
│ │ │
|
|
||||||
│ max 3 files │
|
|
||||||
│ max 3 keywords │
|
|
||||||
│ │ │
|
|
||||||
└───────────────┼───────────────┘
|
|
||||||
│
|
|
||||||
▼
|
|
||||||
┌────────────────────────┐
|
|
||||||
│ Auto-detect Lifecycle │
|
|
||||||
│ (NO questions) │
|
|
||||||
└────────────────────────┘
|
|
||||||
│
|
|
||||||
▼
|
|
||||||
┌────────────────────────┐
|
|
||||||
│ Create Issue │
|
|
||||||
│ (confirm only if <2) │
|
|
||||||
└────────────────────────┘
|
|
||||||
|
|
||||||
Note: Deep exploration → /issue:plan (not here)
|
Phase 2: Data Extraction (branched by clarity)
|
||||||
|
┌────────────┬─────────────────┬──────────────┐
|
||||||
|
│ Score 3 │ Score 1-2 │ Score 0 │
|
||||||
|
│ GitHub │ Text + ACE │ Vague │
|
||||||
|
├────────────┼─────────────────┼──────────────┤
|
||||||
|
│ gh CLI │ Parse struct │ AskQuestion │
|
||||||
|
│ → parse │ + quick hint │ (1 question) │
|
||||||
|
│ │ (3 files max) │ │
|
||||||
|
└────────────┴─────────────────┴──────────────┘
|
||||||
|
|
||||||
|
Phase 3: Lifecycle Auto-Detection
|
||||||
|
└─ Infer test_strategy from affected files (NO questions)
|
||||||
|
|
||||||
|
Phase 4: Create Issue
|
||||||
|
├─ Score ≥ 2: Direct creation
|
||||||
|
└─ Score < 2: Confirm first → Create
|
||||||
|
|
||||||
|
Note: Deep exploration deferred to /issue:plan
|
||||||
```
|
```
|
||||||
|
|
||||||
## Helper Functions
|
## Helper Functions
|
||||||
|
|||||||
Reference in New Issue
Block a user