Skip to content
Security
Command

/find-feature

Find where a specific feature or concept is implemented in the codebase

BOOST
From plugin
narsil-mcp
1855 skills3 agents5 commands
Install
> /plugin marketplace add postrv/narsil-mcp
> /plugin install narsil@narsil-mcp

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/find-feature

Context preview

What this command does when you run it.

Find where a specific feature or concept is implemented in the codebase

Command definition

find-feature.md
description: Find where a specific feature or concept is implemented in the codebase

Find Feature Implementation

Help locate where a specific feature or concept is implemented in the codebase.

Workflow

1. **Parse input**: Extract feature description from $ARGUMENTS

2. **Semantic search**: Use `hybrid_search` with the feature description to find semantically relevant code (combines BM25 + TF-IDF via Reciprocal Rank Fusion)

3. **Symbol search**: Use `workspace_symbol_search` with key terms from the feature to find related symbols

4. **For promising candidates**:

  • Use `find_symbol_usages` to see how widely each candidate is used
  • Use `get_symbol_definition` to read the actual implementation

5. **Trace connections** (if call-graph enabled):

  • Use `get_callers` and `get_callees` to understand how the feature integrates

6. **Present findings**:

  • Primary implementation location(s)
  • Key functions/classes involved
  • How the feature is invoked/used
  • Related files and modules

Arguments

Feature to find: $ARGUMENTS

Example usage:

  • `/narsil:find-feature user authentication`
  • `/narsil:find-feature payment processing`
  • `/narsil:find-feature error handling`
Ships withnarsil-mcp

The blazing-fast, privacy-first MCP server for deep code intelligence A Rust-powered MCP (Model Context Protocol) server providing AI assistants with deep code understanding through 90 specialized tools.

Get the whole plugin

Other commands on narsil-mcp.