code-review
Language-agnostic code review skill. Reads project conventions from CLAUDE.md and applies parameterized quality checks.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Language-agnostic code review skill. Reads project conventions from CLAUDE.md and applies parameterized quality checks.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Manage project board — issues, sprints, status tracking, acceptance verification, and release management. Supports GitHub Projects, Jira, and YouTrack via pluggable providers.
Manage project board — issues, sprints, status tracking, acceptance verification, and release management. Supports GitHub Projects, Jira, and YouTrack via pluggable providers.
Happy path smoke testing — navigates all configured endpoints, checks HTTP status and server logs for errors, and optionally auto-creates GitHub issues for failures. Config-driven via CC_SMOKE_TEST_* variables.
Manage GitHub Project board — issues, sprints, status tracking, acceptance verification, and release management. White-labeled template for any project.
Check for and apply cognitive-core framework updates. Compares installed agents, skills, and hooks against the framework source, shows available updates, and safely applies them.
Check for and apply cognitive-core framework updates. Compares installed agents, skills, and hooks against the framework source, shows available updates, and safely applies them.
| name | code-review |
| description | Language-agnostic code review skill. Reads project conventions from CLAUDE.md and applies parameterized quality checks. |
| user-invocable | true |
| context | fork |
| allowed-tools | Read, Grep, Glob |
| argument-hint | File or directory to review |
| catalog_description | Language-agnostic code review with project-aware convention checks. |
Provides structured code review by reading conventions from your project's
CLAUDE.md and cognitive-core.conf. All checks are parameterized.
$ARGUMENTS -- file or directory to reviewCLAUDE.md at the project root for coding standardscognitive-core.conf for language and architecture settings:
CC_LANGUAGE -- primary languageCC_ARCHITECTURE -- architecture pattern (ddd, mvc, clean, etc.)CC_LINT_COMMAND -- configured lint commandDetermine the architectural layer of the file being reviewed based on its path
and the configured CC_ARCHITECTURE pattern. Common layers:
| Check | Severity |
|---|---|
| File follows project naming conventions | ERROR |
| Error handling present (not bare catch/rescue/except) | ERROR |
| No hardcoded secrets or credentials | ERROR |
| Functions/methods have clear single responsibility | WARN |
| Magic numbers or strings extracted to constants | WARN |
| Input validation on public interfaces | WARN |
| Check | Severity |
|---|---|
| Layer dependencies follow configured pattern | ERROR |
| No infrastructure code in domain/model layer | ERROR |
| Controllers delegate to services (thin controllers) | WARN |
| Data access goes through repository layer | ERROR |
Read CLAUDE.md for project-specific anti-patterns and blocked patterns. Flag any matches as ERROR.
Each finding must include its provenance source for traceability:
CODE REVIEW
===========
File: [path]
Layer: [detected layer]
Language: [from CC_LANGUAGE]
STANDARDS
---------
[check]: [PASS/FAIL] [detail if failed] — Source: [documented|verified|inferred|automated]
ARCHITECTURE
------------
[check]: [PASS/FAIL] [detail if failed] — Source: [documented|verified|inferred|automated]
ANTI-PATTERNS
-------------
[check]: [PASS/FAIL] [detail if failed] — Source: [documented|verified|inferred|automated]
SUMMARY
=======
Category | Pass | Warn | Fail
-------------|------|------|-----
Standards | N | N | N
Architecture | N | N | N
Anti-patterns| N | N | N
PROVENANCE
==========
- documented: N findings from CLAUDE.md / language standards
- automated: N findings from lint tool
- inferred: N findings from pattern analysis
- verified: N findings from code inspection
VERDICT: [APPROVED | NEEDS_CHANGES]
For reviews involving more than 5 changed files, use a multi-pass approach to prevent attention dilution:
Review each file individually for:
Output format per file:
| File | Line | Severity | Issue | Fix | Source |
|---|
After completing all per-file reviews, analyze cross-cutting concerns:
Use context: fork to run the review in an isolated context. This prevents the reviewing agent from being influenced by its own prior generation reasoning — a fresh perspective catches issues that self-review misses.
/pre-commit -- Quick lint before staging/fitness -- Quality fitness scoringCLAUDE.md -- Project standards reference