RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Diff/xin-lai-codespirit-agents ↔ xin-lai-codespirit-cursor-rules-all

Comparison

A · AGENTS.md · xin-lai/CodeSpiritB · Cursor rules · xin-lai/CodeSpirit
What each file covers, counted
DimensionSharedOnly in AOnly in BOverlap
Sections11426%
Commands0200%
Section tags0320%

What each file covers

Sections

1 shared · 14 only in A · 2 only in B
  • − Copilot instructions
  • − General recommendations for working with Aspire
  • − Running the application
  • − Checking resources
  • − Listing integrations
  • − Debugging issues
  • − Other Aspire MCP tools
  • − Playwright MCP server
  • − Updating the app host
  • − Persistent containers
  • − Aspire workload
  • − Official documentation
  • − BMAD AI 工作流
  • − 与 CodeSpirit 规范集成
  • + API 设计
  • + AI 功能开发
  •   获取帮助

Commands

0 shared · 2 only in A · 0 only in B
  • − dotnet tool install --global dotnet-outdated-tool
  • − dotnet-outdated

Section tags

0 shared · 3 only in A · 2 only in B
  • − code-style
  • − agent-behaviour
  • − docs
  • + testing-strategy
  • + api

Line diff

+104 added−72 removed30 unchanged22.4% identical
xin-lai/CodeSpirit · AGENTS.md
@@ −1 @@
1# Copilot instructions
 
 
 
 
2 
3This repository is set up to use Aspire. Aspire is an orchestrator for the entire application and will take care of configuring dependencies, building, and running the application. The resources that make up the application are defined in `apphost.cs` including application code and external dependencies.
4 
5## General recommendations for working with Aspire
61. Before making any changes always run the apphost using `aspire run` and inspect the state of resources to make sure you are building from a known state.
71. Changes to the _apphost.cs_ file will require a restart of the application to take effect.
82. Make changes incrementally and run the aspire application using the `aspire run` command to validate changes.
93. Use the Aspire MCP tools to check the status of resources and debug issues.
10 
11## Running the application
12To run the application run the following command:
13 
14```
15aspire run
16```
17 
18If there is already an instance of the application running it will prompt to stop the existing instance. You only need to restart the application if code in `apphost.cs` is changed, but if you experience problems it can be useful to reset everything to the starting state.
 
 
 
 
19 
20## Checking resources
21To check the status of resources defined in the app model use the _list resources_ tool. This will show you the current state of each resource and if there are any issues. If a resource is not running as expected you can use the _execute resource command_ tool to restart it or perform other actions.
22 
23## Listing integrations
24IMPORTANT! When a user asks you to add a resource to the app model you should first use the _list integrations_ tool to get a list of the current versions of all the available integrations. You should try to use the version of the integration which aligns with the version of the Aspire.AppHost.Sdk. Some integration versions may have a preview suffix. Once you have identified the correct integration you should always use the _get integration docs_ tool to fetch the latest documentation for the integration and follow the links to get additional guidance.
 
25 
26## Debugging issues
27IMPORTANT! Aspire is designed to capture rich logs and telemetry for all resources defined in the app model. Use the following diagnostic tools when debugging issues with the application before making changes to make sure you are focusing on the right things.
 
28 
291. _list structured logs_; use this tool to get details about structured logs.
302. _list console logs_; use this tool to get details about console logs.
313. _list traces_; use this tool to get details about traces.
324. _list trace structured logs_; use this tool to get logs related to a trace
33 
34## Other Aspire MCP tools
 
 
35 
361. _select apphost_; use this tool if working with multiple app hosts within a workspace.
372. _list apphosts_; use this tool to get details about active app hosts.
 
38 
39## Playwright MCP server
 
 
40 
41The playwright MCP server has also been configured in this repository and you should use it to perform functional investigations of the resources defined in the app model as you work on the codebase. To get endpoints that can be used for navigation using the playwright MCP server use the list resources tool.
 
 
42 
43## Updating the app host
44The user may request that you update the Aspire apphost. You can do this using the `aspire update` command. This will update the apphost to the latest version and some of the Aspire specific packages in referenced projects, however you may need to manually update other packages in the solution to ensure compatibility. You can consider using the `dotnet-outdated` with the users consent. To install the `dotnet-outdated` tool use the following command:
 
45 
46```
47dotnet tool install --global dotnet-outdated-tool
48```
 
 
49 
50## Persistent containers
51IMPORTANT! Consider avoiding persistent containers early during development to avoid creating state management issues when restarting the app.
52 
53## Aspire workload
54IMPORTANT! The aspire workload is obsolete. You should never attempt to install or use the Aspire workload.
 
 
 
 
 
55 
56## Official documentation
57IMPORTANT! Always prefer official documentation when available. The following sites contain the official documentation for Aspire and related components
58 
591. https://aspire.dev
602. https://learn.microsoft.com/dotnet/aspire
613. https://nuget.org (for specific integration package details)
62 
63## BMAD AI 工作流
64 
65本项目已集成 BMAD (Breakthrough Method of Agile AI-Driven Development) 完整工作流,用于结构化的软件开发生命周期管理。
 
66 
67### 快速开始
68 
691. **小型任务/Bug 修复** (Quick Flow):
70 - `/quick-spec` - 创建技术规范
71 - `/quick-dev` - 实现变更
72 - `/code-review` - 代码审查
73 
742. **完整功能开发** (Full Flow):
75 - `/product-brief` - 产品需求简报
76 - `/create-prd` - 创建 PRD
77 - `/create-architecture` - 架构设计
78 - `/create-epics-and-stories` - 拆分为 Epic 和 Story
79 - `/sprint-planning` - Sprint 规划
80 - `/dev-story` - 实现 Story
81 - `/code-review` - 代码审查
82 - `/retrospective` - 复盘
83 
84### 与 CodeSpirit 规范集成
 
 
 
 
 
 
 
85 
86BMAD 工作流已配置为自动遵循 CodeSpirit 的所有开发规范(位于 `.cursor/rules/`)。在使用 BMAD 时:
87 
88- PRD 会自动考虑多租户、多数据库、AI 功能等项目特性
89- 架构设计会遵循依赖注入、缓存策略等规范
90- Story 实现会应用正确的命名约定、DTO 设计、控制器规范等
91- 代码审查会执行 CodeSpirit 特定的审查清单
92 
93### 获取帮助
 
 
94 
95任何时候,输入 `/bmad-help` 可获取上下文相关的指导。
 
 
 
 
96 
97详细使用指南请参考:
98- **[BMAD 使用教程](Docs/bmad/bmad-tutorial.md)** - 完整的综合教程(推荐新手阅读)
99- [BMAD 工作流指南](Docs/bmad/bmad-workflow-guide.md) - 详细的工作流使用指南
100- [BMAD 团队培训指南](Docs/bmad/bmad-team-guide.md) - 团队培训材料
101- [BMAD 集成技能](.cursor/skills/bmad-integration/SKILL.md) - BMAD 与 CodeSpirit 集成
102- [项目上下文文档](project-context.md) - 项目上下文和规范引用
 
 
 
 
 
 
 
 
 
 
 
 
xin-lai/CodeSpirit · .cursor/rules/all.mdc
@@ +1 @@
1---
2description: CodeSpirit 全局开发规范概览 - 核心原则和规范索引
3globs:
4alwaysApply: true
5---
6 
7# 通用要求
8 
9- 严格遵守项目结构规范,保持代码组织一致性
10- EF 迁移按数据库目录创建(SqlServer/MySql)
11- 分布式程序优先考虑:高可用、容错、降级、最终一致性
12- 所有面向用户的文本必须支持多语言(中文/英文)
13- 异步编程:所有 I/O 操作使用 `async/await`,禁止 `Task.Result` 和 `Task.Wait()`
14 
15> 💡 **详细规范**: 本文件是全局概览,详细规范请参考专项文档
 
16 
17# 技术栈
 
 
18 
19- **框架**: .NET 10 + Aspire 13.0
20- **数据库**: MySQL 8.0 / SQL Server 2022 + GreptimeDB(审计)
21- **缓存/消息**: Redis + RabbitMQ
22- **前端**: React + AMIS (AntD 主题)
23- **AI**: OpenAI、通义千问、DeepSeek
24 
25# 核心规范
 
26 
27## 统一启动框架
28- Program.cs 仅需 2 行代码 + 配置类继承 `BaseApiConfiguration`
29- 📖 [详细规范](mdc:.cursor/rules/startup-framework.mdc)
30 
31## 依赖注入
32- 自动注册:`IScopedDependency` / `ITransientDependency` / `ISingletonDependency`
33- 📖 [详细规范](mdc:.cursor/rules/dependency-injection.mdc)
34 
35## 命名约定
36- 实体:`User`、DTO:`CreateUserDto`、服务:`UserService`、控制器:`UsersController`
37- 📖 [详细规范](mdc:.cursor/rules/naming-conventions.mdc)
 
38 
39## API 设计
40- RESTful 标准 + 统一响应格式 `ApiResponse<T>` + 操作特性标记
41- 📖 [详细规范](mdc:.cursor/rules/api-design.mdc)
42 
43## 多语言国际化
44- 支持中英文 + 资源文件 + DTO 验证特性多语言
45- 📖 [详细规范](mdc:.cursor/rules/i18n.mdc)
46 
47## AI 功能开发
48- AI 表单填充(`[AiFormFill]`)+ AI 长任务(`aiForm`)+ LLM 集成
49- 📖 [详细规范](mdc:.cursor/rules/ai-development.mdc)
50 
51## 性能优化
52- 异步编程 + 多级缓存(L1+L2)+ EF Core 查询优化
53- 📖 [详细规范](mdc:.cursor/rules/performance.mdc)
54 
55## 安全规范
56- 权限控制(`[Authorize]` + `[RequirePermission]`)+ 审计追踪 + 数据加密
57- 📖 [详细规范](mdc:.cursor/rules/security.mdc)
58 
59## 包管理规范
60- 集中式包管理:所有包版本在 `Directory.Packages.props` 中统一管理
61- 项目文件中只引用包名,不指定版本
62- 避免冗余引用:通过传递依赖可用的包不需要显式引用
63- 📖 [详细规范](mdc:.cursor/rules/package-management.mdc)
64 
65# 数据访问
 
66 
67- **多数据库支持**: 使用数据库特定 DbContext(`SqlServer{Service}DbContext` / `MySql{Service}DbContext`)
68- **Code First 迁移**: 按数据库创建独立迁移(SqlServer/MySql),**必须使用数据库特定 DbContext**
69- **雪花 ID 配置**: 使用 `IIdGenerator` 的实体必须配置 `ValueGeneratedNever()`
70- **实体配置**: `IEntityTypeConfiguration<T>`
71- **只读查询**: `AsNoTracking()`,避免 N+1 用 `Include` + `AsSplitQuery()`
72- **多租户**: 实体实现 `IMultiTenant`,自动应用租户过滤器
73- 📖 [详细规范](mdc:.cursor/rules/database.mdc)
74 
75# 代码质量
 
76 
77- 一个 .cs 文件一个顶级类型
78- XML 文档注释:`<summary>`, `<param>`, `<returns>`, `<exception>`
79- 时间使用 UTC 格式
80 
81# 组件使用
82 
83- **AMIS**: `antd` 主题,CSS 类用 `antd-` 前缀,特性驱动
84- **LLM**: 使用 `ILLMClientFactory`,提示词指定 JSON 输出
85 
86# 调试运行
87 
88- **启动**: `CodeSpirit.AppHost` (Aspire 协调) → `aspire run` 或 F5
89- **Dashboard**: Aspire 管理面板
90- **健康检查**: `/health`
 
91 
92# 项目结构
 
 
 
 
 
 
 
 
93 
94```
95Src/
96├── ApiServices/ # 14个API服务(Identity, Exam, Survey, AI等)
97├── Components/ # 多个核心组件(Amis, LLM, Caching等)
98├── CodeSpirit.AppHost/ # Aspire应用宿主
99├── CodeSpirit.Core/ # 核心框架
100└── CodeSpirit.Web/ # Web前端
101```
102 
103📖 [完整项目结构](mdc:.cursor/rules/project-structure.mdc)
104 
105# 规范文档索引
 
 
 
106 
107## 通用规范
108- [C#通用规范](mdc:.cursor/rules/cs.mdc) - XML注释、时间格式、序列化
109- [命名约定](mdc:.cursor/rules/naming-conventions.mdc) - 实体、DTO、服务、控制器命名
110 
111## 按文件类型
112- [DTO规范](mdc:.cursor/rules/dto.mdc) - DTO特性、验证、映射
113- [控制器规范](mdc:.cursor/rules/controller.mdc) - API控制器、操作特性
114- [服务类规范](mdc:.cursor/rules/service.mdc) - 服务接口、实现、生命周期
115- [枚举规范](mdc:.cursor/rules/enum.mdc) - 枚举定义、多语言支持
116 
117## 专项规范
118- [API设计](mdc:.cursor/rules/api-design.mdc) - RESTful、路由、响应格式
119- [依赖注入](mdc:.cursor/rules/dependency-injection.mdc) - Scrutor自动注册
120- [启动框架](mdc:.cursor/rules/startup-framework.mdc) - Program.cs配置
121- [数据库迁移](mdc:.cursor/rules/database.mdc) - 多数据库、DbContext、迁移命令
122- [多语言](mdc:.cursor/rules/i18n.mdc) - 资源文件、本地化
123- [AI开发](mdc:.cursor/rules/ai-development.mdc) - AI表单、长任务、LLM
124- [性能优化](mdc:.cursor/rules/performance.mdc) - 异步、缓存、查询
125- [安全规范](mdc:.cursor/rules/security.mdc) - 权限、审计、加密
126- [测试规范](mdc:.cursor/rules/testing.mdc) - 单元测试、集成测试、Mock使用
127 
128## 项目结构
129- [项目结构](mdc:.cursor/rules/project-structure.mdc) - 完整目录树
130 
131## 包管理
132- [包管理规范](mdc:.cursor/rules/package-management.mdc) - 集中式包管理、版本统一、传递依赖处理
133 
134> 💡 专项规范会根据文件类型自动应用
@@ −1 +1 @@
1−# Copilot instructions
1+---
2+description: CodeSpirit 全局开发规范概览 - 核心原则和规范索引
3+globs:
4+alwaysApply: true
5+---
26  
3−This repository is set up to use Aspire. Aspire is an orchestrator for the entire application and will take care of configuring dependencies, building, and running the application. The resources that make up the application are defined in `apphost.cs` including application code and external dependencies.
7+# 通用要求
48  
5−## General recommendations for working with Aspire
6−1. Before making any changes always run the apphost using `aspire run` and inspect the state of resources to make sure you are building from a known state.
7−1. Changes to the _apphost.cs_ file will require a restart of the application to take effect.
8−2. Make changes incrementally and run the aspire application using the `aspire run` command to validate changes.
9−3. Use the Aspire MCP tools to check the status of resources and debug issues.
9+- 严格遵守项目结构规范,保持代码组织一致性
10+- EF 迁移按数据库目录创建(SqlServer/MySql)
11+- 分布式程序优先考虑:高可用、容错、降级、最终一致性
12+- 所有面向用户的文本必须支持多语言(中文/英文)
13+- 异步编程:所有 I/O 操作使用 `async/await`,禁止 `Task.Result` 和 `Task.Wait()`
1014  
11−## Running the application
12−To run the application run the following command:
15+> 💡 **详细规范**: 本文件是全局概览,详细规范请参考专项文档
1316  
14−```
15−aspire run
16−```
17+# 技术栈
1718  
18−If there is already an instance of the application running it will prompt to stop the existing instance. You only need to restart the application if code in `apphost.cs` is changed, but if you experience problems it can be useful to reset everything to the starting state.
19+- **框架**: .NET 10 + Aspire 13.0
20+- **数据库**: MySQL 8.0 / SQL Server 2022 + GreptimeDB(审计)
21+- **缓存/消息**: Redis + RabbitMQ
22+- **前端**: React + AMIS (AntD 主题)
23+- **AI**: OpenAI、通义千问、DeepSeek
1924  
20−## Checking resources
21−To check the status of resources defined in the app model use the _list resources_ tool. This will show you the current state of each resource and if there are any issues. If a resource is not running as expected you can use the _execute resource command_ tool to restart it or perform other actions.
25+# 核心规范
2226  
23−## Listing integrations
24−IMPORTANT! When a user asks you to add a resource to the app model you should first use the _list integrations_ tool to get a list of the current versions of all the available integrations. You should try to use the version of the integration which aligns with the version of the Aspire.AppHost.Sdk. Some integration versions may have a preview suffix. Once you have identified the correct integration you should always use the _get integration docs_ tool to fetch the latest documentation for the integration and follow the links to get additional guidance.
27+## 统一启动框架
28+- Program.cs 仅需 2 行代码 + 配置类继承 `BaseApiConfiguration`
29+- 📖 [详细规范](mdc:.cursor/rules/startup-framework.mdc)
2530  
26−## Debugging issues
27−IMPORTANT! Aspire is designed to capture rich logs and telemetry for all resources defined in the app model. Use the following diagnostic tools when debugging issues with the application before making changes to make sure you are focusing on the right things.
31+## 依赖注入
32+- 自动注册:`IScopedDependency` / `ITransientDependency` / `ISingletonDependency`
33+- 📖 [详细规范](mdc:.cursor/rules/dependency-injection.mdc)
2834  
29−1. _list structured logs_; use this tool to get details about structured logs.
30−2. _list console logs_; use this tool to get details about console logs.
31−3. _list traces_; use this tool to get details about traces.
32−4. _list trace structured logs_; use this tool to get logs related to a trace
35+## 命名约定
36+- 实体:`User`、DTO:`CreateUserDto`、服务:`UserService`、控制器:`UsersController`
37+- 📖 [详细规范](mdc:.cursor/rules/naming-conventions.mdc)
3338  
34−## Other Aspire MCP tools
39+## API 设计
40+- RESTful 标准 + 统一响应格式 `ApiResponse<T>` + 操作特性标记
41+- 📖 [详细规范](mdc:.cursor/rules/api-design.mdc)
3542  
36−1. _select apphost_; use this tool if working with multiple app hosts within a workspace.
37−2. _list apphosts_; use this tool to get details about active app hosts.
43+## 多语言国际化
44+- 支持中英文 + 资源文件 + DTO 验证特性多语言
45+- 📖 [详细规范](mdc:.cursor/rules/i18n.mdc)
3846  
39−## Playwright MCP server
47+## AI 功能开发
48+- AI 表单填充(`[AiFormFill]`)+ AI 长任务(`aiForm`)+ LLM 集成
49+- 📖 [详细规范](mdc:.cursor/rules/ai-development.mdc)
4050  
41−The playwright MCP server has also been configured in this repository and you should use it to perform functional investigations of the resources defined in the app model as you work on the codebase. To get endpoints that can be used for navigation using the playwright MCP server use the list resources tool.
51+## 性能优化
52+- 异步编程 + 多级缓存(L1+L2)+ EF Core 查询优化
53+- 📖 [详细规范](mdc:.cursor/rules/performance.mdc)
4254  
43−## Updating the app host
44−The user may request that you update the Aspire apphost. You can do this using the `aspire update` command. This will update the apphost to the latest version and some of the Aspire specific packages in referenced projects, however you may need to manually update other packages in the solution to ensure compatibility. You can consider using the `dotnet-outdated` with the users consent. To install the `dotnet-outdated` tool use the following command:
55+## 安全规范
56+- 权限控制(`[Authorize]` + `[RequirePermission]`)+ 审计追踪 + 数据加密
57+- 📖 [详细规范](mdc:.cursor/rules/security.mdc)
4558  
46−```
47−dotnet tool install --global dotnet-outdated-tool
48−```
59+## 包管理规范
60+- 集中式包管理:所有包版本在 `Directory.Packages.props` 中统一管理
61+- 项目文件中只引用包名,不指定版本
62+- 避免冗余引用:通过传递依赖可用的包不需要显式引用
63+- 📖 [详细规范](mdc:.cursor/rules/package-management.mdc)
4964  
50−## Persistent containers
51−IMPORTANT! Consider avoiding persistent containers early during development to avoid creating state management issues when restarting the app.
65+# 数据访问
5266  
53−## Aspire workload
54−IMPORTANT! The aspire workload is obsolete. You should never attempt to install or use the Aspire workload.
67+- **多数据库支持**: 使用数据库特定 DbContext(`SqlServer{Service}DbContext` / `MySql{Service}DbContext`)
68+- **Code First 迁移**: 按数据库创建独立迁移(SqlServer/MySql),**必须使用数据库特定 DbContext**
69+- **雪花 ID 配置**: 使用 `IIdGenerator` 的实体必须配置 `ValueGeneratedNever()`
70+- **实体配置**: `IEntityTypeConfiguration<T>`
71+- **只读查询**: `AsNoTracking()`,避免 N+1 用 `Include` + `AsSplitQuery()`
72+- **多租户**: 实体实现 `IMultiTenant`,自动应用租户过滤器
73+- 📖 [详细规范](mdc:.cursor/rules/database.mdc)
5574  
56−## Official documentation
57−IMPORTANT! Always prefer official documentation when available. The following sites contain the official documentation for Aspire and related components
75+# 代码质量
5876  
59−1. https://aspire.dev
60−2. https://learn.microsoft.com/dotnet/aspire
61−3. https://nuget.org (for specific integration package details)
77+- 一个 .cs 文件一个顶级类型
78+- XML 文档注释:`<summary>`, `<param>`, `<returns>`, `<exception>`
79+- 时间使用 UTC 格式
6280  
63−## BMAD AI 工作流
81+# 组件使用
6482  
65−本项目已集成 BMAD (Breakthrough Method of Agile AI-Driven Development) 完整工作流,用于结构化的软件开发生命周期管理。
83+- **AMIS**: `antd` 主题,CSS 类用 `antd-` 前缀,特性驱动
84+- **LLM**: 使用 `ILLMClientFactory`,提示词指定 JSON 输出
6685  
67−### 快速开始
86+# 调试运行
6887  
69−1. **小型任务/Bug 修复** (Quick Flow):
70− - `/quick-spec` - 创建技术规范
71− - `/quick-dev` - 实现变更
72− - `/code-review` - 代码审查
88+- **启动**: `CodeSpirit.AppHost` (Aspire 协调) → `aspire run` 或 F5
89+- **Dashboard**: Aspire 管理面板
90+- **健康检查**: `/health`
7391  
74−2. **完整功能开发** (Full Flow):
75− - `/product-brief` - 产品需求简报
76− - `/create-prd` - 创建 PRD
77− - `/create-architecture` - 架构设计
78− - `/create-epics-and-stories` - 拆分为 Epic 和 Story
79− - `/sprint-planning` - Sprint 规划
80− - `/dev-story` - 实现 Story
81− - `/code-review` - 代码审查
82− - `/retrospective` - 复盘
92+# 项目结构
8393  
84−### 与 CodeSpirit 规范集成
94+```
95+Src/
96+├── ApiServices/ # 14个API服务(Identity, Exam, Survey, AI等)
97+├── Components/ # 多个核心组件(Amis, LLM, Caching等)
98+├── CodeSpirit.AppHost/ # Aspire应用宿主
99+├── CodeSpirit.Core/ # 核心框架
100+└── CodeSpirit.Web/ # Web前端
101+```
85102  
86−BMAD 工作流已配置为自动遵循 CodeSpirit 的所有开发规范(位于 `.cursor/rules/`)。在使用 BMAD 时:
103+📖 [完整项目结构](mdc:.cursor/rules/project-structure.mdc)
87104  
88−- PRD 会自动考虑多租户、多数据库、AI 功能等项目特性
89−- 架构设计会遵循依赖注入、缓存策略等规范
90−- Story 实现会应用正确的命名约定、DTO 设计、控制器规范等
91−- 代码审查会执行 CodeSpirit 特定的审查清单
105+# 规范文档索引
92106  
93−### 获取帮助
107+## 通用规范
108+- [C#通用规范](mdc:.cursor/rules/cs.mdc) - XML注释、时间格式、序列化
109+- [命名约定](mdc:.cursor/rules/naming-conventions.mdc) - 实体、DTO、服务、控制器命名
94110  
95−任何时候,输入 `/bmad-help` 可获取上下文相关的指导。
111+## 按文件类型
112+- [DTO规范](mdc:.cursor/rules/dto.mdc) - DTO特性、验证、映射
113+- [控制器规范](mdc:.cursor/rules/controller.mdc) - API控制器、操作特性
114+- [服务类规范](mdc:.cursor/rules/service.mdc) - 服务接口、实现、生命周期
115+- [枚举规范](mdc:.cursor/rules/enum.mdc) - 枚举定义、多语言支持
96116  
97−详细使用指南请参考:
98−- **[BMAD 使用教程](Docs/bmad/bmad-tutorial.md)** - 完整的综合教程(推荐新手阅读)
99−- [BMAD 工作流指南](Docs/bmad/bmad-workflow-guide.md) - 详细的工作流使用指南
100−- [BMAD 团队培训指南](Docs/bmad/bmad-team-guide.md) - 团队培训材料
101−- [BMAD 集成技能](.cursor/skills/bmad-integration/SKILL.md) - BMAD 与 CodeSpirit 集成
102−- [项目上下文文档](project-context.md) - 项目上下文和规范引用
117+## 专项规范
118+- [API设计](mdc:.cursor/rules/api-design.mdc) - RESTful、路由、响应格式
119+- [依赖注入](mdc:.cursor/rules/dependency-injection.mdc) - Scrutor自动注册
120+- [启动框架](mdc:.cursor/rules/startup-framework.mdc) - Program.cs配置
121+- [数据库迁移](mdc:.cursor/rules/database.mdc) - 多数据库、DbContext、迁移命令
122+- [多语言](mdc:.cursor/rules/i18n.mdc) - 资源文件、本地化
123+- [AI开发](mdc:.cursor/rules/ai-development.mdc) - AI表单、长任务、LLM
124+- [性能优化](mdc:.cursor/rules/performance.mdc) - 异步、缓存、查询
125+- [安全规范](mdc:.cursor/rules/security.mdc) - 权限、审计、加密
126+- [测试规范](mdc:.cursor/rules/testing.mdc) - 单元测试、集成测试、Mock使用
127+ 
128+## 项目结构
129+- [项目结构](mdc:.cursor/rules/project-structure.mdc) - 完整目录树
130+ 
131+## 包管理
132+- [包管理规范](mdc:.cursor/rules/package-management.mdc) - 集中式包管理、版本统一、传递依赖处理
133+ 
134+> 💡 专项规范会根据文件类型自动应用
RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack