Skip to content

Commit 50bd13c

Browse files
committed
Add context efficiency tips for using VS Code symbol tools in README
1 parent 28fa987 commit 50bd13c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,16 @@ IMPORTANT: Only run code modification tools after presenting a plan and receivin
6868
Do not add tests unless specifically requested. If you believe testing is important, explain why and let the user decide.
6969
```
7070

71+
For context efficiency when exploring codebases, consider adding this to your CLAUDE.md:
72+
```
73+
## VS Code Symbol Tools for Context Efficiency
74+
Use VS Code symbol tools to reduce context consumption:
75+
- `get_document_symbols_code` for file structure overview instead of reading entire files
76+
- `search_symbols_code` to find symbols by name across the project
77+
- `get_symbol_definition_code` for type info and docs without full file context
78+
- Workflow: get outline → search symbols → get definitions → read implementation only when needed
79+
```
80+
7181

7282

7383
This extension serves as a Model Context Protocol (MCP) server, exposing VS Code's filesystem and editing capabilities to MCP clients.

0 commit comments

Comments
 (0)