一键导入
test-enforcement
Mandatory rule requiring a corresponding test file for every business logic file and UI component.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Mandatory rule requiring a corresponding test file for every business logic file and UI component.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Guidelines for naming test folders and namespaces following the Unit.[Component] convention.
Catalog of all specialized skills used across the FinanzApp project (Frontend & Backend).
Guidelines for clean code, readability, and the "No Comments" policy.
Mandatory rule for EF Core migrations and database updates.
Mandatory rules for automatically updating README.md when creating files or tests.
Guidelines for cross-layer testing (Hooks + UI + Services) using real logic and MSW for network interception.
| name | test-enforcement |
| description | Mandatory rule requiring a corresponding test file for every business logic file and UI component. |
To maintain 100% reliability and prevent logic regressions in the FinanzApp Backend, it is OBLIGATORY that every file containing business logic, services, or repositories has a corresponding test file.
.cs file in Services/, Data/Repositories/, WebAPI/Endpoints/, or Core/ MUST have a matching test file in the Tests/ project.Unit.[NombreDeCarpeta].Tests/Unit.Services/, Tests/Unit.Data/.Tests.Unit.[NombreDeCarpeta].AuthService.cs, the test file MUST be AuthServiceTests.cs.Services/
└── AuthService.cs
Tests/
└── Services/
└── AuthServiceTests.cs
Services/
└── AuthService.cs
(Error: Missing AuthServiceTests.cs in Tests project)