Commit 9b8f38b
committed
feat: aggressive enforcement prompt for CodeGraph MCP tools
Rewrite initial_instructions.md with mandatory compliance language:
- MANDATORY RULE #1-3 at the top enforcing CodeGraph-first approach
- ALWAYS/NEVER lists with explicit violation warnings
- Quick decision tree for tool selection
- Anti-pattern examples labeled as VIOLATIONS
- Context efficiency mathematics (7.8x more efficient)
- Compliance checklist before using built-in tools
- REQUIRED workflows for features, debugging, learning, refactoring
Update prompt metadata with MANDATORY/REQUIRED language in title
and description to emphasize non-negotiable nature.
Agents reading this prompt will be strongly guided to use
agentic_* tools before grep/read/find operations.1 parent ab34c75 commit 9b8f38b
File tree
2 files changed
+327
-432
lines changed- crates/codegraph-mcp/src
- prompts
2 files changed
+327
-432
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
803 | 803 | | |
804 | 804 | | |
805 | 805 | | |
806 | | - | |
| 806 | + | |
807 | 807 | | |
808 | | - | |
| 808 | + | |
809 | 809 | | |
810 | 810 | | |
811 | 811 | | |
| |||
825 | 825 | | |
826 | 826 | | |
827 | 827 | | |
828 | | - | |
| 828 | + | |
829 | 829 | | |
830 | 830 | | |
831 | 831 | | |
| |||
0 commit comments