원클릭으로
review-conventions
Audit feature code against convention rules, reporting violations with file:line references
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Audit feature code against convention rules, reporting violations with file:line references
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI. Provides project context, component docs, and usage examples. Applies when working with shadcn/ui, component registries, presets, --preset codes, or any project with a components.json file. Also triggers for "shadcn init", "create an app with --preset", or "switch to --preset".
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.
Pull structural and infrastructure changes from the upstream nextjs_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, configs, tooling, dependencies, shared libs, and app scaffolding. 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 nextjs_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.
| name | review-conventions |
| description | Audit feature code against convention rules, reporting violations with file:line references |
Audits existing code against the project's convention rules. Reports every imperative constraint violation with file:line references.
feature — (optional) feature name or path to audit (e.g. widgets, src/components/WidgetCard.tsx). If omitted, audits all files changed since the branch diverged from origin/main.| Rule file | Applies to paths |
|---|---|
.claude/rules/architecture.md | src/app/**/* |
.claude/rules/code-style.md | src/**/*.ts, src/**/*.tsx |
.claude/rules/features/components.md | src/app/**/_components/** |
.claude/rules/features/actions.md | src/app/**/_actions/** |
.claude/rules/features/hooks.md | src/app/**/_hooks/** |
.claude/rules/features/data-loading.md | src/app/**/_hooks/**, src/app/**/_actions/** |
.claude/rules/features/layout.md | src/app/**/layout.tsx |
.claude/rules/features/page.md | src/app/**/page.tsx |
.claude/rules/features/error.md | src/app/**/error.tsx, src/app/**/global-error.tsx |
Identify files to audit:
git diff --name-only "$(git merge-base HEAD origin/main 2>/dev/null || git rev-parse HEAD~1)" to get changed files. If origin/main is unavailable (fresh clone, offline) the command falls back to HEAD~1.For each file:
NEVER, ALWAYS, Never, or Always, or that contain must as a standalone word. Exclude content inside fenced code blocks and table example columns.Report findings:
VIOLATION: <rule-file> — "<constraint text>" — <source-file>:<line>PASS: <rule-file> — "<constraint text>"X violations found, Y constraints checkedChecking src/app/[locale]/(auth)/_components/login-form.tsx against features/components.md...
PASS: features/components.md — "NEVER fetch data inside a component with raw fetch()"
VIOLATION: features/components.md — "NEVER export default from component files" — login-form.tsx:1
Checking src/app/[locale]/(auth)/login/page.tsx against features/page.md...
PASS: features/page.md — "NEVER add conditional rendering or logic in page.tsx"
PASS: features/page.md — "NEVER call server actions or data fetching functions directly in page.tsx"
Summary: 1 violation found, 4 constraints checked