Find Feature
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
-
Parse input: Extract feature description from $ARGUMENTS
-
AI-assisted search: Use
find_implementationwith the feature description for AI-guided feature location -
Semantic search: Use
hybrid_searchwith the feature description to find semantically relevant code -
Symbol search: Use
workspace_symbol_searchwith key terms from the feature to find related symbols -
For promising candidates:
- Use
find_symbol_usagesto see how widely each candidate is used - Use
get_symbol_definitionto read the actual implementation
- Use
-
Trace connections (if call-graph enabled):
- Use
get_callersandget_calleesto understand how the feature integrates
- Use
-
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