refactor: remove subagent references and update CLI tool usage across documentation

This commit is contained in:
catlog22
2026-03-05 11:15:13 +08:00
parent 99a45e3136
commit 1fb49c0e39
21 changed files with 199 additions and 118 deletions

View File

@@ -37,13 +37,13 @@
| Concept | Description | Location/Command |
|---------|-------------|------------------|
| **CodexLens** | Semantic code indexing and search engine | `ccw search` |
| **CodexLens** | Semantic code indexing and search engine | `mcp__ace-tool__search_context(project_root_path="...", query="...")` |
| **CCW** | Unified CLI tool invocation framework | `ccw cli` |
| **Memory** | Cross-session knowledge persistence | `ccw memory` |
| **Memory** | Cross-session knowledge persistence | `mcp__ccw-tools__core_memory(operation="list")` |
| **Spec** | Project specification and constraint system | `.workflow/specs/` |
| **Hook** | Auto-triggered context injection scripts | `.claude/hooks/` |
| **Agent** | Specialized AI subprocess for specific roles | `.claude/agents/` |
| **Skill** | Reusable AI capability modules | `.claude/skills/` |
| **Skill** | Reusable AI capability modules | `Skill(skill="<name>")` |
| **Workflow** | Multi-phase development orchestration | `/workflow:*` |
---

View File

@@ -164,16 +164,16 @@ Multi-perspective brainstorming for diverse viewpoints:
### 2.5.1 View Project Memory
```bash
ccw memory list
```typescript
mcp__ccw-tools__core_memory(operation="list")
```
Display all project memories, including learnings, decisions, conventions, and issues.
### 2.5.2 Search Related Memory
```bash
ccw memory search "authentication"
```typescript
mcp__ccw-tools__core_memory(operation="search", query="authentication")
```
Semantic search for memories related to "authentication".
@@ -192,20 +192,16 @@ Interactively capture important knowledge points from the current session.
### 2.6.1 Semantic Search
Use CodexLens search in VS Code:
Use ACE semantic search via MCP tool:
```bash
# Search via CodexLens MCP endpoint
ccw search "user login logic"
```typescript
mcp__ace-tool__search_context(
project_root_path="/path/to/project",
query="user login logic"
)
```
### 2.6.2 Call Chain Tracing
Search function definitions and all call locations:
```bash
ccw search --trace "authenticateUser"
```
> **Note**: The CLI commands `ccw search` and `ccw memory` are deprecated. Use MCP tools directly.
---
@@ -297,7 +293,7 @@ npm install
| `/workflow-plan` | Planning workflow |
| `/brainstorm` | Brainstorming |
| `/review-code` | Code review |
| `ccw memory list` | View Memory |
| `mcp__ccw-tools__core_memory(operation="list")` | View Memory |
| `ccw cli -p "..."` | CLI invocation |
---

View File

@@ -185,7 +185,7 @@ graph LR
| **Prompt** | Codex prompt templates | `.codex/prompts/` |
| **Workflow** | Team collaboration process | `/workflow:*` |
| **Session** | Session context management | `/workflow:session:*` |
| **Memory** | Cross-session knowledge persistence | `ccw memory` |
| **Memory** | Cross-session knowledge persistence | `mcp__ccw-tools__core_memory(operation="list")` |
| **Spec** | Project specification constraints | `.workflow/specs/` |
| **CodexLens** | Semantic code indexing | `.codex-lens/` |
| **CCW** | CLI invocation framework | `ccw` directory |

View File

@@ -192,7 +192,7 @@ Configure in `.claude/hooks.json`:
{
"name": "save-decisions",
"description": "Save important decisions",
"command": "ccw memory import \"{content}\""
"command": "mcp__ccw-tools__core_memory(operation=\"import\", text=\"{content}\")"
}
]
}

View File

@@ -301,12 +301,14 @@ graph LR
### Memory Maintenance
| Operation | Command |
| Operation | MCP Tool |
| --- | --- |
| List memories | `ccw memory list` |
| Search memories | `ccw memory search "..."` |
| Import memory | `ccw memory import "..."` |
| Export memory | `ccw memory export <id>` |
| List memories | `mcp__ccw-tools__core_memory(operation="list")` |
| Search memories | `mcp__ccw-tools__core_memory(operation="search", query="...")` |
| Import memory | `mcp__ccw-tools__core_memory(operation="import", text="...")` |
| Export memory | `mcp__ccw-tools__core_memory(operation="export", id="...")` |
> **Note**: The CLI commands `ccw memory *` are deprecated. Use MCP tools directly.
---

View File

@@ -50,8 +50,8 @@ The workflow executes automatically:
After a checkpoint, resume the workflow:
```bash
ccw workflow resume
```javascript
Skill(skill="workflow-execute", args="--resume")
```
## Workflow Tasks
@@ -163,21 +163,21 @@ Always review checkpoints:
Provide feedback during workflow:
```bash
# Add feedback during review
ccw workflow feedback --task REVIEW-001 --message "Tests need more edge cases"
```javascript
// Add feedback during review
Skill(skill="workflow-execute", args="--feedback --task REVIEW-001")
```
### 4. Monitor Progress
Track workflow status:
```bash
# Check workflow status
ccw workflow status
```javascript
// Check workflow status
Skill(skill="workflow-execute", args="--status")
# View task details
ccw workflow task IMPL-001
// View task details
Skill(skill="workflow-execute", args="--task IMPL-001")
```
## Troubleshooting
@@ -186,21 +186,21 @@ ccw workflow task IMPL-001
If a workflow stalls:
```bash
# Check for blocked tasks
ccw workflow status --blocked
```javascript
// Check for blocked tasks
Skill(skill="workflow-execute", args="--status --blocked")
# Reset stuck tasks
ccw workflow reset --task IMPL-001
// Reset stuck tasks
Skill(skill="workflow-execute", args="--reset --task IMPL-001")
```
### Failed Tasks
Retry failed tasks:
```bash
# Retry with new prompt
ccw workflow retry --task IMPL-001 --prompt "Fix the TypeScript errors"
```javascript
// Retry with new prompt
Skill(skill="workflow-execute", args="--retry --task IMPL-001")
```
::: info See Also