一键导入
reflection-contract-tests
Use reflection-based tests to lock an API contract before the implementation lands.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use reflection-based tests to lock an API contract before the implementation lands.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Add or extend MoreSpeakers Domain Result types with explicit factory methods and structured errors.
Apply Result<T>-based feedback patterns in Razor Pages and HTMX flows.
Fix xUnit v3 test projects that compile but show zero discovered tests under dotnet test.
Expert .NET 10 Full-Stack Developer skill. Use this when implementing new features, vertical slices, or modifying existing logic in the MoreSpeakers application. It covers Domain, Data (EF Core), Managers, and Web (Razor Pages + HTMX).
QA Automation Engineer skill. Use this to write or refactor unit tests. Ensures tests follow the project's xUnit, FluentAssertions, and Moq standards.
Database Architect skill. Use this when you need to modify the database schema, add tables, or seed data. This project uses RAW SQL SCRIPTS orchestrated by .NET Aspire, NOT Entity Framework Migrations.
基于 SOC 职业分类
| name | reflection-contract-tests |
| description | Use reflection-based tests to lock an API contract before the implementation lands. |
| domain | testing |
| confidence | high |
| source | earned |
Use this when a team wants tests merged ahead of an additive implementation. The goal is to keep the test project compiling while still failing loudly if required public types or members are missing.
src/MoreSpeakers.Domain.Tests\ResultFoundationTests.cs validates the future MoreSpeakers.Domain.Result, MoreSpeakers.Domain.Result<T>, and MoreSpeakers.Domain.Error contract before those types exist.