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.
Installation
Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.
Voir la source ↗GuidesInstructions
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.
Exemples
Consultez les exemples du dépôt source.
Voir la source ↗Historique source
- Date d’indexation
- 2026-01-20
- Mise à jour de l’index
- 2026-01-26
- Branch
- main
Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!