Skip to content

refactor: update documentation to include get_example for working cod… - #2318

Open
Marina-L-Stoyanova wants to merge 2 commits into
masterfrom
mstoyanova/adding-get-example-to-skills
Open

refactor: update documentation to include get_example for working cod…#2318
Marina-L-Stoyanova wants to merge 2 commits into
masterfrom
mstoyanova/adding-get-example-to-skills

Conversation

@Marina-L-Stoyanova

Copy link
Copy Markdown
Contributor

…e and clarify usage patterns

Description

Updating skill files by adding the new MCP tool 'get_example' with explanation how and when the agents should use it.

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

Updates multiple Ignite UI Web Components skill documents to introduce the new get_example MCP tool and clarify when to use get_example vs get_doc (and get_api_reference) while guiding agents toward verified, non-memory-based implementations.

Changes:

  • Adds get_example guidance for retrieving concise working code examples (often with language: "ts" to reduce response size).
  • Refines documentation to position get_doc as explanation/context and get_api_reference as exhaustive API reference.
  • Updates MCP lookup “patterns” across skills and reference docs to include get_example.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
skills/igniteui-wc-migrate-grid-lite-to-premium/SKILL.md Adds get_example guidance for migration workflow; needs cleanup for frontmatter/tool naming consistency.
skills/igniteui-wc-generate-from-image-design/SKILL.md Updates mandatory protocol and lookup steps to use get_example for working code and get_doc for context.
skills/igniteui-wc-generate-from-image-design/references/gotchas.md Updates chart MCP lookup pattern and guidance to include get_example.
skills/igniteui-wc-generate-from-image-design/references/component-mapping.md Updates MCP lookup pattern and import guidance to reference get_example/get_doc.
skills/igniteui-wc-choose-components/SKILL.md Updates catalogue instructions and tool descriptions/snippets to include get_example.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@@ -1,4 +1,4 @@
---
---

1. **Identify the current Grid Lite usage** - read the user's existing TypeScript and HTML files to understand their column configuration, cell templates, data binding, and any `dataPipelineConfiguration` usage.
2. **Use the MCP server** - call `mcp_igniteui-cli_get_api_reference` or `mcp_igniteui-cli_get_doc` (framework: `webcomponents`) to verify current API details when in doubt.
2. **Use the MCP server** - call `mcp_igniteui-cli_get_example` for working code examples, `mcp_igniteui-cli_get_api_reference` for API details, or `mcp_igniteui-cli_get_doc` (framework: `webcomponents`) for explanation context when in doubt.
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