一键导入
tdd-workflow
Use when: any code modification, feature implementation, bug fix, refactoring. Enforces TDD Red-Green-Refactor cycle. Mandatory for all coding agents.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when: any code modification, feature implementation, bug fix, refactoring. Enforces TDD Red-Green-Refactor cycle. Mandatory for all coding agents.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when generating, reviewing, refactoring, or testing Angular code in BackOffice or Website.
Use when touching backend feature slices in the .NET CQRS stack of this repository.
Use when generating, reviewing, refactoring, or testing .NET backend or MAUI client code in this repository.
Use when a task changes visible UI in the Angular applications of this repository.
Use when writing or updating .NET tests in this repository.
Use when: code audit, technical audit, security audit, performance audit, scalability audit, database audit, audit markdown, GitHub audit issues, findings reconciliation, labels sync.
| name | tdd-workflow |
| description | Use when: any code modification, feature implementation, bug fix, refactoring. Enforces TDD Red-Green-Refactor cycle. Mandatory for all coding agents. |
Charger ce skill des qu'un agent doit modifier, creer, ou corriger du code executable. Le TDD est obligatoire pour tout code de production.
Given_When_Then ou MethodName_Scenario_ExpectedSi le projet de tests n'existe pas :
tests/<AssemblyName>.Tests/dotnet test fonctionne<ClasseTestee>Tests.csDateTime.Now, pas de Guid.NewGuid() dans les assertions)Si du code existant n'a pas de tests et que le TDD strict n'est pas applicable (ex: correction urgente, code existant trop couple) :
.github/test-debt.md- [ ] [Date] [Fichier/Classe] — Raison de la detteLe TDD strict peut etre relache uniquement pour :
Program.cs, main.py, app.py, asgi.py, wsgi.py)Meme dans ces cas, un test d'integration ou de smoke est recommande.
@dev doit rappeler le TDD dans toute delegation de code@dotnet-dev et @python-dev doivent charger ce skill avant toute implementation@review-expert doit verifier la presence de tests pour tout nouveau code@vibe-coding-refractaire doit signaler les "tests theatre" (tests qui ne testent rien)