Skip to content

fix(skill): update skills - adding get_example for component example look up - #17489

Open
Marina-L-Stoyanova wants to merge 2 commits into
masterfrom
mstoyanova/skill-update-get-examples
Open

fix(skill): update skills - adding get_example for component example look up#17489
Marina-L-Stoyanova wants to merge 2 commits into
masterfrom
mstoyanova/skill-update-get-examples

Conversation

@Marina-L-Stoyanova

Copy link
Copy Markdown
Contributor

Motivation / Context

Updating the skill files to used the new get_example MCP tool

Type of Change (check all that apply):

  • Bug fix
  • New functionality
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactoring (no functional changes)
  • Documentation
  • Demos
  • CI/CD
  • Tests
  • Changelog
  • Skills/Agents

Component(s) / Area(s) Affected:

How Has This Been Tested?

  • Unit tests
  • Manual testing
  • Automated e2e tests

Test Configuration:

  • Angular version:
  • Browser(s):
  • OS:

Screenshots / Recordings

Checklist:

  • All relevant tags have been applied to this PR
  • This PR includes unit tests covering all the new code (test guidelines)
  • This PR includes API docs for newly added methods/properties (api docs guidelines)
  • This PR includes feature/README.MD updates for the feature docs
  • This PR includes general feature table updates in the root README.MD
  • This PR includes CHANGELOG.MD updates for newly added functionality
  • This PR contains breaking changes
  • This PR includes ng update migrations for the breaking changes (migrations guidelines)
  • This PR includes behavioral changes and the feature specification has been updated with them
  • Accessibility (ARIA, keyboard navigation, focus management) has been verified

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates multiple Ignite UI for Angular agent skill guides to prefer the new get_example Ignite UI CLI MCP tool for retrieving working code samples, while keeping get_doc as a fallback when narrative/explanatory context is needed.

Changes:

  • Switched several “look up docs first” instructions from get_doc to get_example, with get_doc as an explicit fallback for explanation-heavy scenarios.
  • Updated CLI MCP guidance in the components/grids skills to describe when to use get_example vs get_doc (and recommending the language parameter to reduce response size).
  • Updated image/figma workflow skills to require get_example before generating component code.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
skills/igniteui-angular-grids/SKILL.md Updates required workflow and overview guidance to prefer get_example for grid-related code lookups.
skills/igniteui-angular-generate-from-image-design/SKILL.md Updates pre-coding checklist and component lookup steps to use get_example first.
skills/igniteui-angular-figma-to-app/SKILL.md Updates doc-fetching workflow to call get_example (with get_doc fallback); one internal consistency issue remains (comment added).
skills/igniteui-angular-components/SKILL.md Updates Ignite UI CLI MCP server description and required workflow to prefer get_example for working code.

Comment on lines 381 to +385

Call `list_components({ framework: "angular" })` **once** to discover which component
families have full docs — **the catalog covers only a subset of components**. Then:

- For families **with** a doc: call `get_doc({ framework: "angular", name: "<doc-name>" })`,
all in a single parallel batch — never sequentially.
- For families **with** a doc: call `get_example({ framework: "angular", name: "<doc-name>" })` (or `get_doc` when explanation context matters), all in a single parallel batch — never sequentially.
Copilot AI review requested due to automatic review settings August 6, 2026 14:56

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated no new comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants