mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-13 02:41:50 +08:00
docs: Enhance target_files documentation and fix cross-platform command compatibility
## Target Files Enhancement - Add support for new file creation in target_files format - Update task-generate.md with comprehensive target_files generation guide - Update concept-enhanced.md to output code modification targets - Add examples showing both modification (file:function:lines) and creation (file) formats ## Cross-Platform Command Fixes - Replace ls with find commands for better Windows Git Bash compatibility - Update workflow commands: execute.md, status.md, review.md - Update session commands: list.md, complete.md - Add Bash environment guidelines to context-search-strategy.md - Document forbidden Windows commands (findstr, dir, where, etc.) ## Files Updated - Core workflows: workflow-architecture.md, task-core.md - Command docs: 9 workflow command files - Agent docs: action-planning-agent.md, task-generate-agent.md - Strategy docs: context-search-strategy.md 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -6,6 +6,12 @@ type: search-guideline
|
||||
|
||||
# Context Search Strategy
|
||||
|
||||
## ⚡ Execution Environment
|
||||
|
||||
**CRITICAL**: All commands execute in **Bash environment** (Git Bash on Windows, Bash on Linux/macOS)
|
||||
|
||||
**❌ Forbidden**: Windows-specific commands (`findstr`, `dir`, `where`, `type`, `copy`, `del`) - Use Bash equivalents (`grep`, `find`, `which`, `cat`, `cp`, `rm`)
|
||||
|
||||
## ⚡ Core Search Tools
|
||||
|
||||
**rg (ripgrep)**: Fast content search with regex support
|
||||
@@ -18,6 +24,7 @@ type: search-guideline
|
||||
- **Use find for files** - Locate files/directories by name
|
||||
- **Use grep sparingly** - Only when rg unavailable
|
||||
- **Use get_modules_by_depth.sh first** - MANDATORY for program architecture analysis before planning
|
||||
- **Always use Bash commands** - NEVER use Windows cmd/PowerShell commands
|
||||
|
||||
### Quick Command Reference
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user