You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
remove unused language fields and clean up project setup info (#404)
* remove unused language fields and clean up project setup info
* fix: add missing punctuation in instructions for clarity
* Update cache
* Remove cache layer file that requires signed commit
* Update cache
Copy file name to clipboardExpand all lines: package.json
-4Lines changed: 0 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -550,10 +550,6 @@
550
550
"projectType": {
551
551
"type": "string",
552
552
"description": "The type of project to create. Supported values are: 'python-script', 'python-project', 'mcp-server', 'model-context-protocol-server', 'vscode-extension', 'next-js', 'vite' and 'other'"
553
-
},
554
-
"language": {
555
-
"type": "string",
556
-
"description": "The programming language for the project. Supported: 'javascript', 'typescript', 'python' and 'other'."
The user has opened the workspace folder {this.promptPathRepresentationService.getFilePath(workspaceUri)}<br/>
147
-
Follow the plan below to create a new project in the current VS Code workspace folder<br/>
148
-
Step 1: Create a `.github/copilot-instructions.md` with the following content as a markdown todo list<br/>
149
-
- If the user has requested a VS Code extension: Add a note at the top to use {ToolName.VSCodeAPI} tool<br/>
150
-
- If the user has requested an MCP server: Add a link at the top to https://modelcontextprotocol.io/llms-full.txt<br/>
151
-
- Include this comment at the top of the file {`<!-- 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 -->`}<br/>
152
-
- Copy the entire markdown content below including all tasks and their comments exactly as shown<br/>
153
-
- If vscode_manageTodoList tool is available, use it to manage this checklist throughout the process<br/>
154
-
- After completing each step, mark it as done and update your progress (use vscode_manageTodoList if available)<br/>
141
+
Create or update the file `.github/copilot-instructions.md` with the exact content shown below.<br/>
142
+
<br/>
155
143
</TextChunk>
156
144
<UnsafeCodeBlockcode={`
145
+
<!-- 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 -->
146
+
- [ ] Verify that .github/copilot-instructions.md is created.
147
+
157
148
- [ ] Clarify Project Requirements
158
149
<!-- Ask for project type, language, and frameworks if not specified. Skip if already provided. -->
159
150
160
151
- [ ] Scaffold the Project
161
152
<!--
162
-
${useContext7 ? 'MANDATORY Context7 Usage: Call mcp_context7_resolve-library-id with your project requirements, then call mcp_context7_get-library-docs to get scaffolding instructions. Review the Context7 documentation carefully and use it to scaffold the project.' : 'Call project setup tool with projectType and language parameters.'}
153
+
Ensure that the previous step has been marked as completed.
154
+
Call project setup tool with projectType parameter.
163
155
Run scaffolding command to create project files and folders.
164
156
Use '.' as the working directory.
157
+
If no appropriate projectType is available, search documentation using available tools.
158
+
Otherwise, create the project structure manually using available file creation tools.
165
159
-->
166
160
167
161
- [ ] Customize the Project
168
162
<!--
163
+
Verify that all previous steps have been completed successfully and you have marked the step as completed.
169
164
Develop a plan to modify codebase according to user requirements.
170
165
Apply modifications using appropriate tools and user-provided references.
171
166
Skip this step for "Hello World" projects.
172
167
-->
173
168
174
169
- [ ] Install Required Extensions
175
-
<!-- Use extension installer tool if requiredExtensions is defined in project setup. -->
170
+
<!-- ONLY install extensions provided mentioned in the ${ToolName.GetProjectSetupInfo}. Skip this step otherwise and mark as completed. -->
176
171
177
172
- [ ] Compile the Project
178
173
<!--
174
+
Verify that all previous steps have been completed.
179
175
Install any missing dependencies.
180
176
Run diagnostics and resolve any issues.
181
177
Check for markdown files in project folder for relevant instructions on how to do this.
182
178
-->
183
179
184
180
- [ ] Create and Run Task
185
-
<!-- Create task based on package.json, README.md, and project structure. -->
181
+
<!--
182
+
Verify that all previous steps have been completed.
183
+
Check https://code.visualstudio.com/docs/debugtest/tasks to determine if the project needs a task. If so, use the ${ToolName.CoreCreateAndRunTask} to create and launch a task based on package.json, README.md, and project structure.
184
+
Skip this step otherwise.
185
+
-->
186
186
187
187
- [ ] Launch the Project
188
-
<!-- Prompt user for debug mode, launch only if confirmed. -->
188
+
<!--
189
+
Verify that all previous steps have been completed.
190
+
Prompt user for debug mode, launch only if confirmed.
191
+
-->
189
192
190
193
- [ ] Ensure Documentation is Complete
191
-
<!-- Verify README.md exists and is up to date. -->
194
+
<!--
195
+
Verify that all previous steps have been completed.
196
+
Verify that README.md and .github/copilot-instructions.md exists and contains current project information.
197
+
Clean up .github/copilot-instructions.md by removing all HTML comments.
198
+
-->
192
199
193
200
<!--
194
201
## Execution Guidelines
195
202
PROGRESS TRACKING:
196
-
- If vscode_manageTodoList tool is available, use it to track progress through this checklist.
203
+
- If any tools are available to manage the above todo list, use it to track progress through this checklist.
197
204
- After completing each step, mark it complete and add a summary.
198
205
- Read current todo list status before starting each new step.
199
206
@@ -204,24 +211,21 @@ COMMUNICATION RULES:
204
211
- Keep explanations concise and focused.
205
212
206
213
DEVELOPMENT RULES:
207
-
- Always start executing the plan by calling the tool to get the project template.
208
214
- Use '.' as the working directory unless user specifies otherwise.
209
-
- Do not create folders unless user instructs.
210
215
- Avoid adding media or external links unless explicitly requested.
211
216
- Use placeholders only with a note that they should be replaced.
212
217
- Use VS Code API tool only for VS Code extension projects.
213
218
- Once the project is created, it is already opened in Visual Studio Code—do not suggest commands to open this project in Visual Studio again.
214
-
- Do not print and explain the project structure to the user unless explicitly requested.
215
219
- If the project setup information has additional rules, follow them strictly.
216
220
217
221
FOLDER CREATION RULES:
218
222
- Always use the current directory as the project root.
219
223
- If you are running any terminal commands, use the '.' argument to ensure that the current working directory is used ALWAYS.
220
224
- Do not create a new folder unless the user explicitly requests it besides a .vscode folder for a tasks.json file.
221
-
- If any of the scaffolding commands mention that the folder name is not correct, let the user know to create a new folder with the correct name and then reopen it again in vscode. Do not attempt to move it yourself. And do not proceed with next steps.
225
+
- If any of the scaffolding commands mention that the folder name is not correct, let the user know to create a new folder with the correct name and then reopen it again in vscode.
222
226
223
227
EXTENSION INSTALLATION RULES:
224
-
- If the project setup lists requiredExtensions, use extension installer tool to check and install ALL the listed requiredExtensions before proceeding.
228
+
- Only install extension specified by the ${ToolName.GetProjectSetupInfo}tool. DO NOT INSTALL any other extensions.
225
229
226
230
PROJECT CONTENT RULES:
227
231
- If the user has not specified project details, assume they want a "Hello World" project as a starting point.
@@ -234,14 +238,10 @@ PROJECT CONTENT RULES:
234
238
235
239
TASK COMPLETION RULES:
236
240
- Your task is complete when:
237
-
- The project is successfully created without errors.
238
-
- The user has clear instructions on how to launch their code in debug mode within Visual Studio Code.
239
-
- A copilot-instructions.md exists in the project root under the .github directory.
240
-
- A README.md file in the root of the project is up to date.
241
-
- A tasks.json file exists in the project root under the .vscode directory.
0 commit comments