This file defines how Claude Code should use the @software-engineering/mcp-server.
Never read more code than needed for the current decision.
Always use the MCP server's compact summaries before touching files directly.
Follow this order for every engineering task:
task_classify(task: "<your task description>")
→ Returns: task type, suggested mode, next tools.
repo_scope_find(task: "...", taskType: "...", repoPath: "/abs/path/to/repo")
→ Returns: top files, modules, symbols, related tests.
→ Only call with repoPath the first time per session (it indexes the repo).
Choose ONE based on your task:
- Analysis / Feature →
flow_summarize(scope: [<top files>]) - Bug Fix →
bug_trace_compact(symptom: "...", scope: [<top files>]) - Documentation →
doc_context_build(feature: "...", changedFiles: [...])
Choose ONE:
- Feature or Bug →
implementation_plan(task: "...", taskType: "...", scope: [...]) - POC →
poc_plan(goal: "...") - Docs →
doc_update_plan(changedFiles: [...])
impact_analyze(scope: [<files you plan to change>], changeType: "modify")
test_select(scope: [<files you changed>])
memory_checkpoint(taskId: "<unique-id>", taskType: "...", files: [...], decisions: [...])
Before reading any file directly, check the relevant resource:
| What you need | Resource to read |
|---|---|
| Module structure | repo://architecture-map |
| What modules exist | repo://module-index |
| Where a symbol is defined | repo://symbol-index |
| Which tests exist | repo://test-map |
| Which docs exist | repo://doc-map |
| Common patterns in codebase | repo://patterns |
| Key names and terms | repo://glossary |
- Always use
verbosity: "minimal"(the default) unless you need more detail. - Use
verbosity: "standard"when minimal is insufficient. - Only use
verbosity: "detailed"for debugging.
For tasks that span multiple steps or sessions:
# Start or resume a task
memory_restore(taskId: "<id>") → restores scope, decisions, pending items
# Save progress
memory_checkpoint(...) → saves scope, decisions, risks, pending work
| ❌ Bad | ✅ Good |
|---|---|
| Read all files in a directory | repo_scope_find first |
| Grep the entire repo | repo://symbol-index or repo_scope_find |
| Read the full codebase to understand architecture | repo://architecture-map |
| Run all tests | test_select to get minimum set |
| Write docs without context | doc_context_build first |
| Start implementing without a plan | implementation_plan or poc_plan first |
| Ignore change impact | impact_analyze before every edit |
task_classify → repo_scope_find → flow_summarize → memory_checkpoint
task_classify → repo_scope_find → flow_summarize → implementation_plan → impact_analyze → test_select → memory_checkpoint
task_classify → repo_scope_find → bug_trace_compact → implementation_plan → impact_analyze → test_select → memory_checkpoint
task_classify → poc_plan → memory_checkpoint
task_classify → repo_scope_find → doc_context_build → doc_update_plan → memory_checkpoint