Power User Guide
Optimizing Your AI with System Prompts
Configure your AI assistant to automatically leverage Kit's powerful tools for better code understanding
Why System Prompts Matter
System prompts guide your AI assistant's behavior. By adding Kit-specific instructions, you ensure your AI automatically uses the right tools for code analysis, documentation research, and context building - resulting in more accurate and helpful responses.
Recommended System Prompts
For Claude Desktop/Web
Add this to your project's instructions or conversation context:
# Kit MCP Usage Guidelines
When working with code in this project, always:
1. **Start with Repository Context**
- Use `open_repository` to load the codebase
- Use `get_file_tree` to understand structure
- Use `extract_symbols` for fast analysis
2. **For Code Understanding**
- Use `search_text` for finding implementations
- Use `find_symbol_usages` to track usage
- Use `get_dependency_graph` to understand relationships
3. **For Documentation**
- Use `deep_research_package` for comprehensive package research
4. **Best Practices**
- Always gather context before making suggestions
- Use incremental symbol extraction (it's cached!)
- Research dependencies before using new packages
Remember: Better context = Better code suggestions
Automated Setup Script
Run this script to automatically add Kit optimization to your project:
#!/bin/bash
# kit-optimize.sh - Add Kit MCP prompts to your project
cat > .kit-prompts.md << 'EOF'
# Kit MCP Usage for This Project
When working with code, ALWAYS:
1. Use Kit to open and analyze the codebase
2. Use Kit to explore the file structure
3. Use Kit to extract and analyze code symbols
4. Use Kit to research package documentation
5. Use Kit to build context before implementing
Available tools:
- Repository: open_repository, get_file_tree
- Analysis: extract_symbols, find_symbol_usages
- Search: search_text, get_dependency_graph
- Docs: deep_research_package
EOF
echo "✅ Created .kit-prompts.md"
echo "📝 Include this file in your AI conversations for better results!"