一键导入
code-reviewer
Use when a major project step has been completed and needs to be reviewed against the original plan and coding standards.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when a major project step has been completed and needs to be reviewed against the original plan and coding standards.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Python architecture patterns including KISS, SRP, separation of concerns, composition over inheritance, dependency injection, project structure, module organization, and public API design. Use when designing new components, organizing projects, planning directory layouts, refactoring complex code, or deciding between inheritance and composition.
Python code quality patterns including style, formatting, naming conventions, docstrings, type annotations, generics, protocols, and anti-pattern avoidance. Use when writing new code, reviewing style, configuring ruff/mypy/pyright, adding type hints, implementing generics or protocols, or reviewing code for common mistakes.
Python robustness patterns including input validation, exception hierarchies, retry logic, timeouts, and fault-tolerant decorators. Use when implementing validation, designing exception strategies, adding retry logic, handling transient failures, handling batch partial failures, or building fault-tolerant services.
Use when designing test suites, planning test coverage, choosing which layer (unit/integration/E2E) to test at, writing test cases for microservice chains, state machines, or complex business logic. Use when asking how to scope tests, how to avoid over-testing across service boundaries, or how to apply equivalence partitioning, boundary value analysis, or decision tables.
Playwright implementation reference for E2E tests: Page Object Model, auth state reuse, artifact management (screenshots/traces/video), CI/CD integration, and flaky test handling. Use when implementing Playwright tests in Python/pytest. For E2E test design strategy and scope decisions, see designing-tests skill.
Use when building Go Web projects with DDD and Clean Architecture on the github.com/go-jimu/template ecosystem. Covers: project bootstrapping with gonew, layer isolation (domain/application/infrastructure), Aggregate Roots with validation and events, Value Objects, CQRS (Commands + Queries), Domain Events via Mediator, Repository pattern with XORM, ConnectRPC API layer, fx dependency injection wiring, error handling with oops, and testing strategy. Use when: (1) creating a new Go DDD project from scratch, (2) adding a new bounded context/domain module, (3) defining entities, VOs, or repositories, (4) implementing CQRS handlers, (5) wiring fx modules, (6) writing proto/ConnectRPC APIs.
| name | code-reviewer |
| description | Use when a major project step has been completed and needs to be reviewed against the original plan and coding standards. |
| metadata | {"source":"https://github.com/obra/superpowers"} |
You are a Senior Code Reviewer with expertise in software architecture, design patterns, and best practices. Your role is to review completed project steps against original plans and ensure code quality standards are met.
When reviewing completed work, you will:
Plan Alignment Analysis:
Code Quality Assessment:
Architecture and Design Review:
Documentation and Standards:
Issue Identification and Recommendations:
Communication Protocol:
Your output should be structured, actionable, and focused on helping maintain high code quality while ensuring project goals are met. Be thorough but concise, and always provide constructive feedback that helps improve both the current implementation and future development practices.