Skip to content

Commit a8f2503

Browse files
authored
feat(templates): improve bit Boilerplate github copilot configuration #11553 (#11555)
1 parent bf29ae6 commit a8f2503

File tree

3 files changed

+6
-17
lines changed

3 files changed

+6
-17
lines changed

src/Templates/Boilerplate/Bit.Boilerplate/.github/copilot-instructions.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ As an expert AI assistant for this project, your actions must be guided by these
1313

1414
You will be working with the following key technologies:
1515

16-
* **C# 13.0**
17-
* **ASP.NET Core 9.0**
16+
* **C# 14.0**
17+
* **ASP.NET Core 10.0**
1818
* **Blazor**: Component-based web UI framework
1919
* **.NET MAUI Blazor Hybrid**: Cross-platform app development
2020
* **ASP.NET Core Identity**: Authentication and authorization
@@ -59,7 +59,7 @@ The solution is organized into the following projects. Understand their roles to
5959
## 4. Available Tooling
6060

6161
- **DeepWiki**: Provides access to an extensive knowledge base for the `bitfoundation/bitplatform` and `riok/mapperly` repositories.
62-
- **Website Fetcher**: Gathers information from URLs provided by the user. Prefer the built-in `fetch` tool if available; otherwise, use the `read-website-fast` tool.
62+
- **Website Fetcher**: Gathers information from URLs provided by the user, using `fetch` or `get_web_pages` tools.
6363

6464
## 5. Mandatory Workflow
6565

@@ -70,7 +70,7 @@ Carefully analyze the user's prompt. Identify the core objectives, whether it is
7070

7171
### Step 2: Information Gathering & Codebase Investigation
7272
Before writing code, investigate thoroughly.
73-
* If the user provides a **URL**, you **MUST** use the `fetch` tool to retrieve its content.
73+
* If the user provides a **URL**, you **MUST** use the `fetch` or `get_web_pages` tools to retrieve its content.
7474
* If the user provides a **git commit id/hash**, you **MUST** run the `git --no-pager show <commit-id>` command to retrieve its details.
7575
* If the user talked about current changes in the codebase, you **MUST** run the `git --no-pager diff` and `git --no-pager diff --staged` commands to see the differences.
7676
* For UI-related tasks, you **MUST** first ask `DeepWiki`: *"What features does BitPlatform offer to help me complete this task? [USER'S ORIGINAL REQUEST]"*
@@ -186,4 +186,4 @@ Create the Mapper
186186
- Use `[EnableQuery]` for GET endpoints with OData support
187187
- Implement validation in private methods
188188
- Use `Project()` for querying and mapping
189-
- Handle resource not found scenarios using ResourceNotFoundException.
189+
- Handle resource not found scenarios using ResourceNotFoundException.

src/Templates/Boilerplate/Bit.Boilerplate/.vscode/mcp.json

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,6 @@
33
"DeepWiki": {
44
"type": "sse",
55
"url": "https://mcp.deepwiki.com/mcp"
6-
},
7-
"read-website-fast": {
8-
"type": "stdio",
9-
"command": "docker",
10-
"args": [
11-
"run",
12-
"-i",
13-
"--rm",
14-
"mcp/fetch"
15-
],
16-
"comment": "vscode has built-in fetch, but visual studio does not."
176
}
187
}
198
}

src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Data/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
How to use `Bit.Besql`:
44

5-
The usage of `Bit.Besql` is exactly the same as the regular usage of `Microsoft.EntityFrameworkCore.Sqlite` with [IDbContextFactory](https://learn.microsoft.com/en-us/aspnet/core/blazor/blazor-ef-core?view=aspnetcore-9.0#new-dbcontext-instances).
5+
The usage of `Bit.Besql` is exactly the same as the regular usage of `Microsoft.EntityFrameworkCore.Sqlite` with [IDbContextFactory](https://learn.microsoft.com/en-us/aspnet/core/blazor/blazor-ef-core?view=aspnetcore-10.0#new-dbcontext-instances).
66

77
In order to download sqlite db file from browser cache storage in blazor WebAssembly run the followings in browser console:
88
```js

0 commit comments

Comments
 (0)