diff --git a/cspell.json b/cspell.json index 7fe3afead7..096a844be3 100644 --- a/cspell.json +++ b/cspell.json @@ -263,6 +263,7 @@ "subtag", "junie", "xplat", - "agentic" + "agentic", + "wireframes" ] } diff --git a/en/components/ai/ai-assisted-development-overview.md b/en/components/ai/ai-assisted-development-overview.md index e1a9a04754..a70c0d9415 100644 --- a/en/components/ai/ai-assisted-development-overview.md +++ b/en/components/ai/ai-assisted-development-overview.md @@ -1,11 +1,11 @@ --- title: AI-Assisted Development with Ignite UI - Ignite UI for Angular -_description: Ignite UI provides Agent Skills, the Ignite UI CLI MCP server, and the Theming MCP server to ground AI coding assistants in correct component APIs, import paths, and design tokens across Angular, React, and Web Components. -_keywords: Angular, Ignite UI for Angular, Infragistics, MCP, Model Context Protocol, Ignite UI CLI MCP, Ignite UI Theming MCP, Agent Skills, AI, agent, Copilot, Cursor +_description: Configure Agent Skills, the Ignite UI MCP server, and the Theming MCP server in your Angular, React, Blazor, or Web Components project with a single command — npx igniteui-cli ai-config. Grounds GitHub Copilot, Cursor, Claude Desktop, Claude Code, and JetBrains AI Assistant in correct Ignite UI APIs. +_keywords: Angular, Ignite UI for Angular, Infragistics, MCP, Model Context Protocol, Ignite UI MCP server, Ignite UI Theming MCP, Agent Skills, AI, agent, Copilot, Cursor, Claude Code, ai-config _language: en _license: MIT _canonicalLink: "{environment:dvUrl}/components/ai-assisted-development-overview" -last_updated: "2026-04-21" +last_updated: "2026-05-03" namespace: Infragistics.Controls mentionedTypes: [] --- @@ -14,9 +14,85 @@ mentionedTypes: [] # AI-Assisted Development with Ignite UI -Ignite UI for Angular, React, and Web Components provides a three-part AI toolchain - Agent Skills, the Ignite UI CLI MCP server, and the Ignite UI Theming MCP server - that grounds AI coding assistants in correct component APIs, import paths, and design tokens. Agent Skills are developer-owned instruction packages that define how AI agents use Ignite UI in a specific project. The CLI MCP server exposes Ignite UI CLI scaffolding, component management, and documentation tools to the active AI agent session via the Model Context Protocol. The Theming MCP server exposes the Ignite UI Theming Engine as queryable agent context. All three components work with GitHub Copilot, Cursor, Claude Desktop, Claude Code, and JetBrains AI Assistant. +Ignite UI for Angular provides a complete AI toolchain - Agent Skills, the Ignite UI CLI MCP server, the Ignite UI Theming MCP server and the MAKER MCP server - that grounds AI coding assistants in correct component APIs, import paths, and design tokens. Agent Skills are developer-owned instruction packages that define how AI agents use Ignite UI in a specific project. The CLI MCP server (`@igniteui/mcp-server`) exposes Ignite UI CLI scaffolding, component management, and documentation tools to the active AI agent session via the Model Context Protocol. The Theming MCP server (`igniteui-theming`) exposes the Ignite UI Theming Engine as queryable agent context. The MAKER MCP (`@igniteui/maker-mcp`) is a multi-agent AI orchestration MCP server from Infragistics that decomposes complex tasks into validated, executable step plans using a consensus-based voting algorithm across multiple AI agents. Skills, CLI MCP and Theming MCP - all three are configured by a single command: `npx igniteui-cli ai-config` -The AI toolchain does not currently support Blazor in the CLI MCP and Agent Skills layers - Blazor coverage is provided by the Theming MCP only. The CLI MCP server requires STDIO transport; HTTP-based MCP clients are not supported. Agent Skills and the CLI MCP server do not modify project files autonomously - they expose tools and instructions to the active AI agent, which acts on developer prompts. +The MCP servers and Agent Skills serve different purposes and have different prerequisites: + +| Component | What it provides | Requires Ignite UI installed? | +| -------------------- | -------------------------------------------------------------- | ----------------------------- | +| Ignite UI MCP server | Documentation queries, API reference, scaffolding tools | No | +| Theming MCP server | Design tokens, palette tools, WCAG contrast validation | No | +| Agent Skills | Project-level instruction packages for correct component usage | Yes | + +You can start evaluating Ignite UI AI assistance with the MCP servers alone - Ignite UI does not need to be installed in your project. Agent Skills become available once you install Ignite UI packages. + +The CLI MCP server requires STDIO transport; HTTP-based MCP clients are not supported. Agent Skills and the CLI MCP server do not modify project files autonomously - they expose tools and instructions to the active AI agent, which acts on developer prompts. + +## Configure the AI Toolchain + +Run this command from the root of your existing Angular, React, Blazor, or Web Components project. It configures MCP servers, copies framework-specific skill files into each agent's skills directory, and sets up instruction files. Use `--assistants` to choose which coding assistants receive MCP config and `--agents` to choose which agents receive skill files. If no parameters are provided, the command enters interactive mode, prompting you to select assistants and agents. Existing files are only updated if their content has changed. + +```bash +npx igniteui-cli ai-config +``` + +> [!IMPORTANT] +> Without a version pin, `npx` may pull an older CLI version that does not recognize the `ai-config` subcommand and will instead launch an interactive project-creation prompt, scaffolding a new project inside your existing one. Make sure that you have installed CLI version 16.x. + +After the command finishes, start the MCP servers in your AI client. The servers are configured but not yet running - the client needs to launch each server before its tools are available to the agent. + +### What to Expect + +If Ignite UI is **not** installed in the project: + +``` +Ignite UI MCP servers configured in .vscode/mcp.json +No AI skill files found. Make sure packages are installed (npm install) and your Ignite UI packages are up-to-date. +``` + +The MCP servers are ready to use. Skills will be added automatically the next time you run `ai-config` after installing Ignite UI. + +If Ignite UI **is** installed in the project: + +``` +Ignite UI MCP servers configured in .vscode/mcp.json +Agent Skills copied to .claude/skills/ +``` + +Both the MCP servers and Skills are configured. + +### Start the Servers + +**VS Code with GitHub Copilot:** + +Open `.vscode/mcp.json`. VS Code displays an inline **Start** button above each server entry. Click **Start** for both `igniteui` and `igniteui-theming`. Once started, VS Code shows the available tool count next to each server (for example, _"13 tools | 1 prompt"_). Alternatively, run **MCP: List Servers** from the Command Palette (`Ctrl+Shift+P` / `Cmd+Shift+P`), select each server, and choose **Start**. + +**Cursor:** + +Open **Settings → MCP**, locate the `igniteui` and `igniteui-theming` entries, and toggle each one on. Cursor starts each server immediately and displays its tool count. + +**Claude Code:** + +Run `claude mcp list` to confirm both servers are registered. Claude Code starts MCP servers automatically when their tools are first invoked - no manual start step is required. + +**JetBrains AI Assistant:** + +Open **Settings → Tools → AI Assistant → Model Context Protocol (MCP)**. Click the play icon next to each server entry to start it. + +**Claude Desktop:** + +Quit and relaunch Claude Desktop. The servers start automatically on launch. + +### Install Ignite UI and Add Skills Later + +If you ran `ai-config` without Ignite UI installed and want to add Skills, install the Ignite UI package for your framework and re-run the command: + +```bash +npm install igniteui-angular +npx igniteui-cli@latest ai-config +``` + +The command detects that Skills are now available and copies them. The MCP server entries in `.vscode/mcp.json` are left unchanged (already up-to-date) ## The AI Toolchain at a Glance @@ -25,7 +101,7 @@ Ignite UI's AI toolchain consists of three independently usable layers. Each lay | Layer | What it provides | Owner | Frameworks | | --------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ------------ | -------------------------------------- | | Agent Skills | Developer-owned instruction packages: import paths, component patterns, decision flows, project conventions | Developer | Angular, React, Web Components, Blazor | -| CLI MCP server (`igniteui-cli`) | Project scaffolding, component management, documentation and API queries via MCP | Infragistics | Angular, React, Web Components | +| CLI MCP server (`igniteui-cli`) | Project scaffolding, component management, documentation and API queries via MCP | Infragistics | Angular, React, Web Components, Blazor | | Theming MCP server (`igniteui-theming`) | Design tokens, palette definitions, CSS custom property generation, WCAG AA contrast validation | Infragistics | Angular, React, Web Components, Blazor | The CLI MCP server and Theming MCP server are both started through `npx` and connect to any MCP-compatible client through STDIO transport. Agent Skills are local files placed in your project that the AI client reads from disk. @@ -40,17 +116,17 @@ For full setup instructions and IDE wiring, see [Agent Skills](skills.md). ## CLI MCP Server -The Ignite UI CLI MCP server (`igniteui-cli`) is an MCP server maintained by Infragistics that exposes Ignite UI CLI scaffolding and documentation tools to the active AI agent session. Once connected, the AI assistant can create Angular, React, or Web Components projects, add and modify Ignite UI components, and answer documentation and API questions - all through natural-language prompts in the chat session. +The Ignite UI CLI MCP server (`igniteui-cli`) is an MCP server maintained by Infragistics that exposes Ignite UI CLI scaffolding and documentation tools to the active AI agent session. Once connected, the AI assistant can create Angular, React, Blazor or Web Components projects, add and modify Ignite UI components, and answer documentation and API questions - all through natural-language prompts in the chat session. -The CLI MCP server starts via `npx` without a global install: +The CLI MCP server is configured via `npx` without a global install: ```bash -npx -y igniteui-cli mcp +npx igniteui-cli ai-config ``` The server connects to VS Code with GitHub Copilot, Cursor, Claude Desktop, Claude Code, JetBrains AI Assistant, and any other MCP-compatible client that supports STDIO transport. The exact configuration format differs by client - see the CLI MCP setup guides below. -The CLI MCP server does not support Blazor. It does not generate code autonomously - it exposes tools to the AI agent, which invokes them in response to developer prompts. +It does not generate code autonomously - it exposes tools to the AI agent, which invokes them in response to developer prompts. ## Theming MCP Server @@ -81,13 +157,9 @@ The CLI MCP server and Theming MCP server work with any editor or AI client that Agent Skills are compatible with GitHub Copilot via `.github/copilot-instructions.md`, Cursor via `.cursorrules` or `.cursor/rules/`, Windsurf via `.windsurfrules`, and JetBrains AI Assistant via project-level prompt settings. -## Set Up the AI Toolchain - -Use `ig ai-config` to configure Agent Skills and both MCP servers in a single command. For individual control over each layer, or to configure only part of the toolchain in an existing project, follow the steps below. Running `ig ai-config` completes Steps 1, 2, and 3 in one operation. - ### Quick Setup -The `ai-config` command copies the Ignite UI Agent Skills into `.claude/skills/` and writes the Ignite UI MCP server configuration to `.vscode/mcp.json`. If the files already exist and are up-to-date, the command is a no-op. +The `ai-config` command configures MCP servers, copies framework-specific skill files into each agent's skills directory, and sets up instruction files. Use `--assistants` to choose which coding assistants receive MCP config and `--agents` to choose which agents receive skill files. If no parameters are provided, the command enters interactive mode, prompting you to select assistants and agents. **Using Angular Schematics:** diff --git a/en/components/ai/cli-mcp.md b/en/components/ai/cli-mcp.md index 895d0c454f..9bd6003780 100644 --- a/en/components/ai/cli-mcp.md +++ b/en/components/ai/cli-mcp.md @@ -1,13 +1,13 @@ --- -title: Angular Ignite UI CLI MCP | Infragistics -_description: Connect Ignite UI CLI MCP to your AI client to scaffold projects, modify existing apps, create and update components, and ask documentation questions for Ignite UI for Angular. Learn the setup options for VS Code, GitHub, Cursor, Claude Desktop, Claude Code, JetBrains, and other MCP clients. +title: Ignite UI CLI MCP | Infragistics +_description: Use the Ignite UI CLI MCP server to scaffold Ignite UI for Angular projects, add components, and answer API questions through your AI assistant. _keywords: Angular, Ignite UI for Angular, Infragistics, Ignite UI CLI MCP, Ignite UI Theming MCP, MCP, Model Context Protocol, AI, agent, GitHub Copilot, Cursor, Claude, JetBrains _language: en _license: MIT _canonicalLink: "{environment:dvUrl}/components/ai/cli-mcp" namespace: Infragistics.Controls mentionedTypes: [] -last_updated: "2026-04-21" +last_updated: "2026-04-24" --- @@ -20,7 +20,7 @@ last_updated: "2026-04-21" ## Overview -Ignite UI CLI MCP gives AI assistants direct access to Ignite UI CLI project scaffolding, component generation, project modification, and documentation-aware workflows through chat or agent mode. The server works alongside Ignite UI Theming MCP - CLI MCP handles project and component workflows while Theming MCP handles palettes, themes, tokens, and styling. Most teams connect both servers in the same AI client session. +Ignite UI CLI MCP gives AI assistants direct access to Ignite UI CLI project scaffolding, component generation, project modification, and documentation-aware workflows through chat or agent mode. The server works alongside [Ignite UI Theming MCP](./theming-mcp.md). CLI MCP handles project and component workflows while Theming MCP handles palettes, themes, tokens, and styling. Most teams connect both servers in the same AI client session. The recommended setup path is to start with Ignite UI CLI first. That path creates the project, installs the required packages, and writes the initial MCP configuration for VS Code. You can also start from an empty folder and let the assistant create the project through MCP, or connect MCP to a project that already exists. @@ -127,13 +127,11 @@ ig new my-app --framework=angular --type=igx-ts --template=empty Matching `npx` form: ```bash -npx --package igniteui-cli igniteui new my-app --framework=angular --type=igx-ts --template=empty +npx ig new my-app --framework=angular --type=igx-ts --template=empty ``` In guided mode, Ignite UI CLI prompts for the project name, framework, template, theme, and whether to add a component or complete the setup. In direct mode, you provide the framework and any supported options in the command itself. -For more details about project templates, CLI command options, and component scaffolding commands such as `ig add`, see the Ignite UI CLI documentation for Angular. - ### VS Code GitHub Copilot in VS Code supports MCP servers through a workspace-level configuration file. Run `ig ai-config` (or `ng generate @igniteui/angular-schematics:ai-config`) from your project root to generate this file automatically. To configure it manually, create or edit `.vscode/mcp.json` in your project root: @@ -326,8 +324,8 @@ Here is a brief overview of each tool: | `get_doc` | Gets the full markdown content of a specific component doc by kebab-case name (e.g., `grid-editing`, `combo-overview`). Includes code samples, tables, and links. | | `search_docs` | Full-text search across Ignite UI docs for a framework. Returns up to 20 ranked results with excerpts. | | `get_project_setup_guide` | Returns the project setup guide for creating a new project in a specific framework, including CLI steps and install instructions. | -| `search_api` | Searches API entries by keyword or component name across Angular, React, and Web Components. | -| `get_api_reference` | Returns the full API reference for a specific component or class, including properties, methods, and events. Supports Angular, React, and Web Components. | +| `search_api` | Searches API entries by keyword or component name across Angular, React, Blazor and Web Components. | +| `get_api_reference` | Returns the full API reference for a specific component or class, including properties, methods, and events. Supports Angular, React, Blazor and Web Components. | At a high level, the CLI MCP tools help with: diff --git a/en/components/ai/maker-framework.md b/en/components/ai/maker-framework.md index 2f8dbcb28a..efd28bc38d 100644 --- a/en/components/ai/maker-framework.md +++ b/en/components/ai/maker-framework.md @@ -17,7 +17,7 @@ mentionedTypes: [] The MAKER Framework (`@igniteui/maker-mcp`) is a multi-agent AI orchestration MCP server from Infragistics that decomposes complex tasks into validated, executable step plans using a consensus-based voting algorithm across multiple AI agents. MAKER stands for Maximal Agentic decomposition, first-to-ahead-by-K Error correction, and Red-flagging. The framework is based on the research paper _Solving a million-step LLM task with zero errors_ by Cognizant AI Lab. It runs as an MCP server via `npx` from the `@igniteui` GitHub Packages registry and connects to any MCP-compatible AI client through STDIO transport. Once connected, the AI assistant can invoke three tools - `plan`, `execute`, and `plan_and_execute` - to run long-horizon tasks with automatic error detection and correction. -The MAKER Framework is not an Ignite UI component scaffolding tool. For Ignite UI project creation, component generation, and documentation queries, use the [CLI MCP server](cli-mcp.md). MAKER is framework-agnostic - it does not target Angular, React, or Web Components specifically, and it does not read or modify project source files on its own. It requires at least one AI provider API key (OpenAI, Anthropic, or Google AI) and a GitHub Personal Access Token with `read:packages` scope for the `@igniteui` registry. +The MAKER Framework is not an Ignite UI component scaffolding tool. For Ignite UI project creation, component generation, and documentation queries, use the [CLI MCP server](cli-mcp.md). MAKER is framework-agnostic - it does not target Angular, React, Blazor or Web Components specifically, and it does not read or modify project source files on its own. It requires at least one AI provider API key (OpenAI, Anthropic, or Google AI) and a GitHub Personal Access Token with `read:packages` scope for the `@igniteui` registry. ## How MAKER Works diff --git a/en/components/ai/skills.md b/en/components/ai/skills.md index 3ddd10ab21..f34acc4aa5 100644 --- a/en/components/ai/skills.md +++ b/en/components/ai/skills.md @@ -4,8 +4,11 @@ _description: Learn how to use Agent Skills to supercharge AI-assisted developme _keywords: Ignite UI for Angular, agent skills, ai assisted development, github copilot, cursor, windsurf, claude, gemini cli, junie _license: MIT mentionedTypes: [] +last_updated: "2026-04-24" --- + + # Ignite UI for Angular Agent Skills Ignite UI for Angular ships with **[Agent Skills](https://agentskills.io/)** - structured knowledge files that teach AI coding assistants (GitHub Copilot, Cursor, Windsurf, Claude, Gemini CLI, JetBrains Junie, etc.) how to work with Ignite UI for Angular. These skill files provide context-aware guidance on components, grids, data operations, and theming, enabling your AI assistant to generate accurate, idiomatic code that follows best practices. @@ -22,6 +25,7 @@ The skill files live in the [`skills/`](https://github.com/IgniteUI/igniteui-ang | Components & Layout | [`skills/igniteui-angular-components/SKILL.md`](https://github.com/IgniteUI/igniteui-angular/blob/master/skills/igniteui-angular-components/SKILL.md) | Standalone components, form controls, overlays, layout | | Data Grids | [`skills/igniteui-angular-grids/SKILL.md`](https://github.com/IgniteUI/igniteui-angular/blob/master/skills/igniteui-angular-grids/SKILL.md) | Grid, Tree Grid, Hierarchical Grid, Pivot Grid, sorting, filtering, grouping, paging, remote data | | Theming & Styling | [`skills/igniteui-angular-theming/SKILL.md`](https://github.com/IgniteUI/igniteui-angular/blob/master/skills/igniteui-angular-theming/SKILL.md) | Palettes, typography, elevations, component themes, MCP server | +| Generate From Image Design | [`skills/igniteui-angular-generate-from-image-design/SKILL.md`](https://github.com/IgniteUI/igniteui-angular/blob/master/skills/igniteui-angular-generate-from-image-design/SKILL.md) | Build Angular apps from screenshots, mockups, and wireframes using Ignite UI components | > [!NOTE] > Starting with Ignite UI for Angular **21.1.0**, these skills are automatically discovered when placed in your agent's skills path (e.g., `.claude/skills`, `.agents/skills`, `.cursor/rules/`). This release ships with an optional migration to add these skills to your project automatically. @@ -43,6 +47,8 @@ The `.agents/skills/` directory is a cross-agent convention supported by multipl SKILL.md igniteui-angular-theming/ SKILL.md + igniteui-angular-generate-from-image-design/ + SKILL.md ``` For user-level (global) skills available across all projects, use `~/.agents/skills/` instead. @@ -56,7 +62,7 @@ For user-level (global) skills available across all projects, use `~/.agents/ski | Project | `.github/skills/`, `.claude/skills/` | | Personal | `~/.copilot/skills/`, `~/.claude/skills/` (Copilot coding agent and GitHub Copilot CLI only) | -> **Tip:** In [VS Code](https://code.visualstudio.com/docs/copilot/customization/agent-skills), these locations also include the general `.agents/skills/` and `~/.agents/skills/` and you can configure additional skill locations using the `chat.agentSkillsLocations` setting. +> **Tip:** In [VS Code](https://code.visualstudio.com/docs/copilot/customization/agent-skills), these locations also include the general `.agents/skills/` and `~/.agents/skills/` and you can configure additional skill locations using the `chat.agentSkillsLocations` setting. ### Claude @@ -113,26 +119,46 @@ Use one of the options below to download and place the skill files into the appr ### **Option A - Use the Ignite UI CLI** -The `ai-config` command copies skill files from your installed Ignite UI for Angular package into `.claude/skills/` and writes the Ignite UI MCP server configuration to `.vscode/mcp.json`. If the files already exist and are up-to-date, the command is a no-op. +The `ai-config` command configures MCP servers, copies framework-specific skill files into each agent's skills directory, and sets up instruction files — all in a single step. Use `--assistants` to choose which coding assistants receive MCP config and `--agents` to choose which agents receive skill files. Existing files are only updated if their content has changed. If no parameters are provided, the command enters interactive mode, prompting you to select assistants and agents. For available options, refer to the table below. + +```bash +ig ai-config --assistants generic --agents claude +``` + +Use `--agents` with multiple values to target several agents at once: + +```bash +ig ai-config --assistants generic vscode --agents claude copilot cursor +``` + +| Flag | Values | Default | +|------|--------|---------| +| `--assistants` | `generic`, `vscode`, `cursor`, `gemini`, `junie`, `none` | Prompted interactively | +| `--agents` | `generic`, `claude`, `copilot`, `cursor`, `codex`, `windsurf`, `gemini`, `junie`, `none` | Prompted interactively | **Using Angular Schematics:** ```bash -ng generate @igniteui/angular-schematics:ai-config +ng generate @igniteui/angular-schematics:ai-config --assistants cursor --agents claude copilot ``` -This also registers the `@angular/cli` MCP server in `.vscode/mcp.json` alongside the Ignite UI servers. +This also registers the `@angular/cli` MCP server alongside the Ignite UI servers. -**Using the Ignite UI CLI:** +### **Option B - Use the `GitHub CLI`** -### **Option A - Use the Ignite UI CLI** +The GitHub CLI can be used to download skill files directly from the Ignite UI for Angular repository. Run the following commands in your project root to start the installation process: -The `ai-config` command copies skill files from your installed Ignite UI for Angular package into `.claude/skills/` and writes the Ignite UI MCP server configuration to `.vscode/mcp.json`. If the files already exist and are up-to-date, the command is a no-op. +```bash +gh skill install IgniteUI/igniteui-angular +``` -**Using Angular Schematics:** +You will be asked to select which skills to install and the target Agents for the skill files in your project. The CLI will then download and place the selected skill according to the chosen Agents. + +To update skills later, run the following command: -````bash -ng generate @igniteui/angular-schematics:ai-config +```bash +gh skill update IgniteUI/igniteui-angular +``` If Ignite UI for Angular is already installed in your project, the skill files are available under `node_modules`. To copy them into your project (e.g. into `.agents/skills/`), run: @@ -140,7 +166,7 @@ If Ignite UI for Angular is already installed in your project, the skill files a ```bash cp -r node_modules/igniteui-angular/skills/. .agents/skills/ -```` +``` **Windows (Command Prompt)** @@ -156,6 +182,7 @@ Or copy individual skill directories as needed: cp -r node_modules/igniteui-angular/skills/igniteui-angular-components .agents/skills/ cp -r node_modules/igniteui-angular/skills/igniteui-angular-grids .agents/skills/ cp -r node_modules/igniteui-angular/skills/igniteui-angular-theming .agents/skills/ +cp -r node_modules/igniteui-angular/skills/igniteui-angular-generate-from-image-design .agents/skills/ ``` **Windows (Command Prompt)** @@ -164,6 +191,7 @@ cp -r node_modules/igniteui-angular/skills/igniteui-angular-theming .agents/skil robocopy node_modules\igniteui-angular\skills\igniteui-angular-components .agents\skills\igniteui-angular-components /E robocopy node_modules\igniteui-angular\skills\igniteui-angular-grids .agents\skills\igniteui-angular-grids /E robocopy node_modules\igniteui-angular\skills\igniteui-angular-theming .agents\skills\igniteui-angular-theming /E +robocopy node_modules\igniteui-angular\skills\igniteui-angular-generate-from-image-design .agents\skills\igniteui-angular-generate-from-image-design /E ``` ### **Option C - Use the `gemini skills` CLI** @@ -179,6 +207,7 @@ The `gemini skills install` command installs skills directly from a Git reposito gemini skills install https://github.com/IgniteUI/igniteui-angular.git --path skills/igniteui-angular-components gemini skills install https://github.com/IgniteUI/igniteui-angular.git --path skills/igniteui-angular-grids gemini skills install https://github.com/IgniteUI/igniteui-angular.git --path skills/igniteui-angular-theming +gemini skills install https://github.com/IgniteUI/igniteui-angular.git --path skills/igniteui-angular-generate-from-image-design ``` **Install to workspace scope:** @@ -187,6 +216,7 @@ gemini skills install https://github.com/IgniteUI/igniteui-angular.git --path sk gemini skills install --scope workspace https://github.com/IgniteUI/igniteui-angular.git --path skills/igniteui-angular-components gemini skills install --scope workspace https://github.com/IgniteUI/igniteui-angular.git --path skills/igniteui-angular-grids gemini skills install --scope workspace https://github.com/IgniteUI/igniteui-angular.git --path skills/igniteui-angular-theming +gemini skills install --scope workspace https://github.com/IgniteUI/igniteui-angular.git --path skills/igniteui-angular-generate-from-image-design ``` Once installed, the skill files are available in the respective location and will be automatically discovered by compatible AI assistants. @@ -195,7 +225,7 @@ Once installed, the skill files are available in the respective location and wil The `skills` CLI is an interactive tool that downloads and installs skills directly into your project. Run the following command in your project root: -```shell +```bash npx skills add IgniteUI/igniteui-angular ``` @@ -221,8 +251,6 @@ For more information on the Theming MCP, refer to the [Ignite UI Theming MCP](./
- - - Getting Started with Ignite UI for Angular - Angular Schematics & Ignite UI CLI - [AI-Assisted Development with Ignite UI](./ai-assisted-development-overview.md) diff --git a/en/components/ai/theming-mcp.md b/en/components/ai/theming-mcp.md index 6bda6cc878..cb49642bff 100644 --- a/en/components/ai/theming-mcp.md +++ b/en/components/ai/theming-mcp.md @@ -1,24 +1,26 @@ --- -title: Angular Theming MCP | Infragistics -_description: Angular works with the Ignite UI Theming MCP server that allows you to create custom themes, palettes, typography, and elevations for your Ignite UI for Angular applications. Learn how to use the MCP server to generate and apply custom themes that match your brand and design requirements. +title: Angular Theming MCP | Infragistics +_description: Use the Ignite UI Theming MCP server to generate Ignite UI for Angular palettes, themes, typography, and design token overrides through your AI assistant. _keywords: Ignite UI for Angular controls, Angular widgets, web widgets, UI widgets, Components Suite, Artificial Intelligence, AI, MCP, Model Context Protocol, Theming, Custom Themes, Palettes, Typography, Elevations _license: MIT mentionedTypes: [] --- + + # Ignite UI Theming MCP -The Ignite UI Theming MCP is a Model Context Protocol (MCP) server that enables AI assistants to generate production-ready theming code for Ignite UI applications. MCP is an open standard that lets AI assistants call specialized tools provided by external servers. Connect the Ignite UI Theming MCP to your editor or desktop AI client and describe what you want — the assistant does the rest.
+The Ignite UI Theming MCP is a Model Context Protocol (MCP) server that enables AI assistants to generate production-ready theming code for Ignite UI applications. MCP is an open standard that lets AI assistants call specialized tools provided by external servers. Connect the Ignite UI Theming MCP to your editor or desktop AI client and describe the theme, palette, or component overrides you want generated.
## Overview -Instead of writing styles by hand, you can describe your theming intent in plain language and let an AI assistant generate the correct code for you. The MCP server gives the AI the knowledge and tools it needs to produce accurate theming code — including palettes with proper shade generation, typography, elevations, component design token overrides, and more. +The Ignite UI Theming MCP server gives AI assistants the knowledge and tools to produce accurate theming code, including palettes with proper shade generation, typography, elevations, component design token overrides, and more. -The server supports all four Ignite UI design systems — **Material**, **Bootstrap**, **Fluent**, and **Indigo** — in both light and dark variants. While this guide focuses on Angular, the MCP server also works with all Ignite UI component libraries from Infragistics. The `detect_platform` tool reads your `package.json` and selects the correct import paths and selectors automatically. +The server supports all four Ignite UI design systems (**Material**, **Bootstrap**, **Fluent**, and **Indigo**) in both light and dark variants. While this guide focuses on Angular, the MCP server also works with all Ignite UI component libraries from Infragistics. The `detect_platform` tool reads your `package.json` and selects the correct import paths and selectors automatically. -Most tools can produce either **Sass** or **CSS** output. Sass output is the default and integrates with the `igniteui-theming` Sass module. CSS output generates ready-to-use CSS custom properties and can be used **without a local Sass toolchain** — the server compiles it for you. +Most tools can produce either **Sass** or **CSS** output. Sass output is the default and integrates with the `igniteui-theming` Sass module. CSS output generates ready-to-use CSS custom properties and can be used **without a local Sass toolchain** - the server compiles it for you. The Ignite UI Theming MCP works alongside the Ignite UI CLI MCP. In practice, the Theming MCP handles palettes, themes, tokens, typography, elevations, and styling workflows, while the CLI MCP handles project creation, project modification, component workflows, and documentation-oriented tasks. Most teams will want both servers connected in the same AI client. @@ -28,7 +30,7 @@ The Ignite UI Theming MCP works alongside the Ignite UI CLI MCP. In practice, th > _"What design tokens are available for the button component? Customize it with my brand purple #8b5cf6."_ -> _"My brand guidelines specify exact hex values for every primary shade — create a custom palette with those explicit values."_ +> _"My brand guidelines specify exact hex values for every primary shade - create a custom palette with those explicit values."_ > _"Make the calendar component use smaller spacing."_ @@ -36,9 +38,9 @@ The Ignite UI Theming MCP works alongside the Ignite UI CLI MCP. In practice, th Before configuring the MCP server, make sure you have: -- **Node.js** (v18 or later) installed — this provides the `npx` command used to launch the server. +- **Node.js** (v18 or later) installed. This provides the `npx` command used to launch the server. - A project with an **Ignite UI package** listed as a dependency in `package.json`. -- An **AI client with MCP support** — for example, VS Code with GitHub Copilot, Cursor, Claude Desktop, Claude Code, or a JetBrains IDE with the AI Assistant plugin. +- An **AI client with MCP support** - for example, VS Code with GitHub Copilot, Cursor, Claude Desktop, Claude Code, or a JetBrains IDE with the AI Assistant plugin. If you do not have Ignite UI Theming installed yet, run: @@ -61,7 +63,7 @@ npx -y igniteui-theming igniteui-theming-mcp ### How version resolution works -Because `igniteui-theming` is a dependency of `igniteui-angular`, it is already present in your `node_modules` after `npm install`. When you run the launch command above, `npx` detects the locally installed copy and runs it directly — no network request is made. This means the MCP server version always stays in sync with the rest of your Ignite UI packages. +Because `igniteui-theming` is a dependency of `igniteui-angular`, it is already present in your `node_modules` after `npm install`. When you run the launch command above, `npx` detects the locally installed copy and runs it directly. No network request is made. This means the MCP server version always stays in sync with the rest of your Ignite UI packages. If you run the command outside a project (or before running `npm install`), `npx -y` downloads the **latest** version from npm into a temporary cache instead. The server will still start, but `detect_platform` will return `generic` since there is no `package.json` to inspect. @@ -186,11 +188,11 @@ For any other MCP-compatible client, use the STDIO transport with this launch co npx -y igniteui-theming igniteui-theming-mcp ``` -## Customizing AI Behavior with Project Rules +## Customize AI Behavior with Project Rules This section is optional. It is aimed at teams that want to fine-tune _how_ the AI generates theming code to match their existing codebase conventions. -Editors like VS Code and Cursor let you provide project-level instruction files that shape how the AI behaves. The MCP server already teaches the AI _which tools to call and in what order_ — you do not need to repeat that. Instead, use these instruction files to encode your **project's design decisions, code conventions, and file organization** so the AI produces code that fits your codebase on the first try. +Editors like VS Code and Cursor let you provide project-level instruction files that shape how the AI behaves. The MCP server already teaches the AI _which tools to call and in what order_. You do not need to repeat that. Instead, use these instruction files to encode your **project's design decisions, code conventions, and file organization** so the AI produces code that fits your codebase on the first try. ### VS Code (`.github/copilot-instructions.md`) @@ -198,12 +200,12 @@ Editors like VS Code and Cursor let you provide project-level instruction files ## Theming Conventions ### Sass Code Style -- Use `@use` / `@forward` — never `@import`. +- Use `@use` / `@forward` - never `@import`. - Extract repeated color values into Sass variables (e.g., `$brand-hover: #a78bfa`). - Prefer setting primary design tokens over overriding many dependent tokens. For example, setting `$foreground` on a flat button automatically derives `$hover-background`, `$focus-background`, and `$active-background`. -- Keep component overrides scoped — use the component's default selector +- Keep component overrides scoped - use the component's default selector (e.g., `.igx-button--flat`) unless a narrower scope is needed. ``` @@ -218,12 +220,12 @@ globs: ["**/*.scss", "**/styles/**"] ## Project Theming Rules ### Code conventions -- `@use` / `@forward` only — no `@import`. +- `@use` / `@forward` only - no `@import`. - Extract shared colors into variables; do not repeat hex literals. -- Prefer primary tokens — let dependent tokens derive automatically. +- Prefer primary tokens - let dependent tokens derive automatically. - One component override per file. Name the file after the component. - Comment every override with the design rationale. -- Never hard-code gray shades for text — use palette grays so dark mode works. +- Never hard-code gray shades for text - use palette grays so dark mode works. - For dark mode, only the palette changes. Component overrides stay the same. ``` @@ -232,7 +234,7 @@ globs: ["**/*.scss", "**/styles/**"] ## Available Tools -The MCP server exposes a set of tools that the AI uses automatically based on your prompts. You never need to call them directly — just describe what you want. +The MCP server exposes a set of tools that the AI uses automatically based on your prompts. You never need to call them directly. Just describe what you want. To see the current full list of tools and their parameters at any time, ask your AI assistant: @@ -243,15 +245,15 @@ Here is a brief overview of each tool: | Tool | Description | |------|-------------| | `detect_platform` | Reads `package.json` and identifies whether the project uses Ignite UI for Angular, Web Components, React, or Blazor. Selects the correct import paths and component selectors for all subsequent tools. | -| `create_palette` | Generates a color palette with automatic shade variants (50–900, A100–A700) from your base brand colors. Accepts an `output` parameter (`sass` or `css`) and a `designSystem` to select the schema. | -| `create_custom_palette` | Fine-grained palette creation — specify exact hex values for every shade when automatic generation is not suitable. | +| `create_palette` | Generates a color palette with automatic shade variants (50-900, A100-A700) from your base brand colors. Accepts an `output` parameter (`sass` or `css`) and a `designSystem` to select the schema. | +| `create_custom_palette` | Fine-grained palette creation. Specify exact hex values for every shade when automatic generation is not suitable. | | `create_typography` | Sets up a font family and type scale for a given design system. | -| `create_elevations` | Configures box-shadow elevation levels (0–24) for Material or Indigo design systems. | +| `create_elevations` | Configures box-shadow elevation levels (0-24) for Material or Indigo design systems. | | `create_theme` | One-shot complete theme: palette + typography + elevations, ready to include in your `styles.scss`. Accepts a `designSystem` (`material`, `bootstrap`, `fluent`, or `indigo`) and `variant` (`light` or `dark`). | | `set_size` | Sets `--ig-size` globally or for a specific component (`small`, `medium`, or `large`). | | `set_spacing` | Sets `--ig-spacing` (and optionally inline/block overrides) globally or per component. | | `set_roundness` | Sets `--ig-radius-factor` (0 = square, 1 = fully round) globally or per component. | -| `get_component_design_tokens` | Returns all available design tokens for a component — always call this before `create_component_theme`. | +| `get_component_design_tokens` | Returns all available design tokens for a component. Always call this before `create_component_theme`. | | `create_component_theme` | Generates Sass or CSS to customize a component's tokens (colors, borders, etc.). Accepts a `variant` (`light` or `dark`) to select the correct schema. | | `get_color` | Returns a CSS variable reference for a palette color, e.g. `var(--ig-primary-500)`. Supports optional contrast and opacity parameters. | | `read_resource` | Reads built-in reference resources organized into four categories: platform configs (6), palette/typography/elevation presets (5), color guidance (7), and layout/spacing docs (8). | @@ -262,7 +264,7 @@ Here is a brief overview of each tool: > [!NOTE] > If your project uses the licensed `@infragistics/igniteui-angular` package, tell the AI so it can set the `licensed` parameter on palette, theme, and component tools. This adjusts the generated import paths accordingly. -## Example Scenarios +## Common Workflows The following scenarios show what you can ask the AI to do once the MCP server is connected. @@ -298,7 +300,7 @@ $my-typography: typography( ### Brand-Exact Color Shades -> _"Our design system specifies exact hex values for all 14 shades of our primary green. I'll paste the values — create a custom palette."_ +> _"Our design system specifies exact hex values for all 14 shades of our primary green. I'll paste the values - create a custom palette."_ The AI will call `create_custom_palette` with `mode: "explicit"` for the primary color and auto-generate the rest. See [Palettes](https://www.infragistics.com/products/ignite-ui-angular/angular/components/themes/sass/palettes) for more detail on shade generation. @@ -310,7 +312,7 @@ The AI will call `get_component_design_tokens` first to discover valid token nam ### Layout Adjustments -> _"The calendar feels bloated — reduce its spacing, and make all components slightly smaller."_ +> _"The calendar feels bloated - reduce its spacing, and make all components slightly smaller."_ The AI will call `set_spacing` scoped to the calendar component and `set_size` at the `:root` level. @@ -336,7 +338,7 @@ Ensure `igniteui-angular` and `igniteui-theming` are installed: ng add igniteui-angular ``` -Also confirm that `core()` is called before any other theming mixin in your `styles.scss`. See [Theming with Sass]() for the correct file setup. +Also confirm that `core()` is called before any other theming mixin in your `styles.scss`. See [Theming with Sass](https://www.infragistics.com/products/ignite-ui-angular/angular/components/themes/sass/index) for the correct file setup. ## Additional Resources diff --git a/en/components/button.md b/en/components/button.md index 0cb13c03e6..72c6a822b1 100644 --- a/en/components/button.md +++ b/en/components/button.md @@ -1087,9 +1087,6 @@ When you modify a primary property, all related dependent properties are updated -Another way to style the button is by using **Sass**, along with our type-specific theme functions: [`flat-button-theme`]({environment:sassApiUrl}/themes#function-flat-button-theme), [`outlined-button-theme`]({environment:sassApiUrl}/themes#function-outlined-button-theme), [`contained-button-theme`]({environment:sassApiUrl}/themes#function-contained-button-theme), and [`fab-button-theme`]({environment:sassApiUrl}/themes#function-fab-button-theme). - -Each of them will target only the buttons of that specific type.Ignite UI CLI MCP は Model Context Protocol (MCP) サーバーで、AI アシスタントが Ignite UI for Angular アプリケーションのプロジェクト スキャフォールディング、既存アプリの変更、コンポーネントの作成と更新、ドキュメントへの質問に対応できるようにします。Ignite UI CLI MCP をエディター、GitHub リポジトリ、またはデスクトップ AI クライアントに接続して、行いたいことを説明すると、アシスタントが CLI ツールを代わりに操作します。
+ + + +## 概要 + +Ignite UI CLI MCP は、チャットまたはエージェント モードを通じて Ignite UI CLI プロジェクト スキャフォールディング、コンポーネント生成、プロジェクト変更、ドキュメント対応ワークフローへの直接アクセスを AI アシスタントに提供します。サーバーは Ignite UI Theming MCP と連携して動作します。CLI MCP はプロジェクトとコンポーネントのワークフローを担当し、Theming MCP はパレット、テーマ、トークン、スタイリングを担当します。ほとんどのチームは、同じ AI クライアント セッションで両方のサーバーを接続します。 + +推奨されるセットアップ パスは、最初に Ignite UI CLI を使用することです。このパスでは、プロジェクトの作成、必要なパッケージのインストール、VS Code 用の初期 MCP 設定の書き込みが行われます。空のフォルダーから開始して、アシスタントに MCP 経由でプロジェクトを作成させることも、既存のプロジェクトに MCP を接続することもできます。 + +**接続後に試せるプロンプト例:** + +> _「このフォルダーに新しい Ignite UI for Angular プロジェクトを作成し、推奨のデフォルト設定を使用して、サンプル データを含むスターター ダッシュボード ページを追加してください。」_ + +> _「このプロジェクトに新しいグリッド ページを追加し、サンプル データに接続して、現在のナビゲーション構造を維持してください。」_ + +> _「コンボ コンポーネントが公開するプロパティとイベント、および検索可能なドロップダウンに最も役立つものを教えてください。」_ + +> _「既存のプロジェクトを更新してサイド ナビゲーション レイアウトを追加し、現在のページとルートを保持してください。」_ + +## 前提条件 + +MCP サーバーを設定する前に、以下のものが揃っていることを確認してください: + +- **Node.js** (v18 以降) のインストール — サーバー起動に使用する `npx` コマンドを提供します。 +- **MCP をサポートする AI クライアント** — 例: VS Code with GitHub Copilot、GitHub Copilot クラウド エージェント、Cursor、Claude Desktop、Claude Code、AI Assistant プラグインを使用した JetBrains IDE。 +- サーバーの初回起動時に `npx` パッケージ解決に必要なインターネット アクセス。 +- 以下のいずれかの開始点: + - 新しいプロジェクト用の空のフォルダー + - Ignite UI CLI で作成したプロジェクト + - 続けて作業したい既存の Ignite UI for Angular プロジェクト + +同じクライアント セッションでテーマ ツールが必要で、`igniteui-theming` がプロジェクトにまだない場合は、次のコマンドを実行します: + +```bash +npm install igniteui-theming +``` + +## AI クライアント向けの Ignite UI CLI MCP 設定 + +MCP サーバーは `npx` を通じて起動します。Node.js と `igniteui-cli` パッケージへのアクセス以外に、別途インストールする必要はありません。 + +標準の起動コマンドは次のとおりです: + +```bash +npx -y igniteui-cli mcp +``` + +> [!NOTE] +> `-y` フラグは `npx` にパッケージのダウンロード確認を自動承認するよう指示し、手動の操作なしにサーバーを起動できます。 + +### セットアップ パスの選択 + +Ignite UI CLI MCP を開始するには 3 つの方法があります: + +> **推奨 — CLI を先に使用** +> `ig new` または対応する `npx --package igniteui-cli igniteui new` コマンドを使用して、まず Ignite UI CLI でプロジェクトを作成します。Ignite UI CLI がプロジェクトをスキャフォールディングし、必要なパッケージをインストールし、VS Code 用の `.vscode/mcp.json` を自動的に書き込むため、これが最も簡単なセットアップです。その後は、生成された MCP 設定を確認して AI クライアントでプロジェクトを開くだけです。 + +> **空のフォルダー** +> 完全に空のフォルダーから開始し、MCP 設定を手動で追加してから、アシスタントにチャット経由でプロジェクトを作成するよう依頼します。このパスは、CLI を先に実行するのではなく MCP で最初からプロジェクト作成フローを主導したい場合に便利です。 + +> **既存のプロジェクト** +> すでにあるプロジェクトに MCP 設定を追加して、現在のコードベースで作業を継続します。`ig ai-config` (Angular プロジェクトの場合は `ng generate @igniteui/angular-schematics:ai-config`) を実行して、`.vscode/mcp.json` を書き込み、エージェント スキルをプロジェクトに自動的にコピーします。他の AI クライアントの場合は、以下のクライアント固有のセクションからサーバー エントリをコピーします。 + +3 つのパスすべてで同じ MCP サーバーを使用します。違いは、プロンプトを開始する前にプロジェクトをどのように準備するかだけです: + +- **CLI 先行** パスでは、Ignite UI CLI がプロジェクトを作成し、最初の MCP 設定を用意します +- **空のフォルダー** パスでは、先に MCP 設定を作成し、その後アシスタントにプロジェクトを作成させます +- **既存のプロジェクト** パスでは、`ig ai-config` を実行して `.vscode/mcp.json` を書き込み、エージェント スキルを自動的にコピーするか、他のクライアント向けに手動で設定を追加します + +どの場合も、MCP サーバーが接続されて AI クライアントに表示されれば、アシスタントは同じセッションで作業を継続できます。 + +最初に Ignite UI CLI でプロジェクトを作成する場合、次のいずれかの方法で CLI を実行できます: + +- **グローバル インストール** + + ```bash + npm install -g igniteui-cli + ``` + + これにより、どのターミナル セッションでも `ig` コマンドが使用できるようになります。定期的にプロジェクトを作成およびスキャフォールディングする予定であれば、最も明確な選択肢です。 + +- **グローバル インストールなし** + + ```bash + npx --package igniteui-cli igniteui new + ``` + + グローバルな `ig` コマンドの代わりに `npx` 経由で CLI を実行します。 + +**CLI 先行** パスでは、ガイド モードまたは直接コマンドでプロジェクトを作成できます。 + +利用可能なオプションを CLI が案内してくれるガイド モードを使用する場合: + +```bash +ig new +``` + +対応する `npx` 形式: + +```bash +npx --package igniteui-cli igniteui new +``` + +プロジェクト設定がわかっている場合は直接コマンドを使用します: + +```bash +ig new my-app --framework=angular --type=igx-ts --template=empty +``` + +対応する `npx` 形式: + +```bash +npx --package igniteui-cli igniteui new my-app --framework=angular --type=igx-ts --template=empty +``` + +ガイド モードでは、Ignite UI CLI がプロジェクト名、フレームワーク、テンプレート、テーマ、コンポーネントを追加するかセットアップを完了するかを確認します。直接モードでは、フレームワークとサポートされているオプションをコマンドで指定します。 + +プロジェクト テンプレート、CLI コマンド オプション、`ig add` などのコンポーネント スキャフォールディング コマンドの詳細については、Angular 向けの Ignite UI CLI ドキュメントを参照してください。 + +### VS Code + +VS Code の GitHub Copilot は、ワークスペース レベルの設定ファイルを通じて MCP サーバーをサポートします。プロジェクト ルートから `ig ai-config` (または `ng generate @igniteui/angular-schematics:ai-config`) を実行して、このファイルを自動的に生成します。手動で設定するには、プロジェクト ルートに `.vscode/mcp.json` を作成または編集します: + +```json +{ + "servers": { + "igniteui-cli": { + "command": "npx", + "args": ["-y", "igniteui-cli", "mcp"] + }, + "igniteui-theming": { + "command": "npx", + "args": ["-y", "igniteui-theming", "igniteui-theming-mcp"] + } + } +} +``` + +最初に Ignite UI CLI でプロジェクトを作成した場合は、生成された `.vscode/mcp.json` を確認して両方のエントリが存在することを確認してください。 + +保存後、GitHub Copilot チャット パネルを開いて**エージェント** モードに切り替えると、Ignite UI CLI MCP ツールが利用可能になります。 + +> [!NOTE] +> VS Code での MCP サポートには GitHub Copilot と VS Code 1.99 以降が必要です。 + +### Cursor + +Cursor はプロジェクト スコープの MCP 設定をサポートします。プロジェクト ルートに `.cursor/mcp.json` を作成または編集します: + +```json +{ + "mcpServers": { + "igniteui-cli": { + "command": "npx", + "args": ["-y", "igniteui-cli", "mcp"] + }, + "igniteui-theming": { + "command": "npx", + "args": ["-y", "igniteui-theming", "igniteui-theming-mcp"] + } + } +} +``` + +新しい Cursor チャット セッションを開くと、サーバーが自動的に検出されます。 + +> [!NOTE] +> Cursor の **Settings → MCP** からグローバルに MCP サーバーを設定することもできます。 + +### Claude Desktop + +サーバーを Claude Desktop 設定ファイルに追加します: + +- **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json` +- **Windows**: `%APPDATA%\Claude\claude_desktop_config.json` + +```json +{ + "mcpServers": { + "igniteui-cli": { + "command": "npx", + "args": ["-y", "igniteui-cli", "mcp"] + }, + "igniteui-theming": { + "command": "npx", + "args": ["-y", "igniteui-theming", "igniteui-theming-mcp"] + } + } +} +``` + +保存後、Claude Desktop を再起動します。チャット入力エリアに MCP サーバー インジケーター (スライダー アイコン) が表示され、MCP ツールがアクティブであることが確認できます。 + +### Claude Code + +Claude Code は CLI と プロジェクト スコープの `.mcp.json` ファイルを通じて MCP サーバーをサポートします。チームと設定を共有するには、プロジェクト ルートに `.mcp.json` を作成または編集します: + +```json +{ + "mcpServers": { + "igniteui-cli": { + "command": "npx", + "args": ["-y", "igniteui-cli", "mcp"] + }, + "igniteui-theming": { + "command": "npx", + "args": ["-y", "igniteui-theming", "igniteui-theming-mcp"] + } + } +} +``` + +ローカル環境のみの場合は、コマンドラインでサーバーを追加することもできます: + +```bash +claude mcp add igniteui-cli -- npx -y igniteui-cli mcp +claude mcp add igniteui-theming -- npx -y igniteui-theming igniteui-theming-mcp +``` + +Claude Code 内の `/mcp` コマンドを使用して、サーバーが接続されていることを確認します。 + +### JetBrains IDE + +JetBrains AI Assistant は IDE の設定から MCP サーバーをサポートします: + +1. **Settings** (macOS では **Preferences**) を開きます。 + +2. **Tools → AI Assistant → Model Context Protocol (MCP)** に移動します。 + +3. **+ Add** をクリックして **As JSON** を選択するか、フォーム フィールドを使用します。 + +4. 次の設定を入力します: + + ```json + { + "mcpServers": { + "igniteui-cli": { + "command": "npx", + "args": ["-y", "igniteui-cli", "mcp"] + }, + "igniteui-theming": { + "command": "npx", + "args": ["-y", "igniteui-theming", "igniteui-theming-mcp"] + } + } + } + ``` + +5. **OK** をクリックして AI Assistant を再起動します。 + +> [!NOTE] +> MCP サポートには、JetBrains IDE に AI Assistant プラグインがインストールされ有効になっている必要があります。 + +### その他の MCP クライアント + +他の MCP 互換クライアントでは、次の起動コマンドで STDIO トランスポートを使用します: + +```bash +npx -y igniteui-cli mcp +npx -y igniteui-theming igniteui-theming-mcp +``` + +### GitHub + +GitHub Copilot クラウド エージェントは、リポジトリ レベルの MCP 設定をサポートします。リポジトリで以下の操作を行います: + +1. リポジトリのメイン ページを開きます。 +2. **Settings** をクリックします。 +3. サイドバーで **Copilot** → **Cloud agent** に移動します。 +4. **MCP configuration** セクションに JSON を貼り付けます。 +5. **Save** をクリックします。 + +次のようなリポジトリ設定を使用します: + +```json +{ + "mcpServers": { + "igniteui-cli": { + "type": "local", + "command": "npx", + "args": ["-y", "igniteui-cli", "mcp"], + "tools": ["*"] + }, + "igniteui-theming": { + "type": "local", + "command": "npx", + "args": ["-y", "igniteui-theming", "igniteui-theming-mcp"], + "tools": ["*"] + } + } +} +``` + +このセットアップは、GitHub クラウド エージェントがリポジトリ コンテキストから直接 CLI MCP ツールと Theming MCP ツールを使用する場合に便利です。 + +## 利用可能なツール + +MCP サーバーはプロンプトに基づいて AI が自動的に使用するツール セットを公開します。これらのツールを直接呼び出す必要はありません。チャットで行いたいことを説明すると、アシスタントが適切なツールを選択します。この表は、作業を開始する前に何が利用可能かを確認するためのものです。 + +現在のパラメーターを含むライブリストを取得するには、次のように尋ねます: + +> _「Ignite UI CLI MCP が提供するツールは何ですか?」_ + +各ツールの概要: + +| ツール | 説明 | +| ------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `list_components` | フレームワーク向けの利用可能な Ignite UI コンポーネント ドキュメントをリスト表示します。名前、キーワード、サマリーに対する大文字と小文字を区別しない部分文字列検索のオプション キーワード フィルターを受け付けます。 | +| `get_doc` | kebab-case 名 (例: `grid-editing`、`combo-overview`) で特定のコンポーネント ドキュメントの完全な Markdown コンテンツを取得します。コード サンプル、テーブル、リンクを含みます。 | +| `search_docs` | フレームワークの Ignite UI ドキュメント全体をフル テキスト検索します。抜粋付きで最大 20 件のランク付き結果を返します。 | +| `get_project_setup_guide` | CLI の手順とインストール指示を含む、特定のフレームワークで新しいプロジェクトを作成するためのプロジェクト セットアップ ガイドを返します。 | +| `search_api` | Angular、React、Web Components 全体でキーワードまたはコンポーネント名で API エントリを検索します。 | +| `get_api_reference` | プロパティ、メソッド、イベントを含む特定のコンポーネントまたはクラスの完全な API リファレンスを返します。Angular、React、Web Components をサポートします。 | + +CLI MCP ツールは、大まかに次のことに役立ちます: + +- 新しいプロジェクトの作成 +- 既存のプロジェクトでの作業 +- コンポーネントの追加と変更 +- プロジェクト構造と設定の更新 +- ドキュメントと API に関する質問への回答 + +> [!NOTE] +> フレームワーク検出はコンポーネント プレフィックス: `for Angular`、`for React`、`for Web Components`、`for Blazor` を使用します。アシスタントは、開いているファイルまたはプロンプトのコンテキストから正しいフレームワークを自動的に検出します。 + +Theming サーバーは、同じクライアント セッションにスタイリング、テーマ、パレット、トークンのワークフローを追加します。 + +## 一般的なワークフロー + +次のセットアップ シナリオは、各開始点をいつ使用するかを示しています。 + +### CLI 先行のセットアップ + +最速のガイド付きセットアップが必要で、`.vscode/mcp.json` を自動生成したい場合は、まず Ignite UI CLI でプロジェクトを作成します。 + +シナリオ例: + +- _「まず Ignite UI CLI で新しいプロジェクトを作成し、生成されたプロジェクトを VS Code で開いて、MCP を使って続けたいです。」_ +- _「React プロジェクトが欲しいことがわかっているので、CLI で作成してから MCP を使ってページとコンポーネントを追加します。」_ + +### 空のフォルダーのセットアップ + +MCP 設定を追加した後にアシスタントにチャットからプロジェクトを作成させたい場合は、空のフォルダーから開始します。 + +シナリオ例: + +- _「完全に空のフォルダーがあり、MCP が接続されてからアシスタントにチャットでプロジェクト全体を作成させたいです。」_ +- _「Ignite UI CLI を先に手動で実行したくないので、MCP で最初のプロジェクト作成ステップを主導させます。」_ + +### 既存のプロジェクトのセットアップ + +現在のコードベースを維持しながら、プロジェクトの変更、コンポーネントの作業、ドキュメントの質問にアシスタントを使用したい場合は、既存のプロジェクトに MCP を接続します。 + +シナリオ例: + +- _「すでにプロジェクトがあり、アシスタントがページとコンポーネントを更新できるように MCP を追加するだけです。」_ +- _「プロジェクトはすでに存在しており、現在のコードベースで作業しながら主にドキュメントと API の質問をしたいです。」_ + +## トラブルシューティング + +**`npx` が認識されない** + +Node.js がインストールされていないか、現在のターミナル環境で使用できません。[nodejs.org](https://nodejs.org) から Node.js をインストールして、`node --version` で確認してください。 + +**`ig` が認識されない** + +グローバルな `ig` コマンドを使用する場合は、まず `npm install -g igniteui-cli` で Ignite UI CLI をインストールしてください。グローバル インストールを行わない場合は、代わりに `npx --package igniteui-cli igniteui ...` 形式を使用します。 + +**設定を保存した後、MCP ツールが表示されない** + +ワークスペースをリロードするか、エディターを再起動するか、AI クライアントを再起動してください。一部のクライアントでは、新しい MCP 設定ファイルを検出するために完全な再起動が必要です。 + +**1 つのサーバーが起動しない** + +設定の内容が、キー名と引数の順序を含めてサンプルと完全に一致していることを確認してください。 + +**プロジェクトは作成されたが、MCP 設定が VS Code のみ対応** + +Ignite UI CLI は CLI 先行パスで `.vscode/mcp.json` を書き込みます。Cursor、Claude Desktop、Claude Code、JetBrains、GitHub、または他の MCP クライアントを使用している場合は、そのクライアントの設定形式と場所に合わせて同じサーバー エントリをコピーしてください。 + +**アシスタントが間違ったフォルダーで作業している、またはプロジェクト ファイルが見つからない** + +AI クライアントがプロジェクト ルートを指していることを確認してください。エディター ベースのクライアントを使用している場合は、プロジェクト ルート フォルダーを開きます。デスクトップまたはチャット ファーストのクライアントを使用している場合は、正しいプロジェクト フォルダーをセッション コンテキストとして利用できるようにします。 + +**空のフォルダーのセットアップが期待どおりに動作しない** + +開始する前にフォルダーが実際に空であることを確認してください。フォルダーにすでにプロジェクト ファイルが含まれている場合は、新しい空のワークスペースとして扱うのではなく、既存のプロジェクト パスを使用します。 + +**GitHub MCP 設定が拒否される** + +JSON が `mcpServers` 構造を使用し、各ローカル サーバー エントリに `type`、`command`、`args` が含まれていることを確認してください。`tools` フィールドを含める場合は、有効なツール名または `["*"]` を使用します。 + +## その他のリソース + +- [Ignite UI を使用した AI 支援開発](./ai-assisted-development-overview.md) +- [Ignite UI for Angular スキル](./skills.md) +- [Ignite UI Theming MCP](./theming-mcp.md) + + + +コミュニティは常に活気があり、新しいアイデアを歓迎しています。 + +- [Ignite UI for Angular **フォーラム** (英語)](https://www.infragistics.com/community/forums/f/ignite-ui-for-angular) +- [Ignite UI for Angular **GitHub** (英語)](https://github.com/IgniteUI/igniteui-angular) diff --git a/jp/components/ai/maker-framework.md b/jp/components/ai/maker-framework.md new file mode 100644 index 0000000000..77ca612776 --- /dev/null +++ b/jp/components/ai/maker-framework.md @@ -0,0 +1,238 @@ +--- +title: MAKER Framework | Ignite UI AI オーケストレーション +_description: MAKER Framework は、Infragistics が提供するマルチエージェント AI オーケストレーション MCP サーバーです。OpenAI、Anthropic、Google AI プロバイダー間のコンセンサス ベースの投票を使用して、複雑なタスクを検証済みのステップ プランに分解します。 +_keywords: Angular, Ignite UI for Angular, Infragistics, MAKER, マルチエージェント, AI オーケストレーション, MCP, Model Context Protocol, コンセンサス投票, プラン アンド エグゼキュート, タスク分解 +_language: ja +_license: MIT +_canonicalLink: "{environment:dvUrl}/components/ai/maker-framework" +namespace: Infragistics.Controls +mentionedTypes: [] +--- + + + + + +# MAKER Framework + +MAKER Framework (`@igniteui/maker-mcp`) は、Infragistics が提供するマルチエージェント AI オーケストレーション MCP サーバーです。複数の AI エージェントにわたるコンセンサス ベースの投票アルゴリズムを使用して、複雑なタスクを検証済みで実行可能なステップ プランに分解します。MAKER は、Maximal Agentic decomposition (最大エージェント分解)、first-to-ahead-by-K Error correction (K ステップ先読みエラー修正)、Red-flagging (レッド フラギング) の頭文字を取ったものです。このフレームワークは、Cognizant AI Lab による研究論文 _Solving a million-step LLM task with zero errors_ に基づいています。`@igniteui` GitHub Packages レジストリから `npx` 経由で MCP サーバーとして実行され、STDIO トランスポートを通じて任意の MCP 互換 AI クライアントに接続します。接続すると、AI アシスタントは 3 つのツール (`plan`、`execute`、`plan_and_execute`) を呼び出して、自動エラー検出と修正を伴う長期タスクを実行できます。 + +MAKER Framework は Ignite UI コンポーネントのスキャフォールディング ツールではありません。Ignite UI プロジェクトの作成、コンポーネント生成、ドキュメント クエリには [CLI MCP サーバー](cli-mcp.md) を使用してください。MAKER はフレームワーク非依存であり、Angular、React、Web Components を特定のターゲットとせず、プロジェクトのソース ファイルを自律的に読み取ったり変更したりしません。少なくとも 1 つの AI プロバイダー API キー (OpenAI、Anthropic、または Google AI) と、`@igniteui` レジストリ用の `read:packages` スコープを持つ GitHub Personal Access Token が必要です。 + +## MAKER の仕組み + +MAKER Framework は、計画と実行という 2 つの順次フェーズで動作します。各フェーズは専用の内部 AI クライアント セットを使用し、同じコンセンサス ベースの投票メカニズムを適用して、次のフェーズに進む前に出力を検証します。 + +**計画フェーズ**では、計画クライアントがバッチ単位でステップを提案します (設定可能なバッチ サイズ、デフォルトは 3)。別の計画投票クライアントが「first-to-ahead-by-K」投票を実行します。複数の AI エージェントが提案されたステップに対して「Yes」、「No」、または「End」に投票します。1 つの結果が他の結果より K 票リードした場合に提案が承認されます。拒否された提案には、次の再試行で拒否理由が含まれ、計画が完了するかリトライ制限に達するまで継続的に改善されます。 + +**実行フェーズ**では、フレームワークが検証済みのステップ プランを設定可能なバッチで処理します。実行クライアントが各バッチを実行し、更新された状態を生成します。実行投票クライアントが、同じ K マージン投票アルゴリズムを使用して、新しい状態を前の状態と元のタスクに対して検証します。拒否された実行はフィードバックと共に再試行されます。最終的な累積状態がタスク結果となります。 + +レッド フラグ検証レイヤーは両フェーズを通じて動作します。すべての AI クライアント リクエストは、投票システムに入る前に応答に対して設定可能なバリデーターを実行するガード コールでラップされます。不正な形式または短すぎる応答は、失敗メッセージをプロンプトに追加して再試行されます。カスタム バリデーターは `IAIRedFlagValidator` を実装することで追加できます。 + +## MAKER MCP サーバーのインストール + +MAKER は `@igniteui` スコープ配下の GitHub Packages に公開されており、一度限りのレジストリ セットアップが必要です。マシンで次のコマンドを一度実行します: + +```bash +npm config set @igniteui:registry https://npm.pkg.github.com +``` + +次に `~/.npmrc` (Windows: `%USERPROFILE%\.npmrc`) を開き、`read:packages` スコープを持つ GitHub Personal Access Token を追加します: + +レジストリの設定が完了すると、MCP サーバーはグローバル インストールなしに `npx` 経由で実行されます。ネイティブ バイナリ (~50 MB) は初回実行時にダウンロードされてキャッシュされます。以降の起動は瞬時です。 + +## AI クライアントへの接続 + +AI クライアントの MCP 設定ファイルに `maker` サーバー エントリを追加します。`env` ブロックで AI プロバイダー キーを渡します。使用するプロバイダーのキーのみ設定してください。 + +### VS Code (GitHub Copilot) + +ワークスペースの `.vscode/mcp.json` に追加します: + +```json +{ + "servers": { + "maker": { + "command": "npx", + "args": ["-y", "@igniteui/maker-mcp", "--stdio"], + "env": { + "Executor__AIProviderKeys__OpenAI": "
diff --git a/jp/components/circular-progress.md b/jp/components/circular-progress.md
index 4481c4679a..0daeb1e52f 100644
--- a/jp/components/circular-progress.md
+++ b/jp/components/circular-progress.md
@@ -132,6 +132,9 @@ Ignite UI for Angular Progress Bar モジュールまたはディレクティブ
Ignite UI CLI MCP と Ignite UI Theming MCP を組み合わせることで、AI アシスタントがチャット プロンプトを通じて Ignite UI for Angular アプリケーションのスキャフォールド、拡張、テーマ設定を行えるようになります。CLI MCP はプロジェクトの作成、コンポーネント作業、およびドキュメントの質問を処理します。Theming MCP はパレット、テーマ、トークン、およびスタイリング ワークフローを処理します。このトピックでは、全体のプロセスをわかりやすい 1 つのフローで示します。
+ + + +## CLI MCP と Theming MCP の役割分担 + +CLI MCP と Theming MCP は、Ignite UI for Angular 開発ワークフローにおいて、それぞれ異なる役割を担う、機能が重複しない 2 つの独立した STDIO トランスポート MCP サーバーです。 + +| 機能 | サーバー | +| ----------------------------------------------------- | ----------- | +| プロジェクト構造の作成とスキャフォールド | CLI MCP | +| Ignite UI for Angular コンポーネントの追加または更新 | CLI MCP | +| コンポーネント API とドキュメントのクエリ | CLI MCP | +| カラー パレットとシェード バリエーションの生成 | Theming MCP | +| グローバル テーマ構成の作成と適用 | Theming MCP | +| コンポーネントレベルのデザイン トークンの生成 | Theming MCP | +| スペーシング、サイジング、ボーダー半径の調整 | Theming MCP | + +どちらのサーバーも自律的に手順を実行することはありません。AI アシスタントはプロンプトへの応答としてのみ MCP ツールを呼び出します。CLI MCP はテーマまたは Sass ファイルを生成または変更しません。Theming MCP はコンポーネントのスキャフォールド、アプリケーション ロジックの変更、またはドキュメントに関する質問への回答を行いません。両方のサーバーには STDIO トランスポートをサポートする MCP クライアントが必要です。ブラウザーのみのチャット インターフェースからは使用できません。 + +## 必要なもの + +開始する前に、以下を確認してください: + +- `npx` が使用可能な **Node.js** がインストールされていること +- MCP サポートがある対応 AI クライアント +- 初回使用時の `npx` パッケージ解決のためのインターネット アクセス +- プロジェクト用のフォルダー + +この手順は、Ignite UI CLI がプロジェクトをスキャフォールドし、VS Code の最初の MCP 構成を自動的に準備する **CLI ファースト** のセットアップで最も効果的に機能します。 + +各クライアントの詳細なセットアップ リファレンスが必要な場合は、「[Angular Schematics & Ignite UI CLI](~/components/general/cli-overview.md)」および「[Ignite UI Theming MCP](~/components/ai/theming-mcp.md)」を参照してください。 + +## 手順 1: Ignite UI CLI から開始する + +推奨される開始点は、まず Ignite UI CLI でプロジェクトを作成することです。 + +Ignite UI CLI は次のいずれかの方法で実行できます: + +### グローバル インストール + +```bash +npm install -g igniteui-cli +``` + +これにより、任意のターミナル セッションで `ig` コマンドが使用可能になります。 + +### グローバル インストールなしで実行 + +```bash +npx ig new +``` + +これはグローバルな `ig` コマンドの代わりに `npx` を通じて CLI を実行します。 + +オプションを案内してもらいたい場合は**ガイド モード**を使用できます: + +```bash +ig new +``` + +`npx` での同等形式: + +```bash +npx ig new +``` + +プロジェクト設定がわかっている場合は、直接コマンドを使用することもできます。 + +Angular の場合: + +```bash +ig new my-app --framework=angular +``` + +`npx` での同等形式: + +```bash +npx ig new my-app --framework=angular +``` + +次に行われること: + +- Ignite UI CLI がプロジェクト構造を作成する +- 必要なプロジェクト パッケージがインストールされる +- CLI ファースト の場合、VS Code が初期 `.vscode/mcp.json` を取得する + +## 手順 2: CLI MCP と Theming MCP を接続する + +プロジェクトが作成されたら、AI クライアントで両方の MCP サーバーが使用可能であることを確認します。 + +### VS Code + +```json +{ + "servers": { + "igniteui-cli": { + "command": "npx", + "args": ["-y", "igniteui-cli", "mcp"] + }, + "igniteui-theming": { + "command": "npx", + "args": ["-y", "igniteui-theming", "igniteui-theming-mcp"] + } + } +} +``` + +### Cursor、Claude Desktop、Claude Code、JetBrains、その他の MCP クライアント + +```json +{ + "mcpServers": { + "igniteui-cli": { + "command": "npx", + "args": ["-y", "igniteui-cli", "mcp"] + }, + "igniteui-theming": { + "command": "npx", + "args": ["-y", "igniteui-theming", "igniteui-theming-mcp"] + } + } +} +``` + +構成を保存した後、AI クライアントを再起動して、`igniteui-cli` と `igniteui-theming` の両方が利用可能であることを確認します。 + +## 手順 3: アシスタントにプロジェクトを確認させる + +両方の MCP サーバーが実行中になったら、新しいチャットを開き、プロジェクトレベルのコンテキストを提供することから始めます。 + +有用なプロンプト: + +> _「このプロジェクトを確認して、機能を追加する前に現在の構造を説明してください。」_ + +> _「何が作成されたか、メイン エントリ ポイントはどこか、新しいページをどこに追加すべきかを教えてください。」_ + +次に行われること: + +- CLI MCP が生成済みまたは既存のプロジェクトを分析する +- アシスタントが構造を要約する +- 次のステップに向けた共通の基盤が整う + +## 手順 4: チャットを通じて実際の機能を追加する + +プロジェクト構造が明確になったら、具体的な機能を要求します。 + +プロンプト例: + +> _「Ignite UI for Angular グリッドを含む Orders ページを追加してください。Order ID、Customer Name、Order Date、Total Amount の列を含め、グリッドをサンプル データにバインドしてください。」_ + +フォローアップ プロンプト: + +> _「Orders グリッドのフィルタリング、ソート、ページングを有効にし、ページのレイアウトをアプリの他の部分と一致させてください。」_ + +次に行われること: + +- CLI MCP が適切なページを追加または更新する +- アシスタントがコンポーネント コードを作成または更新する +- 機能が既存のアプリ構造に統合される + +小さな改善を続けることもできます: + +> _「グリッドの上にシンプルなツールバーを追加し、レイアウトをコンパクトに保ってください。」_ + +## 手順 5: 同じセッションでドキュメントの質問をする + +コンポーネント API を調べるために会話を離れる必要はありません。 + +プロンプト例: + +> _「Angular グリッドではどのようなフィルタリング オプションがサポートされていて、シンプルな Orders テーブルに最適なものはどれですか?」_ + +> _「コンボコンポーネントはどのようなイベントを公開しており、選択変更にはどのイベントを使用すればよいですか?」_ + +> _「サイド ナビゲーション レイアウトに最適な Ignite UI for Angular コンポーネントはどれですか、その理由は?」_ + +次に行われること: + +- CLI MCP がドキュメント対応ツールを使用して質問に回答する +- その直後に実装依頼を行うことができます + +例えば: + +> _「現在の Orders グリッドに推奨されるフィルタリング アプローチを適用してください。」_ + +## 手順 6: カスタム テーマを適用する + +アプリ構造とメイン機能が整ったら、同じチャットで Theming MCP に切り替えます。 + +プロンプト例: + +> _「アプリにプロフェッショナルなテーマを適用してください。ディープ ブルーのプライマリ カラー、ウォーム アンバーのセカンダリ カラーを使用し、スペーシングはコンパクトに保ってください。」_ + +次に行われること: + +- Theming MCP がパレットとテーマ構成を生成する +- アシスタントが適切なテーマまたはスタイル ファイルを更新する +- アプリのスタイリングが現在の構造と整合性を保つ + +より的を絞ったプロンプトでテーマをさらに改良できます: + +> _「グリッド ヘッダーにプライマリ カラーを使用し、行の高さを少し高くして、ページの他の部分は視覚的にすっきりとした印象を保ってください。」_ + +> _「グリッドのスタイリングを改良する前に、生成されたプライマリとセカンダリのパレット シェードを表示してください。」_ + +## 手順 7: 繰り返し改善する + +このワークフローの最も強力な部分は、1 つの会話の中でプロジェクト作業、ドキュメントの質問、テーマ設定を行き来できることです。 + +プロンプト例: + +> _「現在の Orders ページ構造を維持しながら、レイアウトを簡素化し、フィルター エリアをよりコンパクトにしてください。」_ + +> _「現在のテーマを使用しながら、ダッシュボード カードとグリッドの間隔をアプリの他の部分とより統一感のあるものにしてください。」_ + +> _「生成されたファイルを確認し、プロジェクト、コンポーネント、およびテーマに対して行った主な変更点について説明してください。」_ + +次に行われること: + +- CLI MCP がプロジェクトとコンポーネントを改良する +- Theming MCP がテーマとトークンを改良する +- アシスタントがワークフロー全体をエンド ツー エンドで接続し続ける + +## トピックのまとめ + +このワークフローは、プロジェクトのセットアップ、コンポーネント作業、ドキュメントの検索、テーマ設定を 1 つのチャット セッションにまとめたい場合に効果的です。 + +以下の場合に使用してください: + +- 孤立したコード スニペットではなく、実際のプロジェクト スキャフォールドから開始したい場合 +- 実装とドキュメントに関する質問を交互に行うことが予想される場合 +- プロジェクト構造と視覚的なスタイルを一緒に発展させたい場合 + +実際には、最も効果的なパターンは、プロジェクトとコンポーネントの変更にはCLI MCPを使用し、必要に応じてドキュメントに関する質問のために一時停止し、その後、同じ会話を離れることなく Theming MCP を使用して結果を改良することです。 + +## 関連トピック + +- [Angular Schematics & Ignite UI CLI](~/components/general/cli-overview.md) +- [Ignite UI Theming MCP](~/components/ai/theming-mcp.md) +- [Ignite UI for Angular スキル](~/components/ai/skills.md) + + + +コミュニティに参加して新しいアイデアをご提案ください。 + +- [Ignite UI for Angular **フォーラム** (英語)](https://www.infragistics.com/community/forums/f/ignite-ui-for-angular) +- [Ignite UI for Angular **GitHub** (英語)](https://github.com/IgniteUI/igniteui-angular) diff --git a/jp/components/grid/grid.md b/jp/components/grid/grid.md index 172e799a5e..18f2b8abb1 100644 --- a/jp/components/grid/grid.md +++ b/jp/components/grid/grid.md @@ -232,6 +232,9 @@ public contextObject = { firstProperty: 'testValue', secondProperty: 'testValue1 ``` +> [!NOTE] +> このコンポーネントはマテリアル アイコンを使用します。`index.html` に次のリンクを追加してください: `` + **draggable** 属性を false に設定して追加しています。 ### セル テンプレート diff --git a/jp/components/hierarchicalgrid/hierarchical-grid.md b/jp/components/hierarchicalgrid/hierarchical-grid.md index 434894270e..b4e7df6206 100644 --- a/jp/components/hierarchicalgrid/hierarchical-grid.md +++ b/jp/components/hierarchicalgrid/hierarchical-grid.md @@ -23,8 +23,11 @@ Ignite UI for Angular Hierarchical Data Grid は、階層表形式データの ## Ignite UI for Angular Hierarchical Data Grid を使用した作業の開始 ->[!NOTE] ->このコンポーネントは、**オプションで** [`HammerModule`](https://angular.io/api/platform-browser/HammerModule) を利用できます。タッチ操作が正しく動作するために、アプリケーションのルート モジュールにインポートできます。 +> [!NOTE] +> このコンポーネントは、**オプションで** [`HammerModule`](https://angular.io/api/platform-browser/HammerModule) を利用できます。タッチ操作が想定通りに動作するために、アプリケーションのルート モジュールにインポートできます。 + +> [!NOTE] +> このコンポーネントはマテリアル アイコンを使用します。`index.html` に次のリンクを追加してください: `` Ignite UI for Angular Hierarchical Data Grid コンポーネントを使用した作業を開始するには、Ignite UI for Angular をインストールする必要があります。既存の Angular アプリケーションで、以下のコマンドを入力します。 diff --git a/jp/components/icon-button.md b/jp/components/icon-button.md index 5d902ab7e8..0b64c23f2d 100644 --- a/jp/components/icon-button.md +++ b/jp/components/icon-button.md @@ -51,6 +51,9 @@ import { IgxIconButtonDirective } from 'igniteui-angular/directives'; export class HomeComponent {} ``` +> [!NOTE] +> このコンポーネントはマテリアル アイコンを使用します。`index.html` に次のリンクを追加してください: `` + Ignite UI for Angular Icon Button ディレクティブをインポートしたので、要素で `igxIconButton` ディレクティブの使用を開始できます。 ## Angular Icon Button のタイプ diff --git a/jp/components/icon-service.md b/jp/components/icon-service.md index 39d46df8e0..34197cb441 100644 --- a/jp/components/icon-service.md +++ b/jp/components/icon-service.md @@ -65,6 +65,9 @@ iconService.setFamily('fa-solid', { className: 'fas', type: 'font', prefix: 'fa'