Skip to content

Commit 2f73def

Browse files
authored
update references to copilot-instructions.md file location in new prompts (#418)
1 parent adb9c16 commit 2f73def

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/extension/tools/node/newWorkspace/newWorkspaceTool.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -142,12 +142,12 @@ export class NewWorkspaceCreationResult extends PromptElement<NewWorkspaceElemen
142142

143143
return <>
144144
<TextChunk>
145-
Create or update the file `.github/copilot-instructions.md` with the exact content shown below.<br />
145+
Create or update the copilot-instructions.md file in the .github directory with the exact content shown below.<br />
146146
<br />
147147
</TextChunk>
148148
<UnsafeCodeBlock code={`
149149
<!-- Use this file to provide workspace-specific custom instructions to Copilot. For more details, visit https://code.visualstudio.com/docs/copilot/copilot-customization#_use-a-githubcopilotinstructionsmd-file -->
150-
- [ ] Verify that .github/copilot-instructions.md is created.
150+
- [ ] Verify that the copilot-instructions.md file in the .github directory is created.
151151
152152
- [ ] Clarify Project Requirements
153153
<!-- Ask for project type, language, and frameworks if not specified. Skip if already provided. -->
@@ -197,8 +197,8 @@ export class NewWorkspaceCreationResult extends PromptElement<NewWorkspaceElemen
197197
- [ ] Ensure Documentation is Complete
198198
<!--
199199
Verify that all previous steps have been completed.
200-
Verify that README.md and .github/copilot-instructions.md exists and contains current project information.
201-
Clean up .github/copilot-instructions.md by removing all HTML comments.
200+
Verify that README.md and the copilot-instructions.md file in the .github directory exists and contains current project information.
201+
Clean up the copilot-instructions.md file in the .github directory by removing all HTML comments.
202202
-->
203203
204204
<!--
@@ -243,7 +243,7 @@ PROJECT CONTENT RULES:
243243
TASK COMPLETION RULES:
244244
- Your task is complete when:
245245
- Project is successfully scaffolded and compiled without errors
246-
- .github/copilot-instructions.md exists in the project
246+
- copilot-instructions.md file in the .github directory exists in the project
247247
- README.md file exists and is up to date
248248
- User is provided with clear instructions to debug/launch the project
249249
@@ -255,8 +255,8 @@ Before starting a new task in the above plan, update progress in the plan.
255255
`} languageId='markdown'></UnsafeCodeBlock>
256256
<TextChunk>
257257
<br />
258-
Verify that a .github/copilot-instructions.md file exists and systematically work through each item in the task list.<br />
259-
Update the .github/copilot-instructions.md file directly as you complete each step.<br />
258+
Verify that a copilot-instructions.md file in the .github directory exists and systematically work through each item in the task list.<br />
259+
Update the copilot-instructions.md file in the .github directory directly as you complete each step.<br />
260260
<br />
261261
If the user asks to "continue," refer to the previous steps and proceed accordingly.
262262
</TextChunk>

src/extension/tools/node/newWorkspace/projectSetupInfoTool.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ const setupInfo: ProjectSetupInfo[] = [
100100
'Follow these rules strictly and do not deviate from them.',
101101
'1. First, visit https://github.com/modelcontextprotocol to find the correct SDK and setup instructions for the requested language. Default to TypeScript if no language is specified.',
102102
`2. Use the ${ToolName.FetchWebPage} to find the correct implementation instructions from https://modelcontextprotocol.io/llms-full.txt`,
103-
'3. Update the `copilot-instructions.md` to include references to the SDK documentation',
103+
'3. Update the copilot-instructions.md file in the .github directory to include references to the SDK documentation',
104104
'4. Create an `mcp.json` file in the `.vscode` folder in the project root with the following content: `{ "servers": { "mcp-server-name": { "type": "stdio", "command": "command-to-run", "args": [list-of-args] } } }`.',
105105
'- mcp-server-name: The name of the MCP server. Create a unique name that reflects what this MCP server does.',
106106
'- command-to-run: The command to run to start the MCP server. This is the command you would use to run the project you just created.',

0 commit comments

Comments
 (0)