AI Project Schema is a Visual Studio Code extension that generates a clean project schema for AI analysis.
It scans your project folder, creates a filtered tree of files and folders, and extracts file contents – ignoring unnecessary files such as binaries, logs, caches, and build artefacts.
✨ Features
📁 Generate filtered project structure (ignoring files defined in .ai-schema-ignore)
📝 Extract file contents for AI analysis (excluding ignored files)
⚡ Automatically creates .ai-schema-ignore if it doesn’t exist (no overwrite of existing file)
💻 Works across Windows, macOS, and Linux
📑 Output saved to .ai-schema/ folder in your project
📂 Output files
.ai-schema/schema-filtered.txt – filtered structure (ignores defined files)
.ai-schema/schema-contents.txt – contents of filtered files
🚀 Usage
Install the extension.
Open a project in VS Code.
Right-click inside the Explorer or use the Command Palette (Ctrl+Shift+P or Cmd+Shift+P on Mac):
AI Project Schema: Generate Project Schema – generates filtered schema and file contents
Find the generated files inside .ai-schema/ in your project root.
⚙️ Ignore rules
The extension uses .ai-schema-ignore (similar to .gitignore)
Default template is provided in templates/ignore-ai-schema.txt
Existing .ai-schema-ignore is used without overwriting; edit it to fine-tune ignored files.