一键导入
code-review
Full template code review gate for DDD/SOLID standards, tests, complexity <= 30, modern C#, and security validation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Full template code review gate for DDD/SOLID standards, tests, complexity <= 30, modern C#, and security validation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
BFF code review gate for standards, tests, complexity <= 30, modern C#, and security validation.
Contracts code review gate for standards, tests, complexity <= 30, modern C#, and security validation.
Create or update BFF contracts in src/Contracts (records, DTOs, and .proto). Use when user asks to add/change request/response contracts, order DTOs, base contract wrappers, or gRPC proto contracts.
Create a new minimal API endpoint in src/WebApp and add matching integration tests in tests/IntegrationTests. Use when user asks for new GET/POST/PUT/PATCH/DELETE endpoints plus end-to-end validation.
Create or extend k6 load tests for this BFF template. Use when user asks for HTTP/gRPC performance scenarios, thresholds, custom metrics, or environment-driven load profiles in tests/LoadTests.
Generate Application use case classes and xUnit unit tests following BaseInOutUseCase/BaseInUseCase/BaseOutUseCase patterns, FluentValidation, repository mocks, and fixture conventions for this hexagonal template.
| name | code-review |
| description | Full template code review gate for DDD/SOLID standards, tests, complexity <= 30, modern C#, and security validation. |
Use this skill to perform end-to-end review for the Full Hexagonal template and block merge when quality gates fail.
Guarantee that proposed changes:
Prioritize review of:
src/Domain (entities, invariants, domain behavior)src/Application (use cases, DTOs, validators, ports)src/Infrastructure (EF, cache, messaging, telemetry adapters)src/WebApp (minimal APIs, composition, middleware)tests/UnitTests, tests/IntegrationTests, tests/LoadTestsBefore reviewing, collect:
templates/Full/Readme.md.Requirement coverage
DDD/SOLID architecture gate
Testing gate
Cyclomatic complexity gate (hard fail > 30)
Modern C# gate
Security and vulnerability gate
Return a concise report with:
APPROVED or CHANGES_REQUIREDIf any hard gate fails, decision must be CHANGES_REQUIRED.