fix: ask identity setup values one per question in Copilot prompts - #300
Merged
Alexander Zaslonov (azaslonov) merged 1 commit intoSep 25, 2026
Conversation
The GitHub Actions and Azure DevOps identity setup prompt files now tell Copilot to ask for each variable in its own question instead of bundling several values into one NAME= template, which was unclear to users.
Copilot started reviewing on behalf of
Alexander Zaslonov (azaslonov)
September 25, 2026 16:12
View session
Contributor
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The prompt changes match the stated usability goal and are covered by focused tests.
Review effort: Balanced
Findings: None
What changed in this PR
Updates identity setup prompts to collect configuration values individually, improving usability in GitHub Copilot Chat.
Changes:
- Adds one-value-per-question guidance for GitHub Actions and Azure DevOps.
- Adds tests confirming both generated prompts include the guidance.
| File | Description |
|---|---|
src/templates/copilot/identity-setup-prompt-github-actions.md |
Adds individual-value collection instructions. |
src/templates/copilot/identity-setup-prompt-azure-devops.md |
Adds individual-value and option-selection instructions. |
tests/unit/templates/copilot/identity-setup-prompt.test.ts |
Tests guidance inclusion for both providers. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Tuan Nguyen (atuannguyen1101)
approved these changes
Sep 25, 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.
Summary
When running the identity setup prompt files in GitHub Copilot Chat, Copilot bundled several variables into one question with a
NAME=template to fill in (for exampleAPIM_RG_PRODUCTION=/APIM_NAME_PRODUCTION=, orGITHUB_ORG=/GITHUB_REPO=). Users could not tell whether to copy the template and fill in each line.This PR tells Copilot to ask for each value in its own question.
Changes
src/templates/copilot/identity-setup-prompt-github-actions.md(Step 1): added "Ask for one value per question" rules: one variable per question, noNAME=templates, describe each value with an example, accept the plain value, and offer detected values as the suggested answer.src/templates/copilot/identity-setup-prompt-azure-devops.md(Step 1): same rules, plus ask per environment whether Option A or Option B will be used before asking for its values one at a time.tests/unit/templates/copilot/identity-setup-prompt.test.ts: tests covering both providers.Validation
npm test: 60 files, 1513 tests passednpm run lint: cleanCode review
Requesting the mandatory code review for
src/andtests/changes.Related Issue(s)
None (addresses usability feedback).