一键导入
result-web-feedback
Apply Result<T>-based feedback patterns in Razor Pages and HTMX flows.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Apply Result<T>-based feedback patterns in Razor Pages and HTMX flows.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Add or extend MoreSpeakers Domain Result types with explicit factory methods and structured errors.
Fix xUnit v3 test projects that compile but show zero discovered tests under dotnet test.
Use reflection-based tests to lock an API contract before the implementation lands.
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 | result-web-feedback |
| description | Apply Result<T>-based feedback patterns in Razor Pages and HTMX flows. |
| domain | web-ui |
| confidence | high |
| source | earned |
Use this when a Web-layer flow moves from sentinel values to Result/Result<T>. It covers Razor Page handlers, redirect feedback, and HTMX partial re-renders.
TempData["ErrorMessage"] so _ToastMessages renders it after the redirect.ModelState errors and return Page() so validation summaries show the failure.Model.NewExpertiseResponse) when re-rendering instead of creating a new one.Result fails.Areas\Admin\Pages\Catalog\Expertises\Categories\Index.cshtml.csAreas\Identity\Pages\Account\Register.cshtml.csPages\Profile\Edit.cshtml.csPages\Speakers\Index.cshtml.cs