优化update-memory.md: 简化参数为related/full模式,强化层级规则,添加CLAUDE.md核心构建准则

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
catlog22
2025-09-08 22:02:29 +08:00
parent c6c2b85617
commit 412dd24235
3 changed files with 431 additions and 224 deletions

View File

@@ -50,7 +50,7 @@ FUNCTION decide_enhancement_path(user_prompt, options):
IF use_gemini is TRUE:
// This action corresponds to calling the Gemini CLI tool programmatically.
// e.g., `gemini --all-files -p "..."` based on the derived context.
gemini_insights = execute_tool("gemini", enhanced_prompt) // Calls the Gemini CLI
gemini_insights = execute_tool("gemini","-P" enhanced_prompt) // Calls the Gemini CLI
enhanced_prompt.append(gemini_insights)
RETURN enhanced_prompt