mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-03-11 17:21:03 +08:00
refactor: update workflow commands to use /workflow:spec:setup for initialization
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
| [`/workflow-multi-cli-plan`](./workflow.md#multi-cli-plan) | Multi-CLI collaborative planning | Intermediate |
|
||||
| [`/workflow:review`](./workflow.md#review) | Post-implementation review | Intermediate |
|
||||
| [`/workflow:clean`](./workflow.md#clean) | Smart code cleanup | Intermediate |
|
||||
| [`/workflow:init`](./workflow.md#init) | Initialize project state | Intermediate |
|
||||
| [`/workflow:spec:setup `](./workflow.md#init) | Initialize project state | Intermediate |
|
||||
| [`/workflow:brainstorm-with-file`](./workflow.md#brainstorm-with-file) | Interactive brainstorming | Intermediate |
|
||||
| [`/workflow:analyze-with-file`](./workflow.md#analyze-with-file) | Interactive collaborative analysis | Beginner |
|
||||
| [`/workflow:debug-with-file`](./workflow.md#debug-with-file) | Interactive hypothesis-driven debugging | Intermediate |
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
| Command | Function | Syntax |
|
||||
|---------|----------|--------|
|
||||
| [`clean`](#clean) | Smart code cleanup | `/workflow:clean [-y] [--dry-run] ["focus area"]` |
|
||||
| [`init`](#init) | Initialize project state | `/workflow:init [--regenerate]` |
|
||||
| [`init`](#init) | Initialize project state | `/workflow:spec:setup [--regenerate]` |
|
||||
| [`plan-verify`](#plan-verify) | Verify planning consistency | `/workflow-plan-verify [--session session-id]` |
|
||||
|
||||
## Command Details
|
||||
|
||||
@@ -81,7 +81,7 @@ This creates a new workflow session. All subsequent operations will be performed
|
||||
### 2.2.2 Initialize Project Specs
|
||||
|
||||
```
|
||||
/workflow:init
|
||||
/workflow:spec:setup
|
||||
```
|
||||
|
||||
This creates the `project-tech.json` file, recording your project's technology stack information.
|
||||
@@ -89,7 +89,7 @@ This creates the `project-tech.json` file, recording your project's technology s
|
||||
### 2.2.3 Populate Project Specs
|
||||
|
||||
```
|
||||
/workflow:init-guidelines
|
||||
/workflow:spec:setup -guidelines
|
||||
```
|
||||
|
||||
Interactively populate project specifications, including coding style, architectural decisions, and other information.
|
||||
@@ -282,7 +282,7 @@ npm install
|
||||
/workflow:session:start
|
||||
|
||||
# 5. Initialize project
|
||||
/workflow:init
|
||||
/workflow:spec:setup
|
||||
```
|
||||
|
||||
### Common Commands
|
||||
|
||||
@@ -50,7 +50,7 @@ Create a simple workflow in under 5 minutes:
|
||||
# Prompt: "Fix the login timeout issue" # Execute without confirmation prompts
|
||||
|
||||
# Or use specific workflow commands
|
||||
/workflow:init # Initialize project state
|
||||
/workflow:spec:setup # Initialize project state
|
||||
/workflow-plan
|
||||
# Prompt: "Add OAuth2 authentication" # Create implementation plan
|
||||
/workflow-execute # Execute planned tasks
|
||||
|
||||
@@ -74,7 +74,7 @@ To check available CCW commands, you can list them:
|
||||
Available CCW Commands:
|
||||
- /ccw - Main workflow orchestrator
|
||||
- /ccw-coordinator - External CLI orchestration
|
||||
- /workflow:init - Initialize project configuration
|
||||
- /workflow:spec:setup - Initialize project configuration
|
||||
- /workflow:status - Generate project views
|
||||
- /issue:discover - Discover and plan issues
|
||||
- /brainstorm - Multi-perspective brainstorming
|
||||
@@ -145,7 +145,7 @@ Create `CLAUDE.md` in your project root to define project-specific instructions:
|
||||
Initialize CCW in your project:
|
||||
|
||||
```
|
||||
/workflow:init
|
||||
/workflow:spec:setup
|
||||
```
|
||||
|
||||
This creates `.workflow/project-tech.json` with your project's technology stack.
|
||||
@@ -343,7 +343,7 @@ After installation, try these commands to verify everything works:
|
||||
|
||||
```
|
||||
# 1. Initialize in your project
|
||||
/workflow:init
|
||||
/workflow:spec:setup
|
||||
|
||||
# 2. Try a simple analysis using the CLI tool
|
||||
Bash: ccw cli -p "Analyze the project structure" --tool gemini --mode analysis
|
||||
@@ -369,7 +369,7 @@ What would you like to accomplish? Please describe your task.
|
||||
|
||||
**Using workflow init:**
|
||||
```
|
||||
You: /workflow:init
|
||||
You: /workflow:spec:setup
|
||||
✔ Created .workflow/project-tech.json
|
||||
✔ Project configuration complete
|
||||
```
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
| [`/workflow-multi-cli-plan`](./workflow.md#multi-cli-plan) | 多 CLI 协作规划 | Intermediate |
|
||||
| [`/workflow:review`](./workflow.md#review) | 实现后审查 | Intermediate |
|
||||
| [`/workflow:clean`](./workflow.md#clean) | 智能代码清理 | Intermediate |
|
||||
| [`/workflow:init`](./workflow.md#init) | 初始化项目状态 | Intermediate |
|
||||
| [`/workflow:spec:setup `](./workflow.md#init) | 初始化项目状态 | Intermediate |
|
||||
| [`/workflow:brainstorm-with-file`](./workflow.md#brainstorm-with-file) | 交互式头脑风暴 | Intermediate |
|
||||
| [`/workflow:analyze-with-file`](./workflow.md#analyze-with-file) | 交互式协作分析 | Beginner |
|
||||
| [`/workflow:debug-with-file`](./workflow.md#debug-with-file) | 交互式假设驱动调试 | Intermediate |
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
| 命令 | 功能 | 语法 |
|
||||
| --- | --- | --- |
|
||||
| [`clean`](#clean) | 智能代码清理 | `/workflow:clean [-y] [--dry-run] ["焦点区域"]` |
|
||||
| [`init`](#init) | 初始化项目状态 | `/workflow:init [--regenerate]` |
|
||||
| [`init`](#init) | 初始化项目状态 | `/workflow:spec:setup [--regenerate]` |
|
||||
| [`plan-verify`](#plan-verify) | 验证规划一致性 | `/workflow-plan-verify [--session session-id]` |
|
||||
|
||||
## 命令详解
|
||||
|
||||
@@ -67,7 +67,7 @@ API Keys 也可以在项目级别配置 `.claude/settings.json`,项目级配
|
||||
### 2.2.2 初始化项目规范
|
||||
|
||||
```
|
||||
/workflow:init
|
||||
/workflow:spec:setup
|
||||
```
|
||||
|
||||
这会创建 `project-tech.json` 文件,记录项目的技术栈信息。
|
||||
@@ -75,7 +75,7 @@ API Keys 也可以在项目级别配置 `.claude/settings.json`,项目级配
|
||||
### 2.2.3 填充项目规范
|
||||
|
||||
```
|
||||
/workflow:init-guidelines
|
||||
/workflow:spec:setup -guidelines
|
||||
```
|
||||
|
||||
交互式填充项目规范,包括编码风格、架构决策等信息。
|
||||
@@ -272,7 +272,7 @@ npm install
|
||||
/workflow:session:start
|
||||
|
||||
# 5. 初始化项目
|
||||
/workflow:init
|
||||
/workflow:spec:setup
|
||||
```
|
||||
|
||||
### 常用命令
|
||||
|
||||
Reference in New Issue
Block a user