storkit: done 350_story_mcp_tool_for_code_definitions_lookup

This commit is contained in:
Dave
2026-03-20 15:36:30 +00:00
parent 0cd7c15227
commit 6a03ca725e

View File

@@ -0,0 +1,21 @@
---
name: "MCP tool for code definitions lookup"
---
# Story 350: MCP tool for code definitions lookup
## User Story
As a non-Claude agent connected via MCP, I want a code intelligence tool so that I can find function, struct, and type definitions without grepping through all files.
## Acceptance Criteria
- [ ] get_definitions tool — finds function/struct/enum/type/class definitions by name or pattern
- [ ] Supports Rust (fn, struct, enum, impl, trait) and TypeScript (function, class, interface, type) at minimum
- [ ] Returns file path, line number, and the definition signature
- [ ] Scoped to the agent's worktree
- [ ] Faster than grepping — uses tree-sitter or regex-based parsing
## Out of Scope
- TBD