mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-10 02:24:35 +08:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
604405b2d6 | ||
|
|
190d2280fd |
@@ -217,8 +217,9 @@ fi
|
|||||||
ccw cli -p "$PROMPT" --tool codex --mode review $TARGET_FLAG $MODEL_FLAG $TITLE_FLAG
|
ccw cli -p "$PROMPT" --tool codex --mode review $TARGET_FLAG $MODEL_FLAG $TITLE_FLAG
|
||||||
```
|
```
|
||||||
|
|
||||||
**Full Example Command:**
|
**Full Example Commands:**
|
||||||
|
|
||||||
|
**Option 1: With custom prompt (reviews uncommitted by default):**
|
||||||
```bash
|
```bash
|
||||||
ccw cli -p "
|
ccw cli -p "
|
||||||
PURPOSE: Comprehensive code review to identify issues and improve quality; success = actionable feedback with priorities
|
PURPOSE: Comprehensive code review to identify issues and improve quality; success = actionable feedback with priorities
|
||||||
@@ -227,7 +228,12 @@ MODE: review
|
|||||||
CONTEXT: Reviewing uncommitted changes | Memory: Project conventions
|
CONTEXT: Reviewing uncommitted changes | Memory: Project conventions
|
||||||
EXPECTED: Structured report with severity levels, file:line refs, improvement suggestions
|
EXPECTED: Structured report with severity levels, file:line refs, improvement suggestions
|
||||||
CONSTRAINTS: Actionable feedback
|
CONSTRAINTS: Actionable feedback
|
||||||
" --tool codex --mode review --uncommitted --rule analysis-review-code-quality
|
" --tool codex --mode review --rule analysis-review-code-quality
|
||||||
|
```
|
||||||
|
|
||||||
|
**Option 2: Target flag only (no prompt allowed):**
|
||||||
|
```bash
|
||||||
|
ccw cli --tool codex --mode review --uncommitted
|
||||||
```
|
```
|
||||||
|
|
||||||
### Step 5: Execute and Display Results
|
### Step 5: Execute and Display Results
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ AskUserQuestion({
|
|||||||
options: [
|
options: [
|
||||||
{ label: "Skip", description: "No review" },
|
{ label: "Skip", description: "No review" },
|
||||||
{ label: "Gemini Review", description: "Gemini CLI tool" },
|
{ label: "Gemini Review", description: "Gemini CLI tool" },
|
||||||
{ label: "Codex Review", description: "codex review --uncommitted" },
|
{ label: "Codex Review", description: "Git-aware review (prompt OR --uncommitted)" },
|
||||||
{ label: "Agent Review", description: "Current agent review" }
|
{ label: "Agent Review", description: "Current agent review" }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -471,7 +471,8 @@ Progress tracked at batch level (not individual task level). Icons: ⚡ (paralle
|
|||||||
**Operations**:
|
**Operations**:
|
||||||
- Agent Review: Current agent performs direct review
|
- Agent Review: Current agent performs direct review
|
||||||
- Gemini Review: Execute gemini CLI with review prompt
|
- Gemini Review: Execute gemini CLI with review prompt
|
||||||
- Custom tool: Execute specified CLI tool (qwen, codex, etc.)
|
- Codex Review: Two options - (A) with prompt for complex reviews, (B) `--uncommitted` flag only for quick reviews
|
||||||
|
- Custom tool: Execute specified CLI tool (qwen, etc.)
|
||||||
|
|
||||||
**Unified Review Template** (All tools use same standard):
|
**Unified Review Template** (All tools use same standard):
|
||||||
|
|
||||||
@@ -506,9 +507,17 @@ ccw cli -p "[Shared Prompt Template with artifacts]" --tool gemini --mode analys
|
|||||||
ccw cli -p "[Shared Prompt Template with artifacts]" --tool qwen --mode analysis
|
ccw cli -p "[Shared Prompt Template with artifacts]" --tool qwen --mode analysis
|
||||||
# Same prompt as Gemini, different execution engine
|
# Same prompt as Gemini, different execution engine
|
||||||
|
|
||||||
# Method 4: Codex Review (git-aware)
|
# Method 4: Codex Review (git-aware) - Two mutually exclusive options:
|
||||||
ccw cli -p "[Shared Prompt Template with artifacts]" --tool codex --mode review --uncommitted
|
|
||||||
# Reviews uncommitted changes against plan acceptance criteria
|
# Option A: With custom prompt (reviews uncommitted by default)
|
||||||
|
ccw cli -p "[Shared Prompt Template with artifacts]" --tool codex --mode review
|
||||||
|
# Use for complex reviews with specific focus areas
|
||||||
|
|
||||||
|
# Option B: Target flag only (no prompt allowed)
|
||||||
|
ccw cli --tool codex --mode review --uncommitted
|
||||||
|
# Quick review of uncommitted changes without custom instructions
|
||||||
|
|
||||||
|
# ⚠️ IMPORTANT: -p prompt and target flags (--uncommitted/--base/--commit) are MUTUALLY EXCLUSIVE
|
||||||
```
|
```
|
||||||
|
|
||||||
**Multi-Round Review with Fixed IDs**:
|
**Multi-Round Review with Fixed IDs**:
|
||||||
|
|||||||
@@ -526,7 +526,7 @@ AskUserQuestion({
|
|||||||
multiSelect: false,
|
multiSelect: false,
|
||||||
options: [
|
options: [
|
||||||
{ label: "Gemini Review", description: "Gemini CLI review" },
|
{ label: "Gemini Review", description: "Gemini CLI review" },
|
||||||
{ label: "Codex Review", description: "codex review --uncommitted" },
|
{ label: "Codex Review", description: "Git-aware review (prompt OR --uncommitted)" },
|
||||||
{ label: "Agent Review", description: "@code-reviewer agent" },
|
{ label: "Agent Review", description: "@code-reviewer agent" },
|
||||||
{ label: "Skip", description: "No review" }
|
{ label: "Skip", description: "No review" }
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "claude-code-workflow",
|
"name": "claude-code-workflow",
|
||||||
"version": "6.3.34",
|
"version": "6.3.35",
|
||||||
"description": "JSON-driven multi-agent development framework with intelligent CLI orchestration (Gemini/Qwen/Codex), context-first architecture, and automated workflow execution",
|
"description": "JSON-driven multi-agent development framework with intelligent CLI orchestration (Gemini/Qwen/Codex), context-first architecture, and automated workflow execution",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "ccw/src/index.js",
|
"main": "ccw/src/index.js",
|
||||||
|
|||||||
Reference in New Issue
Block a user