بنقرة واحدة
code-review
BFF code review gate for standards, tests, complexity <= 30, modern C#, and security validation.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
BFF code review gate for standards, tests, complexity <= 30, modern C#, and security validation.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Contracts code review gate for standards, tests, complexity <= 30, modern C#, and security validation.
Full template code review gate for DDD/SOLID 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 | BFF code review gate for standards, tests, complexity <= 30, modern C#, and security validation. |
Use this skill to review changes in the BFF template and block merge when quality gates fail.
Guarantee that proposed changes:
Prioritize review of:
src/WebApp (minimal APIs, middleware, endpoint registration)src/Infrastructure (HTTP/gRPC adapters, cache, resilience, telemetry)src/Contracts (DTO/proto contracts used by BFF)tests/IntegrationTests, tests/CommonTests, tests/LoadTestsBefore reviewing, collect:
templates/Bff/Readme.md.Requirement coverage
Architecture compliance
src/Contracts.src/Infrastructure.src/WebApp.Testing gate
tests/IntegrationTests).tests/CommonTests).tests/LoadTests).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.