|
| 1 | +# Ignite UI for Blazor - AI Agent Skills & Instructions |
| 2 | + |
| 3 | +This folder contains a set of **skill files** for AI coding agents and the [`AGENTS.md`](./AGENTS.md) instruction file. Together they give agents the coding standards, Ignite UI Blazor conventions, and structured MCP-backed guidance needed to produce correct code - without hallucinating stale APIs. |
| 4 | + |
| 5 | +--- |
| 6 | + |
| 7 | +## Available Skills |
| 8 | + |
| 9 | +Skills are structured `SKILL.md` documents paired with `references/` sub-files. When a request matches a skill's domain, the agent reads the routing hub, reads the relevant reference files in parallel, calls the Ignite UI MCP tools, and produces output based only on that - never from memory. |
| 10 | + |
| 11 | +### [`igniteui-blazor-components`](./igniteui-blazor-components/SKILL.md) |
| 12 | + |
| 13 | +All non-grid IgniteUI.Blazor.Lite components: form controls (Input, Combo, Select, Date Picker, Calendar, Checkbox, Radio, Slider, Rating), layout containers (Tabs, Stepper, Accordion, Navbar, Nav Drawer, Tree), data display (List, Card, Avatar, Badge, Chip, Button, Progress, Dropdown, Tooltip), feedback (Dialog, Snackbar, Toast, Banner), layout managers (Dock Manager, Tile Manager), and visualizations (charts, gauges, maps, sparklines). |
| 14 | + |
| 15 | +### [`igniteui-blazor-grids`](./igniteui-blazor-grids/SKILL.md) |
| 16 | + |
| 17 | +All Ignite UI Blazor data grid types: |
| 18 | + |
| 19 | +| Component | Package | Use case | |
| 20 | +|---|---|---| |
| 21 | +| `IgbGridLite` | `IgniteUI.Blazor.GridLite` (MIT) | Read-only display with sorting, filtering, virtualization | |
| 22 | +| `IgbGrid` | `IgniteUI.Blazor` | Flat tabular data - editing, grouping, paging, export | |
| 23 | +| `IgbTreeGrid` | `IgniteUI.Blazor` | Self-referencing tree data (org charts, BOM) | |
| 24 | +| `IgbHierarchicalGrid` | `IgniteUI.Blazor` | Multi-schema parent-child data | |
| 25 | +| `IgbPivotGrid` | `IgniteUI.Blazor` | Pivot table analytics | |
| 26 | + |
| 27 | +### [`igniteui-blazor-theming`](./igniteui-blazor-theming/SKILL.md) |
| 28 | + |
| 29 | +Theme switching (Bootstrap, Material, Fluent, Indigo - light/dark), color palettes, CSS design tokens, dark mode, CSS shadow parts, and global layout tokens (roundness, spacing, size). All CSS is generated by the `igniteui-theming` MCP server - no token names are written from memory. |
| 30 | + |
| 31 | +### [`igniteui-blazor-generate-from-image-design`](./igniteui-blazor-generate-from-image-design/SKILL.md) |
| 32 | + |
| 33 | +End-to-end workflow for implementing a Blazor view from a design image or mockup. Combines all three skills above: analyzes the image, discovers components via MCP, generates a theme, implements the full view with mock data, and refines visual fidelity. |
| 34 | + |
| 35 | +--- |
| 36 | + |
| 37 | +## MCP Servers |
| 38 | + |
| 39 | +Both servers must be configured in your AI tool. Setup instructions are in each skill's `references/mcp-setup.md`. |
| 40 | + |
| 41 | +| Server | Purpose | Key tools | |
| 42 | +|---|---|---| |
| 43 | +| **`igniteui-cli`** | Component docs, API reference, scaffolding | `list_components`, `get_doc`, `search_docs`, `get_api_reference`, `search_api` | |
| 44 | +| **`igniteui-theming`** | CSS palette and token generation | `create_palette`, `get_component_design_tokens`, `create_component_theme`, `set_roundness`, `set_spacing`, `set_size` | |
| 45 | + |
| 46 | +--- |
| 47 | + |
| 48 | +## AGENTS.md - What It Is and Where to Put It |
| 49 | + |
| 50 | +[`AGENTS.md`](./AGENTS.md) is a **general-purpose AI agent instruction file** for developers building Blazor applications *with* Ignite UI for Blazor. It is **not** the AGENTS.md for this library's own repository. |
| 51 | + |
| 52 | +Copy it (and optionally the `skills/` folder) into your Blazor application project, then place it in the location your AI tool reads for project-level instructions: |
| 53 | + |
| 54 | +| AI Tool | File to create | Notes | |
| 55 | +|---|---|---| |
| 56 | +| **GitHub Copilot** (VS Code) | `.github/copilot-instructions.md` | Must be named exactly `copilot-instructions.md` inside `.github/` | |
| 57 | +| **Claude Code** | `CLAUDE.md` (project root) | Read automatically on session start; `.claude/` subfolder for extra settings | |
| 58 | +| **Cursor** | `.cursor/rules/igniteui-blazor.mdc` or `.cursorrules` | `.mdc` supports YAML front matter (see below); `.cursorrules` is the legacy path | |
| 59 | +| **Windsurf** | `.windsurfrules` (project root) | Read automatically | |
| 60 | +| **Codex CLI** | `AGENTS.md` (project root) | Read from cwd and parent directories | |
| 61 | +| **Aider** | `CONVENTIONS.md` or `--read AGENTS.md` flag | Pass at startup | |
0 commit comments