Semantic code search using natural language queries. Use when users ask "where is X implemented", "how does Y work", "find the logic for Z", or need to locate code by concept rather than exact text. Returns file paths with line numbers and code snippets.
Semantic code search using natural language queries. Use when users ask "where is X implemented", "how does Y work", "find the logic for Z", or need to locate code by concept rather than exact text. Returns file paths with line numbers and code snippets.
/plugin marketplace add can1357/smgrep/plugin install smgrep@smgrepThis skill is limited to using the following tools:
Use this to find code by concept or behavior (e.g., "where is auth validated", "how are plugins loaded"). Note: This tool prioritizes finding the right files and locations in the code. Snippets are truncated (max 16 lines) and are often just previews.
Example:
smgrep "how are plugins loaded"
smgrep "how are plugins loaded" packages/transformers.js/src
smgrep "authentication authorization checks"smgrep "session validation logic"smgrep "API authentication middleware"smgrep "logic for merging user and default configuration"... or cuts off mid-logic, read the file.Returns: path/to/file:line [Tags] Code Snippet
[Definition]: Semantic search detected a class/function here. High relevance....: Truncation Marker. Snippet is incomplete—use read_file for full context.smgrep "how does the server start" works better than guessing smgrep "server.init".smgrep "auth" src/server/