본문으로 건너뛰기
cccskills
무료GitHub에 공개

reviewer-architecture

Performs architectural code reviews focusing on design patterns, duplication, circular dependencies, and refactoring impact. Is the design consistent with the codebase? Use when reviewing code changes for architectural concerns, code smells, or structural issues.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

실행 점수 미검증

설치 방법 보기

포함된 파일(1)

  • SKILL.md4.3 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Architectural Reviewer

Performs deep architectural analysis of code changes, identifying design patterns, duplication, circular dependencies, and refactoring side effects.

Review Complete When

  • Scope of affected files and modules is mapped
  • Duplication is audited (no new unnecessary copies, consolidation opportunities noted)
  • Patterns verified against codebase conventions (caller expectations, interface consistency)
  • Circular dependencies validated or ruled out for all affected modules
  • Refactoring impact assessed (stub files, side effects, progression toward goal)
  • Summary table shows status for all items
  • Overall verdict is clear ([PASS] patterns sound / [WARN] concerns noted / [FAIL] rework needed)

A review is not complete if any architectural check has an "unknown" or "not checked" status.

Instructions

1. Identify Scope

Determine which files and modules are affected by the changes. Map the import/export graph for the affected modules.

2. Check for Duplication

Search for duplicate or near-duplicate implementations across the codebase:

# Find similar function names across files
grep -rn "function getConsolidationFiles" --include="*.ts" --include="*.js"

# Find similar patterns (e.g., path.join, fs.readdirSync)
grep -rn "path.join.*map" --include="*.ts" --include="*.js"

For each duplicate found, assess:

  • Are the implementations identical or divergent?
  • Is there an intentional reason for the duplication?
  • Should they be consolidated into a shared utility?

3. Assess Architectural Patterns

Evaluate whether the changes follow existing patterns in the codebase:

  • Path resolution: Do path-building functions return full paths consistently? Check against existing patterns like discoverAgents().
  • Import structure: Is the import chain linear, or does it introduce cycles?
  • Export surface: Are exports aligned with how consumers use them?
  • Module boundaries: Do changes respect existing module responsibilities?

4. Trace Callers and Consumers

For each changed function, verify all callers:

# Find all callers of a function
grep -rn "getStructuredConsolidationFiles" --include="*.ts" --include="*.js"
grep -rn "createSession" --include="*.ts" --include="*.js"

Check:

  • Do all callers expect the same interface (e.g., full paths vs. bare filenames)?
  • Are there callers that might break with the change?
  • Are there unmet imports (functions used but not exported)?

5. Check Circular Dependencies

Build the import graph for affected modules:

shared.ts -> paths.ts (one-way)
agent-spawning.ts -> shared.ts (one-way)
dream-execution.ts -> shared.ts + agent-spawning.ts (one-way)

Flag any cycles. Circular dependencies indicate architectural coupling that should be broken.

6. Evaluate Refactoring Impact

When changes are part of a larger refactoring (e.g., extracting handlers from a monolith):

  • Are stub files created as intermediate artifacts?
  • Do new exports serve the refactoring goal?
  • Are there side effects on unrelated modules?
  • Is the refactoring progressing toward a clear architecture?

7. Report Findings

Structure the review as:

## Review

### 1. [Change Description] -- Status [PASS]/[WARN]/[FAIL]

**Evidence:**
- [Specific file:line references]
- [Pattern comparisons]
- [Caller verification]

**Verdict:** [Brief conclusion]

### 2. Architectural Concerns

#### 2a. [Issue] [WARN]/[INFO]

[Description of the concern, why it matters, and a suggestion]

### Summary

| Item | Status | Notes |
|------|--------|-------|
| [Item] | [PASS]/[WARN]/[FAIL] | [Brief note] |

**[Overall verdict]**

Use status symbols:

  • [PASS] -- Correct, no issues
  • [WARN] -- Code smell or concern worth noting (not a blocker)
  • [FAIL] -- Architectural problem that should be addressed
  • [INFO] -- Informational, known state

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Distills enduring architectural decisions and design rationale from wave orchestration plans or historical git changes into structured, tracked Architecture Decision Records (ADRs). Use pre-wave to resolve active architectural constraints or post-wave to record enduring decisions in docs/decisions/.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

AndrewBrown-USDA/aigb-skills-usda72026년 10월 22일 업데이트

Create and maintain AGENTS.md files for project onboarding and grounding. Use when initialized in a new project, when project structure changes significantly, or when creating subfolder-level AGENTS.md files for complex monorepos.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

AndrewBrown-USDA/aigb-skills-usda72026년 10월 22일 업데이트

Audit and update an arbitrary codebase to follow the Code.mil federal open-source licensing model (MIT with 17 U.S.C. Section 105 disclaimers and INTENT.md), including CRAN/R package DESCRIPTION setup.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

AndrewBrown-USDA/aigb-skills-usda72026년 10월 22일 업데이트

Migrates ArcPy and ArcGIS Pro workflows to explicit, testable open-source Python geospatial workflows. Use when removing ArcPy dependencies, porting geoprocessing scripts, or documenting ArcGIS behavior that will not be migrated.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

AndrewBrown-USDA/aigb-skills-usda72026년 10월 22일 업데이트

caveman

무료

Ultra-compressed communication mode that cuts output tokens while keeping technical accuracy. Levels: lite, full, ultra and the wenyan variants. Use for /caveman, "caveman mode", "talk like caveman", "be brief" or "less tokens".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

AndrewBrown-USDA/aigb-skills-usda72026년 10월 22일 업데이트

Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes - Standards (does the code follow this repo's documented coding standards?) and Spec (does the code match what the originating issue/spec asked for?). Runs both reviews in parallel sub-agents and reports them side by side. Use when the user wants to review a branch, a PR, work-in-progress changes, or asks to "review since X".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

AndrewBrown-USDA/aigb-skills-usda72026년 10월 22일 업데이트

AndrewBrown-USDA의 스킬 모두 보기

이 스킬의 문제 신고