feat(schematics): add AI coding skills prompt to ng-add schematic#16945
Draft
feat(schematics): add AI coding skills prompt to ng-add schematic#16945
Conversation
Add addAISkills boolean prompt (default true) to ng-add schema that allows users to scaffold AI instruction files for their IDE during ng add igniteui-angular. Users can choose between Copilot, Claude, Cursor, or a custom path. Existing files are not overwritten. Includes unit tests covering all agent types, opt-out, no-overwrite, default agent, and custom path scenarios. Co-authored-by: zdrawku <11193764+zdrawku@users.noreply.github.com>
Co-authored-by: zdrawku <11193764+zdrawku@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add AI coding skills prompt to cli-config schematic
feat(schematics): add AI coding skills prompt to ng-add schematic
Feb 23, 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.
Extends
ng add igniteui-angularto optionally scaffold AI coding assistant instruction files into the user's project during installation.Schema prompts
addAISkills— boolean, defaulttrue. Asks: "Would you like to add AI coding skills for your IDE?"aiSkillsAgent— list selection: GitHub Copilot, Claude, Cursor, or custom pathcustomSkillsPath— string, no prompt (CLI-only--customSkillsPath=...for custom agent)Agent → target path mapping
copilot.github/copilot-instructions.mdclaudeCLAUDE.mdcursor.cursor/skills/igniteui-angular.mdcustomChanges
projects/igniteui-angular/skills/igniteui-angular.md— source skills file shipped with the package (content mirrors.github/copilot-instructions.md)schematics/ng-add/add-ai-skills.ts— reads source from../../skills/igniteui-angular.mdrelative to__dirname, writes to agent-specific path, skips if target existsschematics/ng-add/schema.json— three new properties with promptsschematics/interfaces/options.ts— addedaddAISkills,aiSkillsAgent,customSkillsPathschematics/ng-add/index.ts— chainsaddAISkillsrule betweenaddDependenciesandinstallPackageJsonDependenciesgulpfile.js—copySchematicstask now also copiesskills/directory to distindex.spec.ts— 10 new tests: per-agent file creation, opt-out, no-overwrite for each agent, default fallback, empty custom path handlingOriginal prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.