Snapshots for AI
Create perfect code context for AI interactions! This powerful extension helps you generate well-formatted markdown snapshots of your code, making it easier to share context with AI assistants like ChatGPT, Claude, and others.
✨ Key Features
📸 One-Click Snapshots
- Create snapshots instantly using the camera icon in your editor
- Automatically formats code with proper syntax highlighting
- Includes file structure and relevant context
🎯 Smart Selection
- Choose specific files or include entire project structure
- Real-time file list updates as you work
- Intelligent filtering of binary and irrelevant files
- Quick select/deselect all functionality
- Generates clean, well-structured markdown
- Proper syntax highlighting for all languages
- Hierarchical project structure visualization
- Optimized for AI consumption
⚡ AI-Ready Output
- Creates context-rich snapshots
- Perfect for RAG (Retrieval Augmented Generation)
- Works with all major AI assistants
- Maintains code structure and relationships
🚀 Getting Started
- Install the extension
- Open any file in your project
- Click the camera icon in the editor title bar
- Select files to include in your snapshot
- Add an optional prompt or description
- Your snapshot is ready to share with AI!
📋 Usage Examples
Creating a Basic Snapshot
- Open your main code file
- Click the camera icon
- Select related files
- Your snapshot includes:
- Selected file contents
- Project structure
- Proper markdown formatting
Project Overview Snapshot
- Open your project
- Click the camera icon
- Enable "Include Project Structure"
- Get a complete overview of your codebase
Focused Code Context
- Open specific files
- Select only relevant code
- Perfect for targeted AI assistance
⚙️ Configuration
Customize your snapshots through .snapshots/config.json
:
{
"default": {
"default_prompt": "",
"default_include_entire_project_structure": false,
"default_include_all_files": false
},
"excluded_patterns": [
"node_modules",
".git"
],
"included_patterns": []
}
💡 Pro Tips
- Use selective file inclusion for focused context
- Include project structure for broader understanding
- Add descriptive prompts for better AI context
- Configure exclusion patterns for cleaner snapshots
🤝 Support
Join to GBTI Network!!! 🙏🙏🙏
The GBTI Network is a community of developers who are passionate about open source and community-driven development. Members enjoy access to exclussive tools, resources, a private MineCraft server, a listing in our members directory, co-op opportunities and more.
Other ways to Support:
📄 License
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.
Note: For development and contribution guidelines, please see CONTRIBUTING.md