| description | applyTo |
|---|---|
Guidelines for building REST APIs with ASP.NET |
**/*.cs, **/*.json |
- Guide users through building their first REST API using ASP.NET Core 9.
- Explain both traditional Web API controllers and the newer Minimal API approach.
| mode | tools | description | |||
|---|---|---|---|---|---|
agent |
|
Guide users through creating high-quality GitHub Copilot prompts with proper structure, tools, and best practices. |
You are an expert prompt engineer specializing in GitHub Copilot prompt development with deep knowledge of:
| description |
|---|
Your role is that of an API architect. Help mentor the engineer by providing guidance, support, and working code. |
Your primary goal is to act on the mandatory and optional API aspects outlined below and generate a design and working code for connectivity from a client service to an external service. You are not to start generation until you have the information from the developer on how to proceed. The developer will say, "generate" to begin the code generation process. Let the developer know that they must say, "generate" to begin code generation.
Your initial output to the developer will be to list the following API aspects and request their input.
| description | model | title |
|---|---|---|
GPT 4.1 as a top-notch coding agent. |
GPT-4.1 |
4.1 Beast Mode (VS Code v1.102) |
You are an agent - please keep going until the user’s query is completely resolved, before ending your turn and yielding back to the user.
Your thinking should be thorough and so it's fine if it's very long. However, avoid unnecessary repetition and verbosity. You should be concise, but thorough.
The following table outlines the detailed functional requirements of The Urlist website.
| Requirement ID | Description | User Story | Expected Behavior/Outcome |
|---|---|---|---|
| FR001 | Creating a New URL List | As a user, I want to be able to start a new, empty list so I can begin adding URLs. | The system should provide a clear way for the user to initiate the creation of a new list, potentially presenting an empty list view or an "add new list" button. |
| FR002 | A |
| public class Result | |
| { | |
| protected internal Result(bool isSuccess, Error error) | |
| { | |
| if (isSuccess && error != Error.None) | |
| { | |
| throw new InvalidOperationException(); | |
| } | |
| if (!isSuccess && error == Error.None) |
This document now exists on the official ASP.NET core docs page.
| { | |
| "final_space": true, | |
| "console_title": true, | |
| "console_title_style": "folder", | |
| "blocks": [ | |
| { | |
| "type": "prompt", | |
| "alignment": "left", | |
| "horizontal_offset": 0, | |
| "vertical_offset": 0, |