-
-
Notifications
You must be signed in to change notification settings - Fork 264
Improve coding agents instructions (#13110) #13111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
6 changes: 6 additions & 0 deletions
6
src/Templates/Boilerplate/Bit.Boilerplate/.agents/skills/ai-dlc/SKILL.md
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| --- | ||
| name: ai-dlc | ||
| description: Drives a feature end-to-end using the AI-Driven Development Lifecycle - requirements elaboration, planning and task decomposition, design, implementation, then validation - with explicit user approval before any code is written. Use when the user asks to build a feature properly/end-to-end, wants a structured dev cycle, asks for requirements-then-plan-then-implement, or says "run ai-dlc". | ||
| --- | ||
|
|
||
| Read `.github/agents/ai-dlc.agent.md` (relative to the repository root) and follow it exactly. |
6 changes: 6 additions & 0 deletions
6
src/Templates/Boilerplate/Bit.Boilerplate/.agents/skills/bitify-ui/SKILL.md
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| --- | ||
| name: bitify-ui | ||
| description: Modernizes Blazor pages by replacing raw HTML elements and custom CSS with Bit.BlazorUI components and theme-aware styling, using the bit BlazorUI MCP tools to discover components and verify their exact APIs. Use when the user asks to bitify a page, replace HTML/div/button/input markup with Bit components, remove hardcoded colors, make a page theme-aware or dark-mode ready, or says "run bitify". | ||
| --- | ||
|
|
||
| Read `.github/agents/bitify-ui.agent.md` (relative to the repository root) and follow it exactly. |
7 changes: 7 additions & 0 deletions
7
src/Templates/Boilerplate/Bit.Boilerplate/.agents/skills/code-reviewer/SKILL.md
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| --- | ||
| name: code-reviewer | ||
| description: Reviews code changes against this project's conventions - Bit.BlazorUI usage, theming, enhanced lifecycle methods, WrapHandled, Mapperly, OData, structured logging, nullable awareness, security and concurrency. Reports findings only and never modifies code. Use when the user asks to review changes, review a diff or PR, check code against project conventions, or says "run code review". | ||
| context: fork | ||
| --- | ||
|
|
||
| Read `.github/agents/code-reviewer.agent.md` (relative to the repository root) and follow it exactly. |
6 changes: 6 additions & 0 deletions
6
src/Templates/Boilerplate/Bit.Boilerplate/.agents/skills/localize-strings/SKILL.md
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| --- | ||
| name: localize-strings | ||
| description: Moves hardcoded user-facing strings out of Razor/C# files into AppStrings.resx and rewrites the call sites to use IStringLocalizer with nameof(AppStrings.Key). Use when the user explicitly asks to localize a page or component, extract hardcoded text, apply translations, fix missing resource strings, or says "run resx" / "move these strings to resx". | ||
| --- | ||
|
|
||
| Read `.github/agents/localize-strings.agent.md` (relative to the repository root) and follow it exactly. |
6 changes: 6 additions & 0 deletions
6
src/Templates/Boilerplate/Bit.Boilerplate/.agents/skills/scaffold-entity/SKILL.md
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| --- | ||
| name: scaffold-entity | ||
| description: Scaffolds a complete CRUD entity across every layer of the Boilerplate solution - entity model, EF Core configuration and migration, DTO, Mapperly mapper, API controller, IAppController interface, AppStrings resource entries, Blazor grid and add/edit pages, and navigation integration. Use when the user asks to add a new entity, add a new feature with CRUD, scaffold a table/model, or says "run scaffold" / "scaffold Product". | ||
| --- | ||
|
|
||
| Read `.github/agents/scaffold-entity.agent.md` (relative to the repository root) and follow it exactly. |
6 changes: 6 additions & 0 deletions
6
src/Templates/Boilerplate/Bit.Boilerplate/.claude/skills/ai-dlc/SKILL.md
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| --- | ||
| name: ai-dlc | ||
| description: Drives a feature end-to-end using the AI-Driven Development Lifecycle - requirements elaboration, planning and task decomposition, design, implementation, then validation - with explicit user approval before any code is written. Use when the user asks to build a feature properly/end-to-end, wants a structured dev cycle, asks for requirements-then-plan-then-implement, or says "run ai-dlc". | ||
| --- | ||
|
|
||
| Read `.github/agents/ai-dlc.agent.md` (relative to the repository root) and follow it exactly. |
6 changes: 6 additions & 0 deletions
6
src/Templates/Boilerplate/Bit.Boilerplate/.claude/skills/bitify-ui/SKILL.md
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| --- | ||
| name: bitify-ui | ||
| description: Modernizes Blazor pages by replacing raw HTML elements and custom CSS with Bit.BlazorUI components and theme-aware styling, using the bit BlazorUI MCP tools to discover components and verify their exact APIs. Use when the user asks to bitify a page, replace HTML/div/button/input markup with Bit components, remove hardcoded colors, make a page theme-aware or dark-mode ready, or says "run bitify". | ||
| --- | ||
|
|
||
| Read `.github/agents/bitify-ui.agent.md` (relative to the repository root) and follow it exactly. |
7 changes: 7 additions & 0 deletions
7
src/Templates/Boilerplate/Bit.Boilerplate/.claude/skills/code-reviewer/SKILL.md
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| --- | ||
| name: code-reviewer | ||
| description: Reviews code changes against this project's conventions - Bit.BlazorUI usage, theming, enhanced lifecycle methods, WrapHandled, Mapperly, OData, structured logging, nullable awareness, security and concurrency. Reports findings only and never modifies code. Use when the user asks to review changes, review a diff or PR, check code against project conventions, or says "run code review". | ||
| context: fork | ||
| --- | ||
|
|
||
| Read `.github/agents/code-reviewer.agent.md` (relative to the repository root) and follow it exactly. |
6 changes: 6 additions & 0 deletions
6
src/Templates/Boilerplate/Bit.Boilerplate/.claude/skills/localize-strings/SKILL.md
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| --- | ||
| name: localize-strings | ||
| description: Moves hardcoded user-facing strings out of Razor/C# files into AppStrings.resx and rewrites the call sites to use IStringLocalizer with nameof(AppStrings.Key). Use when the user explicitly asks to localize a page or component, extract hardcoded text, apply translations, fix missing resource strings, or says "run resx" / "move these strings to resx". | ||
| --- | ||
|
|
||
| Read `.github/agents/localize-strings.agent.md` (relative to the repository root) and follow it exactly. |
6 changes: 6 additions & 0 deletions
6
src/Templates/Boilerplate/Bit.Boilerplate/.claude/skills/scaffold-entity/SKILL.md
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| --- | ||
| name: scaffold-entity | ||
| description: Scaffolds a complete CRUD entity across every layer of the Boilerplate solution - entity model, EF Core configuration and migration, DTO, Mapperly mapper, API controller, IAppController interface, AppStrings resource entries, Blazor grid and add/edit pages, and navigation integration. Use when the user asks to add a new entity, add a new feature with CRUD, scaffold a table/model, or says "run scaffold" / "scaffold Product". | ||
| --- | ||
|
|
||
| Read `.github/agents/scaffold-entity.agent.md` (relative to the repository root) and follow it exactly. |
25 changes: 25 additions & 0 deletions
25
src/Templates/Boilerplate/Bit.Boilerplate/.cursor/mcp.json
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| { | ||
| "mcpServers": { | ||
| "bitplatform": { | ||
| "url": "https://bitplatform.dev/mcp" | ||
| }, | ||
| "aspire": { | ||
| "command": "aspire", | ||
| "args": [ | ||
| "agent", | ||
| "mcp" | ||
| ] | ||
| }, | ||
| "playwright": { | ||
| "command": "npx", | ||
| "args": [ | ||
| "-y", | ||
| "@playwright/mcp@latest", | ||
| "--output-dir", | ||
| ".playwright-mcp", | ||
| "--output-max-size", | ||
| "52428800" | ||
| ] | ||
| } | ||
| } | ||
| } |
10 changes: 0 additions & 10 deletions
10
src/Templates/Boilerplate/Bit.Boilerplate/.cursor/rules/agents.mdc
This file was deleted.
Oops, something went wrong.
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.