This repository was archived by the owner on May 20, 2026. It is now read-only.
Move docs/prompts.md to scoped .instructions.md file#4942
Merged
Conversation
…ns.md - Converted standalone doc into a scoped instructions file (applyTo: src/extension/prompts/node/agent/**) - Fixed outdated method names (resolvePrompt -> resolveSystemPrompt, PromptConstructor -> SystemPrompt) - Added resolver interface table, DI examples, resolution order docs - Restored concrete examples for common model misbehaviors - Auto-loads when editing agent prompt files
Contributor
There was a problem hiding this comment.
Pull request overview
Moves prompt-authoring documentation into a scoped GitHub Copilot instructions file so guidance auto-loads when editing agent prompt sources under src/extension/prompts/node/agent/**.
Changes:
- Replaced
docs/prompts.mdwith.github/instructions/model-prompts.instructions.mdscoped viaapplyTo. - Updated documentation to current prompt registry API surface (
resolveSystemPrompt,SystemPrompt, and the fullIAgentPromptmethod set). - Added documentation for resolver resolution order and DI usage patterns.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
docs/prompts.md |
Removed the standalone prompt authoring doc (content migrated to scoped instructions). |
.github/instructions/model-prompts.instructions.md |
New scoped instructions for model prompt authoring/registration/testing, intended to auto-load for prompt files. |
rzhao271
approved these changes
Apr 2, 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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Moves the standalone
docs/prompts.mdinto.github/instructions/model-prompts.instructions.mdso it auto-loads when editing files insrc/extension/prompts/node/agent/**.Changes
applyTo: 'src/extension/prompts/node/agent/**'resolvePrompt→resolveSystemPrompt,PromptConstructor→SystemPrompt)IAgentPromptmethodsdocs/prompts.md