Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,6 @@ ModelManifest.xml
#kiro
.kiro

#cursor
.cursor

profile.arm.json

Expand Down
10 changes: 10 additions & 0 deletions src/Templates/Boilerplate/Bit.Boilerplate/.cursor/rules/agents.mdc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
description: Project coding conventions, structure and behavioral directives
alwaysApply: true
---

# Cursor Rules

This project uses @AGENTS.md (at the repository root) as the single source of truth for all coding conventions, project structure, technology stack, and behavioral directives.

**Before performing any task, read the full content of `/AGENTS.md`.**
5 changes: 5 additions & 0 deletions src/Templates/Boilerplate/Bit.Boilerplate/AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,13 @@ Before implementing any changes, you **MUST** complete the following:

## 4. Critical Command Reference

<!--#if (aspire == true)-->
- **Build the project**: Run `dotnet build` in Boilerplate.Server.AppHost project root directory.
- **Run the project**: Run `dotnet watch` in Boilerplate.Server.AppHost project root directory. If needed, you may use the Playwright MCP tools to interact with the running UI to validate things (navigate, click, fill forms, take screenshots), and use `browser_evaluate` to run in-page JavaScript to accelerate the process (e.g. quickly locating elements, extracting data, or asserting state).
<!--#else-->
- **Build the project**: Run `dotnet build` in Boilerplate.Server.Web project root directory.
- **Run the project**: Run `dotnet watch` in Boilerplate.Server.Web project root directory. If needed, you may use the Playwright MCP tools to interact with the running UI to validate things (navigate, click, fill forms, take screenshots), and use `browser_evaluate` to run in-page JavaScript to accelerate the process (e.g. quickly locating elements, extracting data, or asserting state).
<!--#endif-->
- **Run tests**: Run `dotnet test` in Boilerplate.Tests project root directory.
- **Add new migrations**: Run `dotnet ef migrations add <MigrationName> --output-dir Data/Migrations --verbose` in Boilerplate.Server.Api project root directory.
- **Generate Resx C# code**: Run `dotnet build -t:PrepareResources` in Boilerplate.Shared project root directory.
Expand Down
Loading