一键导入
architecture-review
Runs all three architecture reviewers (Object Oriented Design, Clean Architecture, and API Design Reviewers).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Runs all three architecture reviewers (Object Oriented Design, Clean Architecture, and API Design Reviewers).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Orchestrates an architecture-enforced implementation feedback loop. Implements code, then runs Object Oriented Design, Clean Architecture, and API Design reviews, iterating until all reviewers approve or the safety valve triggers. Use when implementing code that should meet design quality standards.
Reviews code for API design quality including naming conventions, self-documenting interfaces, method signatures, parameter design, type safety, and REST endpoint design. Use when evaluating the usability and readability of public interfaces, class APIs, or REST endpoints.
Reviews code for clean architecture compliance including component cohesion principles (REP, CRP, CCP), component coupling principles (ADP, SDP, SAP), and quality attributes (maintainability, extensibility, testability). Use when evaluating architectural soundness of new or modified code.
Reviews code for object-oriented design quality including SOLID principles, DRY violations, composition and inheritance choices, and Gang of Four design pattern applicability. Use when evaluating object oriented design of new or modified code.
Bootstrap skill that teaches how to discover and use Arxitect's architecture enforcement skills. Loaded automatically on session start.
| name | architecture-review |
| description | Runs all three architecture reviewers (Object Oriented Design, Clean Architecture, and API Design Reviewers). |
You are orchestrating a read-only architecture review. Three independent reviewers evaluate code for object-oriented design, clean architecture, and API design quality.
The user's request: $ARGUMENTS
Follow these steps exactly. Do not skip or combine steps.
Determine the files to review from the user's request. If the user specified files or directories, use those. If the request is vague (e.g., "review the auth module"), use Glob and Grep to identify the relevant source files. Exclude test files, configuration files, and generated files unless the user explicitly asks to review them.
Build a file list: one file path per line.
Spawn all three reviewers as sub-agents using the Agent tool. Each reviewer must have read-only access (Read, Glob, Grep only) — it must not modify any files.
If the environment supports parallel agents, dispatch all three in a single message so they run concurrently. If not, dispatch them one at a time in any order.
The reason we are delegating these tasks to specialized sub-agents is because they operate with isolated context and precise instructions that will better allow them to review the code for their lens.
If the environment supports named agent definitions (e.g., Claude Code
subagent_type), use the dedicated reviewer agents below. They are
pre-configured with read-only tools and pre-loaded review skills. Pass only
the file list and any additional context in the prompt.
If not, spawn generic agents and tell each to read its agent-prompt.md
for instructions and reference material. Restrict tool access to Read, Glob,
Grep if the environment supports tool restrictions on agent spawning.
Named agent: subagent_type: "oo-design-reviewer"
Fallback prompt: Tell the agent to read
skills/oo-design-review/agent-prompt.md.
Named agent: subagent_type: "clean-architecture-reviewer"
Fallback prompt: Tell the agent to read
skills/clean-architecture-review/agent-prompt.md.
Named agent: subagent_type: "api-design-reviewer"
Fallback prompt: Tell the agent to read
skills/api-design-review/agent-prompt.md.
Wait for all reviewers to complete. Parse each reviewer's output for its VERDICT and all structured findings. Present a unified report:
## Architecture Review Results
### Overall Verdict: [APPROVED | CHANGES_REQUESTED]
APPROVED only if all three reviewers returned APPROVED.
### Object Oriented Design — [VERDICT]
[Findings in structured format]
### Clean Architecture — [VERDICT]
[Findings in structured format]
### API Design — [VERDICT]
[Findings in structured format]
### Priority Actions
[All CRITICAL findings first, then WARNINGs that appeared across multiple
reviewers or compound across domains.]
agent-prompt.md (fallback).Required skills:
Orchestration files (read by this skill):
skills/architect/review-output-format.md — Structured output
format all reviewers must followAlternative workflow: