fix: add modify/feature routing to azure-hosted-copilot-sdk - #1679
Merged
Jon Gallant (jongio) merged 1 commit intoApr 2, 2026
Merged
Conversation
Add trigger keywords and routing guidance for modify/add-feature prompts in existing Copilot SDK codebases. Previously, prompts like 'Add a new feature to this app' would not route to this skill even when the codebase contained @github/copilot-sdk markers. Changes: - Description: add 'modify', 'add feature' trigger keywords (v1.0.4) - Codebase Detection: broaden from deploy-only to ANY prompts - Warning: explicitly list deploy, modify, add feature, update, enhance - Step 1 routing table: add 'Modify/add features' row - Snapshot: updated for new extracted keywords Fixes microsoft#1385 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the azure-hosted-copilot-sdk skill routing signals so it can be selected for “modify/add-feature” intents in existing GitHub Copilot SDK codebases, addressing invocation failures like #1385.
Changes:
- Expanded the skill frontmatter description triggers to include modify/add-feature intent language.
- Broadened the skill’s codebase-detection guidance/warnings to cover non-deploy prompts for existing repos.
- Bumped skill version and updated trigger keyword snapshots.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
plugin/skills/azure-hosted-copilot-sdk/SKILL.md |
Adds modify/add-feature routing language and broadens codebase-detection guidance; bumps version. |
tests/azure-hosted-copilot-sdk/__snapshots__/triggers.test.ts.snap |
Updates snapshots to reflect newly extracted keywords from the skill description. |
kvenkatrajan
approved these changes
Apr 2, 2026
Jon Gallant (jongio)
deleted the
fix/azure-hosted-copilot-sdk-modify-routing-1385
branch
April 2, 2026 23:34
Barbara 4bes (Ba4bes)
pushed a commit
to Ba4bes/GitHub-Copilot-for-Azure
that referenced
this pull request
Apr 24, 2026
…t#1679) Add trigger keywords and routing guidance for modify/add-feature prompts in existing Copilot SDK codebases. Previously, prompts like 'Add a new feature to this app' would not route to this skill even when the codebase contained @github/copilot-sdk markers. Changes: - Description: add 'modify', 'add feature' trigger keywords (v1.0.4) - Codebase Detection: broaden from deploy-only to ANY prompts - Warning: explicitly list deploy, modify, add feature, update, enhance - Step 1 routing table: add 'Modify/add features' row - Snapshot: updated for new extracted keywords Fixes microsoft#1385 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.
Summary
Fixes #1385 —
azure-hosted-copilot-sdkwas not being invoked for modify/add-feature prompts in existing Copilot SDK codebases (0% invocation rate onexisting-sdk-modifytest).Root Cause
The skill's description triggers and routing guidance were scoped exclusively to deploy scenarios. A prompt like "Add a new feature to this app that summarizes pull requests" has zero keyword overlap with the existing triggers (
copilot SDK,deploy copilot app, etc.), and the codebase detection warning only mentioned "generic deploy prompts."The LLM router had no signal — from triggers or skill body — to route modify-intent prompts to this skill, even when the codebase contained
@github/copilot-sdkmarkers.Changes
azure-hosted-copilot-sdk/SKILL.mdmodify,add featureto description triggersazure-hosted-copilot-sdk/SKILL.mdazure-hosted-copilot-sdk/SKILL.mdazure-hosted-copilot-sdk/SKILL.mdazure-hosted-copilot-sdk/SKILL.mdtriggers.test.ts.snapfeature,modify)Testing
Relationship to PR #1644
PR #1644 (merged) fixed the deploy-prompt routing regression (#1599) by restoring the
DO NOT USE FORclause and adding codebase detection. This PR extends that work to also cover modify/feature prompts, which is a separate failure mode identified in #1385.