diff --git a/.claude/skills/ccw-help/command.json b/.claude/skills/ccw-help/command.json index 2f9402e1..6bc3ba67 100644 --- a/.claude/skills/ccw-help/command.json +++ b/.claude/skills/ccw-help/command.json @@ -289,7 +289,7 @@ }, { "name": "init-guidelines", - "command": "/workflow:init-guidelines", + "command": "/workflow:spec:setup -guidelines", "description": "Interactive wizard to fill specs/*.md based on project analysis", "arguments": "[--reset]", "category": "workflow", @@ -300,7 +300,7 @@ }, { "name": "init-specs", - "command": "/workflow:init-specs", + "command": "/workflow:spec:setup -specs", "description": "Interactive wizard to create individual specs or personal constraints with scope selection", "arguments": "[--scope ] [--dimension ] [--category ]", "category": "workflow", @@ -311,7 +311,7 @@ }, { "name": "init", - "command": "/workflow:init", + "command": "/workflow:spec:setup ", "description": "Initialize project-level state with intelligent project analysis using cli-explore-agent", "arguments": "[--regenerate] [--skip-specs]", "category": "workflow", diff --git a/.claude/skills/ccw-help/index/all-commands.json b/.claude/skills/ccw-help/index/all-commands.json index 21d3e15b..d6395972 100644 --- a/.claude/skills/ccw-help/index/all-commands.json +++ b/.claude/skills/ccw-help/index/all-commands.json @@ -276,7 +276,7 @@ }, { "name": "init-guidelines", - "command": "/workflow:init-guidelines", + "command": "/workflow:spec:setup -guidelines", "description": "Interactive wizard to fill specs/*.md based on project analysis", "arguments": "[--reset]", "category": "workflow", @@ -287,7 +287,7 @@ }, { "name": "init-specs", - "command": "/workflow:init-specs", + "command": "/workflow:spec:setup -specs", "description": "Interactive wizard to create individual specs or personal constraints with scope selection", "arguments": "[--scope ] [--dimension ] [--category ]", "category": "workflow", @@ -298,7 +298,7 @@ }, { "name": "init", - "command": "/workflow:init", + "command": "/workflow:spec:setup ", "description": "Initialize project-level state with intelligent project analysis using cli-explore-agent", "arguments": "[--regenerate] [--skip-specs]", "category": "workflow", diff --git a/.claude/skills/ccw-help/index/by-category.json b/.claude/skills/ccw-help/index/by-category.json index 023b8fa9..97c647c0 100644 --- a/.claude/skills/ccw-help/index/by-category.json +++ b/.claude/skills/ccw-help/index/by-category.json @@ -298,7 +298,7 @@ }, { "name": "init-guidelines", - "command": "/workflow:init-guidelines", + "command": "/workflow:spec:setup -guidelines", "description": "Interactive wizard to fill specs/*.md based on project analysis", "arguments": "[--reset]", "category": "workflow", @@ -309,7 +309,7 @@ }, { "name": "init-specs", - "command": "/workflow:init-specs", + "command": "/workflow:spec:setup -specs", "description": "Interactive wizard to create individual specs or personal constraints with scope selection", "arguments": "[--scope ] [--dimension ] [--category ]", "category": "workflow", @@ -320,7 +320,7 @@ }, { "name": "init", - "command": "/workflow:init", + "command": "/workflow:spec:setup ", "description": "Initialize project-level state with intelligent project analysis using cli-explore-agent", "arguments": "[--regenerate] [--skip-specs]", "category": "workflow", diff --git a/.claude/skills/ccw-help/index/by-use-case.json b/.claude/skills/ccw-help/index/by-use-case.json index d74a9413..5cf0a24e 100644 --- a/.claude/skills/ccw-help/index/by-use-case.json +++ b/.claude/skills/ccw-help/index/by-use-case.json @@ -145,7 +145,7 @@ }, { "name": "init-guidelines", - "command": "/workflow:init-guidelines", + "command": "/workflow:spec:setup -guidelines", "description": "Interactive wizard to fill specs/*.md based on project analysis", "arguments": "[--reset]", "category": "workflow", @@ -156,7 +156,7 @@ }, { "name": "init-specs", - "command": "/workflow:init-specs", + "command": "/workflow:spec:setup -specs", "description": "Interactive wizard to create individual specs or personal constraints with scope selection", "arguments": "[--scope ] [--dimension ] [--category ]", "category": "workflow", @@ -167,7 +167,7 @@ }, { "name": "init", - "command": "/workflow:init", + "command": "/workflow:spec:setup ", "description": "Initialize project-level state with intelligent project analysis using cli-explore-agent", "arguments": "[--regenerate] [--skip-specs]", "category": "workflow", diff --git a/.claude/skills/team-roadmap-dev/SKILL.md b/.claude/skills/team-roadmap-dev/SKILL.md index 807f0b37..6d192e20 100644 --- a/.claude/skills/team-roadmap-dev/SKILL.md +++ b/.claude/skills/team-roadmap-dev/SKILL.md @@ -148,7 +148,7 @@ AskUserQuestion({ |----------|------------| | Unknown --role value | Error with role registry list | | Role file not found | Error with expected path (roles/{name}/role.md) | -| project-tech.json missing | Coordinator invokes /workflow:init | +| project-tech.json missing | Coordinator invokes /workflow:spec:setup | | Phase verification fails with gaps | Coordinator triggers gap closure loop (max 3 iterations) | | Max gap closure iterations (3) | Report to user, ask for guidance | | Worker crash | Respawn worker, reassign task | diff --git a/.claude/skills/team-roadmap-dev/roles/coordinator/role.md b/.claude/skills/team-roadmap-dev/roles/coordinator/role.md index 582e4a43..e91e3758 100644 --- a/.claude/skills/team-roadmap-dev/roles/coordinator/role.md +++ b/.claude/skills/team-roadmap-dev/roles/coordinator/role.md @@ -284,7 +284,7 @@ Delegate to `commands/monitor.md`: | Scenario | Resolution | |----------|------------| -| project-tech.json missing | Invoke /workflow:init automatically | +| project-tech.json missing | Invoke /workflow:spec:setup automatically | | User cancels roadmap discussion | Save session state, exit gracefully | | Planner fails | Retry once, then ask user for guidance | | Executor fails on plan | Mark plan as failed, continue with next | diff --git a/.claude/skills/team-roadmap-dev/specs/team-config.json b/.claude/skills/team-roadmap-dev/specs/team-config.json index c29f5099..8b41309b 100644 --- a/.claude/skills/team-roadmap-dev/specs/team-config.json +++ b/.claude/skills/team-roadmap-dev/specs/team-config.json @@ -85,7 +85,7 @@ "init_prerequisite": { "required_files": [".workflow/project-tech.json"], "optional_files": [".workflow/specs/*.md"], - "init_command": "/workflow:init" + "init_command": "/workflow:spec:setup " }, "_metadata": { "created_at": "2026-02-24", diff --git a/ccw/frontend/src/locales/en/project-overview.json b/ccw/frontend/src/locales/en/project-overview.json index 0694e8fd..9af1617f 100644 --- a/ccw/frontend/src/locales/en/project-overview.json +++ b/ccw/frontend/src/locales/en/project-overview.json @@ -102,6 +102,6 @@ }, "empty": { "title": "No Project Overview", - "message": "Run /workflow:init to initialize project analysis" + "message": "Run /workflow:spec:setup to initialize project analysis" } } diff --git a/ccw/frontend/src/locales/zh/project-overview.json b/ccw/frontend/src/locales/zh/project-overview.json index d40b6555..d419978c 100644 --- a/ccw/frontend/src/locales/zh/project-overview.json +++ b/ccw/frontend/src/locales/zh/project-overview.json @@ -102,6 +102,6 @@ }, "empty": { "title": "暂无项目概览", - "message": "运行 /workflow:init 初始化项目分析" + "message": "运行 /workflow:spec:setup 初始化项目分析" } } diff --git a/docs-site/commands/claude/index.md b/docs-site/commands/claude/index.md index 1f57d1eb..ea220117 100644 --- a/docs-site/commands/claude/index.md +++ b/docs-site/commands/claude/index.md @@ -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 | diff --git a/docs/commands/claude/index.md b/docs/commands/claude/index.md index 29c00903..aa154c80 100644 --- a/docs/commands/claude/index.md +++ b/docs/commands/claude/index.md @@ -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 | diff --git a/docs/commands/claude/workflow.md b/docs/commands/claude/workflow.md index ae1fd8a5..4ef75721 100644 --- a/docs/commands/claude/workflow.md +++ b/docs/commands/claude/workflow.md @@ -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 diff --git a/docs/guide/ch02-getting-started.md b/docs/guide/ch02-getting-started.md index 0ec14b4b..552fe40e 100644 --- a/docs/guide/ch02-getting-started.md +++ b/docs/guide/ch02-getting-started.md @@ -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 diff --git a/docs/guide/getting-started.md b/docs/guide/getting-started.md index 3ecaa6ab..c79a4efe 100644 --- a/docs/guide/getting-started.md +++ b/docs/guide/getting-started.md @@ -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 diff --git a/docs/guide/installation.md b/docs/guide/installation.md index 40bf1569..90705779 100644 --- a/docs/guide/installation.md +++ b/docs/guide/installation.md @@ -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 ``` diff --git a/docs/zh/commands/claude/index.md b/docs/zh/commands/claude/index.md index 3b52df22..71cea954 100644 --- a/docs/zh/commands/claude/index.md +++ b/docs/zh/commands/claude/index.md @@ -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 | diff --git a/docs/zh/commands/claude/workflow.md b/docs/zh/commands/claude/workflow.md index 128534f5..44de7d44 100644 --- a/docs/zh/commands/claude/workflow.md +++ b/docs/zh/commands/claude/workflow.md @@ -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]` | ## 命令详解 diff --git a/docs/zh/guide/ch02-getting-started.md b/docs/zh/guide/ch02-getting-started.md index 6d1c0795..0953b944 100644 --- a/docs/zh/guide/ch02-getting-started.md +++ b/docs/zh/guide/ch02-getting-started.md @@ -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 ``` ### 常用命令