Enhance CLAUDE.md with Gemini triggering mechanism guidelines

- Add semantic intent recognition for proactive Gemini invocation
- Define clear triggering conditions for complex problem analysis
- Include context requirements for cross-file analysis scenarios
- Emphasize when to utilize Gemini for intelligent problem decomposition

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
catlog22
2025-09-07 19:11:35 +08:00
parent 5d52c0ccdc
commit 2c5dbe15ba

View File

@@ -57,9 +57,6 @@ This document defines project-specific coding standards and development principl
## Important Reminders
**NEVER**:
- Use `--no-verify` to bypass commit hooks
- Disable tests instead of fixing them
- Commit code that doesn't compile
- Make assumptions - verify with existing code
**ALWAYS**:
@@ -74,6 +71,20 @@ This document defines project-specific coding standards and development principl
## Gemini CLI Guidelines
### Triggering Mechanism
**IMPORTANT**: Actively recognize and respond to Gemini invocation needs:
- **Semantic Intent Recognition**: When user input contains semantic meaning indicating the need to call Gemini (e.g., "analyze this with Gemini", "get context for this", "understand the codebase"), immediately follow the guidelines to invoke Gemini
- **Context Requirements**: When dealing with tasks that require broader context understanding or cross-file analysis, proactively call Gemini to obtain comprehensive context
- **Complex Problem Analysis**: When encountering complex problems that require deep analysis or multi-faceted understanding, utilize Gemini for intelligent problem decomposition and analysis
### When to Trigger Gemini
1. User explicitly or implicitly requests Gemini assistance
2. Task requires understanding of multiple interconnected files
3. Problem complexity exceeds single-file scope
4. Need for intelligent context inference
5. Require comprehensive codebase analysis
For all Gemini CLI usage, command syntax, and integration guidelines:
@~/.claude/workflows/gemini-cli-guidelines.md
@~/.claude/workflows/gemini-intelligent-context.md