enhance: improve tool prompts with technology-aware guidance and grounding

- Add technology-specific considerations to all tool prompts (THINKDEEP, CODEREVIEW, DEBUG, ANALYZE, PRECOMMIT)
- Replace specific technology lists with generic key areas to prevent misdirection
- Add comprehensive grounding statements to prevent overstepping scope
- Enhance DEBUG_ISSUE_PROMPT with regression prevention guidance
- Add scope discipline and focus requirements to all prompts
- Fix trailing whitespace issues

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Fahad
2025-06-10 14:25:26 +04:00
parent 3f93444f45
commit 40a5dfccde

View File

@@ -148,7 +148,7 @@ SCOPE DISCIPLINE: Address ONLY the reported issue. Do not propose additional opt
or improvements beyond what's needed to fix the specific problem. Resist the urge to suggest broader changes
even if you notice other potential issues.
DEBUGGING STRATEGY:
DEBUGGING STRATEGY:
1. Read and analyze ALL provided files, error messages, logs, and diagnostic information thoroughly
2. Understand any requirements, constraints, or context given in the problem description
3. Correlate diagnostics with code to identify the precise failure point