Consolidate prompt template files into unified prompts.go#5684
Merged
Conversation
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Consolidate prompt template files into unified prompts.go
Consolidate prompt template files into unified prompts.go
Dec 6, 2025
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.
Merged 5 small prompt template files (14-61 lines each) into a single
prompts.gofor better discoverability and maintainability.Changes
Consolidated into
pkg/workflow/prompts.go:generateSafeOutputsPromptStep)generateCacheMemoryPromptStep)hasEditTool,generateEditToolPromptStep)hasPlaywrightTool,generatePlaywrightPromptStep)generatePRContextPromptStep,hasCommentRelatedTriggers)Organized by feature area:
Test consolidation:
prompts_test.goImpact
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:
https://api.github.com/user/usr/bin/gh gh api user --jq .login -json GO111MODULE me-repo GOINSECURE GOMOD GOMODCACHE go env -json GO111MODULE che/go-build/bd/bda8c36ddea964ffbabcba4fac37dbe1024b8b9bfc7dead6065e89ae76325ddf-d/gh-aw by/28675739f792egh GOMOD GOMODCACHE che/go-build/bd/--json(http block)/usr/bin/gh gh api user --jq .login -json d/gh-aw/main.go ps GOINSECURE GOMOD GOMODCACHE ps ns/s�� ns/setup.git GO111MODULE /opt/hostedtoolcache/go/1.25.0/x64/bin/go GOINSECURE GOMOD GOMODCACHE go(http block)/usr/bin/gh gh api user --jq .login mplates from .github to pkg/cli//run/containerd/io.containerd.runtime.v2.task/moby/28675739f792egh GO111MODULE c0ad668813129b8895bfb17f2766151215e/log.json GOINSECURE GOMOD GOMODCACHE go env e=false GO111MODULE /opt/hostedtoolcache/go/1.25.0/x64/bin/go GOINSECURE %H %ct %D GOMODCACHE go(http block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.