AI Context Loader
AI Context Loader is a VS Code extension that automatically loads project context from a .ai folder and prepares it for AI tools.
Features
- Detects
.ai folder inside a project
- Reads all
.md and .txt context files
- Combines them into a single AI-readable context
- Generates
.ai-cache/context.json
- Automatically updates when context files change
This allows AI tools and assistants to understand the project structure without developers repeating the context manually.
Example Project Structure
project-root
│
├── .ai
│ ├── context.md
│ ├── architecture.md
│ ├── coding_rules.md
│ └── api_docs.md
│
└── .ai-cache
└── context.json
How It Works
- Open a project in VS Code
- The extension searches for a
.ai folder
- Context files are loaded and combined
- A machine-readable cache is generated
Commands
Ask AI with Project Context
This command loads project context and prepares it for AI queries.
Open Command Palette:
Ctrl + Shift + P
Then run:
Ask AI with Project Context
Requirements
No configuration required. Just create a .ai folder in your project.
Author
Manoj Kumar Devarakonda
| |