ctags
Use ctags for code navigation
When & Why to Use This Skill
This Claude skill integrates ctags to provide high-performance code navigation and symbol indexing. It enables the agent to instantly locate function, class, and type definitions across large codebases, significantly accelerating code exploration, debugging, and architectural analysis by providing precise file and line references.
Use Cases
- Rapid Symbol Lookup: Instantly jump to the exact source code location of function or variable definitions, eliminating the need for manual file searching.
- Codebase Exploration: Efficiently navigate and understand the structure of complex or unfamiliar projects by tracing symbol definitions and dependencies.
- Streamlined Debugging: Enhance the debugging workflow by quickly accessing the implementation details of specific components or modules.
- Automated Indexing: Maintain a reliable and up-to-date map of the codebase that integrates with build systems like 'make' for consistent navigation accuracy.
| name | ctags |
|---|---|
| description | Use ctags for code navigation |
ctags
Use ctags to locate function/type definitions.
CLI Lookup
grep -P "^ik_repl_init\t" tags | cut -f1-3 | sed 's/;"$//'
Output: name<TAB>file<TAB>line
Rebuilding
Tags rebuild automatically on every make and make check
To manually rebuild: make tags