Update ai-config skills copy messaging w/ up-to-date/failed, don't call in step-by-step#1641
Merged
damyanpetev merged 2 commits intomasterfrom Apr 20, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the ai-config workflow to better report AI skills synchronization results (up-to-date vs updated vs failed) and skips copying skills during the step-by-step project flow (since skills are currently included in templates).
Changes:
- Refactors
copyAISkillsToProject()to return structured copy results (found/skipped/failed) and only write when content differs. - Updates CLI
ai-configoutput messaging based on copy results (no source, failures, up-to-date). - Adjusts step-by-step flow to call
ai-configwithout skills, plus corresponding unit test updates.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| spec/unit/ai-skills-spec.ts | Adds spies for logging and a new test for “up-to-date” skip behavior. |
| spec/unit/PromptSession-spec.ts | Updates expectations to ensure aiConfig.configure(false) is used from PromptSession. |
| packages/core/util/ai-skills.ts | Changes skills copy to diff-based writes and returns a structured result object. |
| packages/cli/lib/commands/ai-config.ts | Updates user-facing messaging and makes skills copying optional via configure(skills = true). |
| packages/cli/lib/PromptSession.ts | Skips skills configuration during step-by-step by calling aiConfigure(false). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Contributor
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
4b91dc9 to
56339f0
Compare
kdinev
approved these changes
Apr 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Update ai-config skills copy messaging to account for up-to-date files and possible failures.
Also made optional and skipped when called from Step-by-step, since the skills are in the template anyway ATM.
Type of 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
npm run test)npm run build)npm run lint)Additional Context