codebase-search
Advanced codebase search using Mantic for finding files, understanding context, and analyzing code impact. Use this skill when searching for code, files, or understanding code relationships.
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
Codebase Search with Mantic
You have access to Mantic via the terminal with enhanced search features.
Basic Search
mantic "your query here"
Advanced Features
Zero-Query Mode (Context Detection):
mantic "" # Shows modified files, suggestions, impact
Context Carryover (Session Mode):
mantic "query" --session "session-name"
Output Formats:
mantic "query" --json # Full metadata
mantic "query" --files # Paths only
mantic "query" --markdown # Pretty output
Impact Analysis:
mantic "query" --impact # Shows blast radius
File Type Filters:
mantic "query" --code # Code files only
mantic "query" --test # Test files only
mantic "query" --config # Config files only
Search Quality Features
- CamelCase detection: "ScriptController" finds script_controller.h
- Exact filename matching: "download_manager.cc" returns exact file first
- Path sequence: "blink renderer core dom" matches directory structure
- Word boundaries: "script" won't match "javascript"
- Directory boosting: "gpu" prioritizes files in gpu/ directories
Best Practices
Do NOT use grep/find blindly. Use Mantic first.
Mantic provides intelligent search with context awareness, making it superior to traditional grep/find commands for code exploration.
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-01-20
- 索引更新时间
- 2026-01-26
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!