Skip to content

feat(ai-config): Add skills for Blazor through ai-config command#1688

Merged
damyanpetev merged 7 commits into
masterfrom
mstoyanova/add_blazor_submodules
May 15, 2026
Merged

feat(ai-config): Add skills for Blazor through ai-config command#1688
damyanpetev merged 7 commits into
masterfrom
mstoyanova/add_blazor_submodules

Conversation

@Marina-L-Stoyanova
Copy link
Copy Markdown
Contributor

@Marina-L-Stoyanova Marina-L-Stoyanova commented May 14, 2026

Description

Adding ai-config template for Blazor. This will enable copy of skill files for Blazor through ai-config command. Also add Blazor to update-skills build , so we can get latest skill files.

Related Issue

Closes #

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Refactoring / code cleanup
  • Build / CI configuration change

Affected Packages

  • igniteui-cli (packages/cli)
  • @igniteui/cli-core (packages/core)
  • @igniteui/angular-templates (packages/igx-templates)
  • @igniteui/angular-schematics (packages/ng-schematics)
  • @igniteui/mcp-server (packages/igniteui-mcp)

Checklist

  • I have tested my changes locally (npm run test)
  • I have built the project successfully (npm run build)
  • I have run the linter (npm run lint)
  • I have added/updated tests as needed
  • My changes do not introduce new warnings or errors

Additional Context

@coveralls
Copy link
Copy Markdown

coveralls commented May 14, 2026

Coverage Status

coverage: 87.226% (-0.1%) from 87.329% — mstoyanova/add_blazor_submodules into master

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds first-class Blazor support to the CLI’s ai-config flow by introducing a hidden Blazor framework template and wiring skill-file updates/detection so Blazor projects can copy bundled AI skills/instructions and keep them up to date.

Changes:

  • Added Blazor template scaffolding (hidden framework + igb project library) with an ai-config partial template containing AGENTS + skills.
  • Added Blazor detection via *.csproj scanning and extended AI skills copying logic/tests accordingly.
  • Extended update-skills script and repo submodules to include Blazor skills source.

Reviewed changes

Copilot reviewed 41 out of 41 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
spec/unit/detect-framework-spec.ts Adds unit tests for Blazor .csproj detection.
spec/unit/ai-skills-spec.ts Adds tests ensuring Blazor skills are copied from template files and can be detected without local config.
scripts/update-skills.ts Adds Blazor mapping so skills can be synced from the Blazor doc repo into the Blazor ai-config template.
packages/core/util/detect-framework.ts Introduces detectBlazorFromCsproj() helper.
packages/core/util/ai-skills.ts Integrates Blazor detection and template-based skills/instructions resolution.
packages/core/types/Framework.ts Adds optional hidden?: boolean to allow hiding frameworks from prompts/choices.
packages/core/templates/BaseTemplateManager.ts Updates framework listing APIs to optionally exclude hidden frameworks by default.
packages/cli/templates/blazor/.editorconfig Adds Blazor template-local EditorConfig settings.
packages/cli/templates/blazor/index.ts Registers a hidden Blazor framework entry for the CLI template manager.
packages/cli/templates/blazor/igb/index.ts Adds the Blazor igb project library wrapper.
packages/cli/templates/blazor/igb/projects/ai-config/index.ts Adds a hidden Blazor ai-config partial template exposing templatePaths for copying files.
packages/cli/templates/blazor/igb/projects/ai-config/files/AGENTS.md Adds Blazor AGENTS instructions file (template root).
packages/cli/templates/blazor/igb/projects/ai-config/files/skills/AGENTS.md Adds Blazor AGENTS instructions file (skills folder copy).
packages/cli/templates/blazor/igb/projects/ai-config/files/skills/README.md Documents available Blazor skills and where to place instruction files per AI tool.
packages/cli/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/SKILL.md Adds Blazor components skill hub (routing/protocol + references).
packages/cli/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/references/setup.md Adds Blazor setup/registration reference for components skill.
packages/cli/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/references/mcp-setup.md Adds MCP setup reference for igniteui-cli in components skill.
packages/cli/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/references/layout.md Adds layout/navigation reference for components skill.
packages/cli/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/references/layout-manager.md Adds Dock/Tile manager reference for components skill.
packages/cli/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/references/form-controls.md Adds form controls reference for components skill.
packages/cli/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/references/feedback.md Adds dialogs/snackbar/toast/banner reference for components skill.
packages/cli/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/references/data-display.md Adds data-display reference for components skill.
packages/cli/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/references/charts.md Adds charts/DV reference for components skill.
packages/cli/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-grids/SKILL.md Adds Blazor grids skill hub (routing/protocol + references).
packages/cli/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-grids/references/structure.md Adds grid structure/setup/sorting/filtering/selection reference.
packages/cli/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-grids/references/features.md Adds grid features reference (grouping/export/toolbar/etc.).
packages/cli/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-grids/references/types.md (Not shown in diff excerpt) Adds grid types reference if included in PR.
packages/cli/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-grids/references/data-operations.md Adds programmatic sort/filter/group reference.
packages/cli/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-grids/references/editing.md Adds editing/validation reference.
packages/cli/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-grids/references/paging-remote.md Adds paging/remote ops/virtualization reference.
packages/cli/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-grids/references/state.md Adds state persistence reference.
packages/cli/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-grids/references/sizing.md Adds sizing/cell spacing reference.
packages/cli/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-grids/references/mcp-setup.md Adds MCP setup reference for grids skill.
packages/cli/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-theming/SKILL.md Adds Blazor theming skill hub + MCP-driven workflow.
packages/cli/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-theming/references/mcp-setup.md Adds theming MCP setup reference.
packages/cli/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-theming/references/common-patterns.md Adds common theming patterns reference.
packages/cli/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-generate-from-image-design/SKILL.md Adds image-to-view generation skill hub for Blazor.
packages/cli/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-generate-from-image-design/references/gotchas.md Adds Blazor gotchas/pitfalls reference for image-driven generation.
packages/cli/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-generate-from-image-design/references/component-mapping.md Adds component mapping reference for image-driven generation.
.gitmodules Adds Blazor igniteui-blazor submodule under igniteui-doc-mcp.
Comments suppressed due to low confidence (1)

packages/core/util/ai-skills.ts:224

  • resolveAgentsContent() prefers Blazor whenever a *.csproj is present, even if package.json clearly indicates an Angular/React project. This can cause the wrong AGENTS.md template to be copied in mixed repos. It would be safer to reuse the same framework resolution logic as resolveSkillsRoots() (or factor out a shared resolver) so AGENTS selection and skills selection stay consistent and only pick Blazor as a fallback when other frameworks cannot be determined.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread packages/core/util/ai-skills.ts Outdated
Comment thread packages/core/util/detect-framework.ts
Comment thread packages/cli/templates/blazor/.editorconfig Outdated
Copy link
Copy Markdown
Member

@damyanpetev damyanpetev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Changelong + Readme updates :)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this is being refactored anyway, can you please drop the blazor detection tests in this spec entirely.

Instead, please add tests for the blazor project partial like the other frameworks have that guarantees we have the expected structure :)

@damyanpetev damyanpetev changed the title feat(blazor): Add skills for Blazor through ai-config command feat(ai-config): Add skills for Blazor through ai-config command May 15, 2026
Marina-L-Stoyanova and others added 3 commits May 15, 2026 10:47
- Created a new markdown file detailing common issues and solutions when using Ignite UI Angular components, including Sass conflicts, chart properties, theming pitfalls, and dark theme specifics.

Update Ignite UI Angular grids documentation

- Added a reference to grid sizing in the SKILL.md file.
- Increased the height of the hierarchical grid example from 600px to 800px.
- Set the height of the sorting example grid to 500px.

Create sizing reference for Ignite UI Angular grids

- Introduced a new markdown file covering grid width, height, column sizing, and cell spacing control, including key rules for effective grid sizing.

Refactor Ignite UI Angular theming documentation

- Removed outdated contributing guidelines from the SKILL.md file.
- Deleted the contributing reference file as it was no longer needed.
@damyanpetev damyanpetev merged commit 2cbc962 into master May 15, 2026
3 checks passed
@damyanpetev damyanpetev deleted the mstoyanova/add_blazor_submodules branch May 15, 2026 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants