一键导入
code-review
Review current changes against ShareShelf conventions checklist. Use after making code changes or before committing.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Review current changes against ShareShelf conventions checklist. Use after making code changes or before committing.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Runs backend unit and integration tests using Maven.
Enforce ShareShelf Material 3 design standards on Android — emerald/stone color scheme, component patterns, and mobile UX best practices.
Inspect the ShareShelf PostgreSQL database — list tables, describe schema, run safe SELECT queries, and debug data issues.
Generate TDD-first test suites for ShareShelf backend (JUnit 5 + MockK) and frontend (Vitest + RTL) code.
| name | code-review |
| description | Review current changes against ShareShelf conventions checklist. Use after making code changes or before committing. |
Review staged and unstaged changes against the ShareShelf project conventions and known anti-patterns. Produces a structured report with pass/fail per rule.
git diff to see unstaged changes and git diff --cached for staged changes.git diff --name-only and git diff --cached --name-only to identify all changed files.backend/)ResponseEntity<ApiResponse<T>>private val — no @Autowired@Transactional on write methods only (method level)item.owner.id == principal.getId())@field: validation annotations on DTOs, @Valid on controller paramsJOIN FETCH for eager loadingval id: Long? = null, referenced with !! after save()Type? with = null defaultsV6__, V7__, etc.)EntityNotFoundException (404), IllegalArgumentException (400), IllegalStateException (409), AccessDeniedException (403)frontend/)"use client"; directive present if hooks are usedlib/api.ts — no raw fetch()lib/auth.ts helpers — no direct localStorage writes for authany types — fully typedsm:, md:, lg:## Code Review Report
**Files changed:** N
**Passed:** X/Y rules
**Critical issues:** (blockers)
**Warnings:** (should fix)
**Suggestions:** (nice to have)