بنقرة واحدة
review-conventions
Audit domain feature code against convention rules, reporting violations with file:line references
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Audit domain feature code against convention rules, reporting violations with file:line references
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Pull structural and infrastructure changes from the upstream nestjs-boilerplate into a project forked from it. Use this whenever the user wants to sync, update, pull, catch up on, or merge boilerplate/upstream/template infra changes into a fork — including CI, Docker, configs, tooling, dependencies, and src/infra. Use it even if the user just says "update from the boilerplate" or "what changed upstream" without naming this skill.
Contribute a fork's infrastructure and structural improvements back UP to the upstream nestjs-boilerplate by opening a pull request. Use this whenever the user wants to upstream, contribute, push back, send, or PR fork changes to the boilerplate/template/upstream — e.g. "open a PR with my CI improvements to the boilerplate", "contribute my eslint changes upstream", "send my infra changes back to the template". This is the opposite direction of sync-from-boilerplate.
Automates dependency upkeep for this repo: triages open Dependabot PRs and merges the safe ones, investigates and fixes red CI on dependency PRs, and prunes/reconciles the security lists in pnpm-workspace.yaml (overrides, minimumReleaseAgeExclude, trustPolicyExclude, allowBuilds). Use this whenever the user mentions Dependabot, dependency PRs, dependency updates, bumping or merging deps, "dependency maintenance", a red/failing dependency PR, or cleaning up / pruning pnpm-workspace.yaml — even if they don't name the skill.
| name | review-conventions |
| description | Audit domain feature code against convention rules, reporting violations with file:line references |
Audits existing feature code against the project's convention rules. Reports every !IMPORTANT and NEVER violation with file:line references.
feature — (optional) feature name to audit (e.g., widgets). If omitted, audits all files in git diff --name-only.| Rule file | Applies to paths |
|---|---|
.claude/rules/model/model.md | src/domain/**/*.model.ts |
.claude/rules/service/service.md | src/domain/**/*.service.ts |
.claude/rules/rest/rest.md | src/domain/**/rest/** |
.claude/rules/graphql/graphql.md | src/domain/**/graphql/** |
.claude/rules/database/database.md | src/infra/drizzle/** |
.claude/rules/unit-testing/unit-testing.md | src/**/*.spec.ts |
.claude/rules/e2e-testing/e2e-testing.md | test/**/*.e2e-spec.ts |
.claude/rules/architecture.md | src/domain/**/* |
.claude/rules/code-style.md | src/**/*.ts, test/**/*.ts |
Identify files to audit:
feature is provided: find all files under src/domain/<feature>/ and matching test filesgit diff --name-only HEAD~1 to get recently changed filesFor each file:
!IMPORTANT or NEVERReport findings:
VIOLATION: <rule-file> — "<constraint text>" — <source-file>:<line>PASS: <rule-file> — "<constraint text>"X violations found, Y constraints checkedChecking src/domain/widgets/widgets.service.ts against service.md...
PASS: service.md — "Use these exact method names: all, single, exists, create, update, delete, archive, restore"
PASS: service.md — "Every query MUST filter by ownerId"
VIOLATION: service.md — "NEVER spread the entire update object into .set()" — widgets.service.ts:42
Checking src/domain/widgets/rest/widgets.controller.ts against rest.md...
PASS: rest.md — "Create and Update request DTOs are always separate classes"
PASS: rest.md — "@ApiSchema({ name }) on every request and response DTO"
Summary: 1 violation found, 6 constraints checked