From dc9d63b349a8bd1b4dc0b5a8b690a342429375e2 Mon Sep 17 00:00:00 2001 From: catlog22 Date: Tue, 4 Nov 2025 22:31:57 +0800 Subject: [PATCH] docs: Update context search strategy to clarify SKILL usage and enhance project documentation --- .claude/workflows/context-search-strategy.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.claude/workflows/context-search-strategy.md b/.claude/workflows/context-search-strategy.md index 04030a4f..88c2eff6 100644 --- a/.claude/workflows/context-search-strategy.md +++ b/.claude/workflows/context-search-strategy.md @@ -14,7 +14,7 @@ type: search-guideline ## ⚡ Core Search Tools -**Skill()**: FASTEST way to get project context - use FIRST if SKILL package exists (higher priority than CLI analysis) +**Skill()**: FASTEST way to get context - use FIRST if SKILL exists. Three types: (1) `workflow-progress` for WFS sessions (2) tech SKILLs for stack docs (3) `{project-name}` for project docs **codebase-retrieval**: Semantic file discovery via Gemini CLI with all files analysis **rg (ripgrep)**: Fast content search with regex support **find**: File/directory location by name patterns @@ -25,7 +25,9 @@ type: search-guideline | Need | Tool | Use Case | |------|------|----------| -| **Project understanding** | Skill() | FASTEST context loading - use FIRST if SKILL exists | +| **Workflow history** | Skill(workflow-progress) | WFS sessions lessons/conflicts - `/memory:workflow-skill-memory` | +| **Tech stack docs** | Skill({tech-name}) | Stack APIs/guides - `/memory:tech-research` | +| **Project docs** | Skill({project-name}) | Project modules/architecture - `/memory:skill-memory` | | **Semantic discovery** | codebase-retrieval | Find files relevant to task/feature context | | **Pattern matching** | rg | Search code content with regex | | **File name lookup** | find | Locate files by name patterns | @@ -34,8 +36,10 @@ type: search-guideline ## 🔧 Quick Command Reference ```bash -# SKILL Package (FIRST PRIORITY - fastest way to get project context) -Skill(command: "skill_name") # Intelligent auto-trigger by task context - use FIRST if SKILL exists +# SKILL Packages (FIRST PRIORITY - fastest context loading) +Skill(command: "workflow-progress") # Workflow: WFS sessions history, lessons, conflicts +Skill(command: "react-dev") # Tech: React APIs, patterns, best practices +Skill(command: "claude_dms3") # Project: Project modules, architecture, examples # Semantic File Discovery (codebase-retrieval) cd [directory] && gemini -p "