refactor: update workflow commands to use /workflow:spec:setup for initialization

This commit is contained in:
catlog22
2026-03-10 23:47:27 +08:00
parent 38d1987f41
commit c50d9b21dc
18 changed files with 33 additions and 33 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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
```