docs: Add directory analysis navigation rules to CLI workflow guides

- Add explicit directory analysis rule to gemini-unified.md for cd navigation
- Add directory analysis rule to codex-unified.md with --cd flag option
- Improve clarity for users when analyzing specific directories

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
catlog22
2025-09-11 09:33:53 +08:00
parent 6754823670
commit b501506fd8
2 changed files with 2 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ type: technical-guideline
### 🚀 Command Overview: `gemini`
- **Purpose**: A CLI tool for comprehensive codebase analysis, context gathering, and pattern detection across multiple files.
- **Directory Analysis Rule**: When user intends to analyze specific directory (cd XXX), always navigate first: `cd XXX && gemini --all-files -p "prompt"`
- **Primary Triggers**:
- When user intent is to "analyze", "get context", or "understand the codebase".
- When a task requires understanding relationships between multiple files.