mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-11 02:33:51 +08:00
docs: Replace project-specific examples with generic examples in load-skill-memory
This commit is contained in:
@@ -29,7 +29,7 @@ The `memory:load-skill-memory` command **activates SKILL package** (auto-detect
|
|||||||
- `[skill_name]` (Optional): Name of SKILL package to activate
|
- `[skill_name]` (Optional): Name of SKILL package to activate
|
||||||
- If omitted: System auto-detects from task description or file paths
|
- If omitted: System auto-detects from task description or file paths
|
||||||
- If specified: Direct activation of named SKILL package
|
- If specified: Direct activation of named SKILL package
|
||||||
- Example: `hydro_generator_module`, `Claude_dms3`
|
- Example: `my_project`, `api_service`
|
||||||
- Must match directory name under `.claude/skills/`
|
- Must match directory name under `.claude/skills/`
|
||||||
|
|
||||||
- `"task intent description"` (Required): Description of what you want to do
|
- `"task intent description"` (Required): Description of what you want to do
|
||||||
@@ -134,29 +134,29 @@ Read(.workflow/docs/my_project/EXAMPLES.md)
|
|||||||
|
|
||||||
**User Command**:
|
**User Command**:
|
||||||
```bash
|
```bash
|
||||||
/memory:load-skill-memory "修改D:\projects\hydro_generator_module\src\builders\base.py的构建逻辑"
|
/memory:load-skill-memory "修改D:\projects\my_project\src\services\api.py的接口逻辑"
|
||||||
```
|
```
|
||||||
|
|
||||||
**Execution**:
|
**Execution**:
|
||||||
```javascript
|
```javascript
|
||||||
// Step 1: Auto-detect skill_name from path
|
// Step 1: Auto-detect skill_name from path
|
||||||
Path detected: "D:\projects\hydro_generator_module\src\builders\base.py"
|
Path detected: "D:\projects\my_project\src\services\api.py"
|
||||||
Extracted: "hydro_generator_module"
|
Extracted: "my_project"
|
||||||
Validated: .claude/skills/hydro_generator_module/ exists ✓
|
Validated: .claude/skills/my_project/ exists ✓
|
||||||
skill_name = "hydro_generator_module"
|
skill_name = "my_project"
|
||||||
|
|
||||||
// Step 2: Activate SKILL
|
// Step 2: Activate SKILL
|
||||||
Skill(command: "hydro_generator_module")
|
Skill(command: "my_project")
|
||||||
|
|
||||||
// Step 3: Intent Analysis
|
// Step 3: Intent Analysis
|
||||||
Keywords: ["修改", "builders", "构建逻辑"]
|
Keywords: ["修改", "services", "接口逻辑"]
|
||||||
Action: modifying (implementation)
|
Action: modifying (implementation)
|
||||||
Scope: builders module + examples
|
Scope: services module + examples
|
||||||
|
|
||||||
// Load documentation based on intent
|
// Load documentation based on intent
|
||||||
Read(.workflow/docs/hydro_generator_module/builders/README.md)
|
Read(.workflow/docs/my_project/services/README.md)
|
||||||
Read(.workflow/docs/hydro_generator_module/builders/API.md)
|
Read(.workflow/docs/my_project/services/API.md)
|
||||||
Read(.workflow/docs/hydro_generator_module/EXAMPLES.md)
|
Read(.workflow/docs/my_project/EXAMPLES.md)
|
||||||
```
|
```
|
||||||
|
|
||||||
## 5. Intent Keyword Mapping
|
## 5. Intent Keyword Mapping
|
||||||
|
|||||||
Reference in New Issue
Block a user