# AGENTS.md - AI Development Guidelines for SqlPlanForDummies ## Project Overview SqlPlanForDummies is an interactive SQL Server Execution Plan Viewer built with Tauri + Vue 3 + D3.js. It provides visual analysis and performance insights for query execution plans stored in `.sqlplan` XML format. ## Tech Stack | Component | Technology | Purpose | |-----------|------------|---------| | Desktop Framework | Tauri 2.x | Native desktop app shell | | Frontend | Vue 3 (Composition API) | UI framework | | Visualization | D3.js v7 | Graph rendering and node layout | | Build Tool | Vite 6.x | Development and bundling | | Language | TypeScript | Type safety | | CSS Framework | Tailwind CSS | Utility-first CSS framework | | Icons | FontAwesome 6 | Icon library (no emojis) | | Styling | SCSS | CSS preprocessing | ## File Structure ``` src/ App.vue # Main application shell main.ts # Entry point styles/ main.css # Tailwind CSS imports and custom styles components/ ExecutionPlanGraph.vue # D3.js tree layout visualization NodeDetails.vue # Selected node details panel PlanLoader.vue # File loading interface AnalysisPanel.vue # Performance analysis and issues composables/ planState.ts # Global state management sqlPlanParser.ts # XML parsing for .sqlplan files types/ sqlplan.ts # TypeScript types for SQL Plan structure examples/ company.sqlplan # Example execution plan public/ examples/ company.sqlplan # Served example plan ``` ## Coding Standards ### Vue Components - Use `