Improve Copilot instructions and agent. Introduce common, useful skills #9064
Merged
Conversation
- Extract domain knowledge from cve-audit agent into reusable cve-remediation skill - Slim cve-audit agent to reference skill (no duplicated domain knowledge) - Expand merge conflict skill with gaps identified from real Mergify PRs: pnpm-config.json, common/api/*.api.md, rush change files, CI configs, cherry-pick workflow, combined backports, rollback guidance Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Remove discoverable content (full package catalog, common patterns, debugging tips). Add missing guardrails: internal/cross-package export pattern, ESLint config location, CI pipeline paths. 344 → 219 lines. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Mergify posts generic comment, not file list — use git status - Package.json guidance: use workspace:* for internal deps - CVE skill: update stale example, label as illustrative Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.
You can also share your feedback on Copilot code review. Take the survey.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
ben-polinsky
approved these changes
Mar 5, 2026
Contributor
|
Do we have any note of agents/skills in our readme? |
Contributor
Author
No, but also - who would it be for? Devs could discover it naturally through the CLI or VS Code UI, and agentic tools will load them already |
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.
Reviewed the existing merge conflict skill and CVE audit agent, found a few gaps and some overlap. This PR restructures them and trims the copilot instructions.
Changes
New:
cve-remediationskill (.github/skills/cve-remediation/)pnpm-config.jsonstructure (globalOverrides,ignoreCves), fix strategies (direct vs transitive), severity policy, validation workflowsUpdated:
cve-auditagentcve-remediationskillUpdated:
merge-conflict-resolvingskillpnpm-config.jsonconflicts (the most common conflict type in security backports — was completely missing)common/api/*.api.md— generated API signature filescommon/changes/@itwin/— rush change files.github/CI config conflictsTrimmed:
copilot-instructions.md(344 → 219 lines)rush.jsonand the codebase itselfcross-package.ts+@itwin/no-internal-barrel-imports)common/config/eslint/)