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

harness-review

Multi-angle code and plan review with security, scope, and UI profiles. Use when reviewing code, plans, PRs, or running pre-merge quality gates.

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

설치 방법 보기

포함된 파일(14)

  • SKILL.md8.2 KB
  • references/code-review.md2.1 KB
  • references/codex-closeout.md2.6 KB
  • references/codex-review.md1.2 KB
  • references/dual-review.md2.8 KB
  • references/governance.md2.2 KB
  • references/opencode-review.md2.3 KB
  • references/plan-review.md891 B
  • references/result-schema.md2.7 KB
  • references/scope-review.md344 B
  • references/security-profile.md11.8 KB
  • references/team-debate.md2.0 KB
  • references/ui-rubric.md7.3 KB
  • references/verdict-framework.md1.6 KB

SKILL.md(원문)

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

Harness Review

Quick Reference

User InputSubcommandBehavior
"Review this" / "review"code (auto)Code review (recent changes)
"After harness-plan"plan (auto)Plan review
"Check scope"scope (auto)Scope analysis
harness-review codecodeForce code review
harness-review planplanForce plan review
harness-review scopescopeForce scope analysis
harness-review --dualcode (auto) + Codex parallelClaude + Codex dual review
harness-review --securitySecurity ReviewOWASP Top 10 dedicated security review (read-only)
harness-review --ui-rubricUI Rubric Review4-axis design quality scoring

Operating Modes

Maps flags to their reference files. Quick Reference above covers trigger → subcommand routing; this table covers flag → reference dispatch.

FlagReferencePurpose
--quick${CLAUDE_SKILL_DIR}/references/codex-closeout.mdLightweight Codex-assisted closeout; stops on clean result
--codex-closeout${CLAUDE_SKILL_DIR}/references/codex-closeout.mdFull closeout with final JSON report
--team-debate${CLAUDE_SKILL_DIR}/references/team-debate.mdMulti-agent read-only debate (Spec / Plans / Regression / Skeptic agents)
--opencode${CLAUDE_SKILL_DIR}/references/opencode-review.mdOpenCode-assisted review via opencode-plugin-cc
(any mode)${CLAUDE_SKILL_DIR}/references/governance.mdAPPROVE pass criteria, severity table, AskUserQuestion contract
(any mode)${CLAUDE_SKILL_DIR}/references/code-review.mdEight-lens review flow and verdict rules

--team-debate is required when changes span multiple modules, touch security/auth/release, or when the same issue fails two consecutive post-fix re-reviews (see governance.md).

Options

OptionDefaultDescription
--dualnoneParallel Claude + Codex review. Details: ${CLAUDE_SKILL_DIR}/references/dual-review.md
--securitynoneOWASP Top 10 security-only review (read-only). Details: ${CLAUDE_SKILL_DIR}/references/security-profile.md
--ui-rubricnone4-axis design quality scoring (0–10). Details: ${CLAUDE_SKILL_DIR}/references/ui-rubric.md
--no-commitnoneDisable auto-commit on APPROVE

Review Type Auto-Detection

Recent ActivityReview TypePerspectives
After harness-workCode ReviewSecurity, Performance, Quality, Accessibility, AI Residuals
After harness-planPlan ReviewClarity, Feasibility, Dependencies, Acceptance
After task additionScope ReviewScope-creep, Priority, Feasibility, Impact

Verdict Framework

Establish severity classification before reviewing. See ${CLAUDE_SKILL_DIR}/references/verdict-framework.md for the full severity matrix and AI Residuals classification.

Rule: If critical or major findings exist → REQUEST_CHANGES. If only minor/recommendation → APPROVE.

Code Review Flow

Step 0: Reviewer Mode Auto-Detection (Browser vs Static)

Fork context auto-start (REVIEW_AUTOSTART): emit this as the very first output token in a forked session before any other processing.

Fork-context prohibition list (5 forbidden failure modes):

  1. Waiting for user confirmation before starting
  2. Returning empty output when the diff is empty (output {"verdict":"APPROVE","rationale":"no changes detected"})
  3. Spawning a browser reviewer without checking reviewer_profile in the sprint contract
  4. Writing to Plans.md or any cc:* marker
  5. Exiting without emitting a JSON verdict
Does the change include UI files (.tsx, .jsx, .vue, .css, .html)?
├─ No  → Static reviewer (proceed to Step 1)
└─ Yes → Does the sprint-contract specify reviewer_profile: "browser"?
    ├─ Yes → Browser reviewer (launch browser-review-runner.sh)
    └─ No  → Is this a visual/design change?
        ├─ Yes → Browser reviewer recommended
        └─ No  → Static reviewer

Browser reviewer path: bash "${CLAUDE_SKILL_DIR}/../../scripts/browser-review-runner.sh" --contract "${CONTRACT_PATH}"

Step 1: Collect Change Diff

CHANGED_FILES="$(git diff --name-only --diff-filter=ACMR "${BASE_REF:-HEAD~1}")"
git diff ${BASE_REF:-HEAD~1} --stat
git diff ${BASE_REF:-HEAD~1} -- ${CHANGED_FILES}

Step 2: Static Scan for AI Residuals

AI_RESIDUALS_JSON="$(bash "${CLAUDE_SKILL_DIR}/../../scripts/review-ai-residuals.sh" --base-ref "${BASE_REF:-HEAD~1}")"

Step 3: Review from 5 Perspectives

PerspectiveCheck Items
SecuritySQL injection, XSS, credential exposure, input validation
PerformanceN+1 queries, unnecessary re-renders, memory leaks
QualityNaming, single responsibility, test coverage, error handling
AccessibilityARIA attributes, keyboard navigation, color contrast
AI ResidualsmockData, dummy, fake, localhost, TODO, FIXME, it.skip, hardcoded secrets

Apply the severity framework from verdict-framework.md to each finding.

Step 4: Output Review Result

See ${CLAUDE_SKILL_DIR}/references/result-schema.md for the full review-result.v1 JSON schema.

For --dual flag: see ${CLAUDE_SKILL_DIR}/references/dual-review.md For --security flag: see ${CLAUDE_SKILL_DIR}/references/security-profile.md For --ui-rubric flag: see ${CLAUDE_SKILL_DIR}/references/ui-rubric.md

Step 5: Commit Decision

  • APPROVE: Execute auto-commit (unless --no-commit)
  • REQUEST_CHANGES: Present critical/major findings. Auto-fix via harness-work fix loop (up to 3 times), then re-review.

Plan Review Flow

See ${CLAUDE_SKILL_DIR}/references/plan-review.md

Scope Review Flow

See ${CLAUDE_SKILL_DIR}/references/scope-review.md

Anomaly Detection

SituationAction
Security vulnerabilityImmediately REQUEST_CHANGES
Suspected test tamperingWarning + fix request
Force push attemptReject + suggest alternative

Codex Environment

Load ${CLAUDE_SKILL_DIR}/references/codex-review.md only when command -v codex succeeds and the user explicitly requests Codex or duo review.

OpenCode Environment

Load ${CLAUDE_SKILL_DIR}/references/opencode-review.md only when command -v opencode succeeds and the user explicitly requests OpenCode review (e.g., --opencode, "use opencode", "opencode review").

↑ Claude will summarize this result. Type a new prompt to redirect or press Enter to continue.

Related Skills

  • harness-work — Implement fixes after review
  • harness-plan — Create and modify plans
  • harness-release — Release after review passes

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

allow1

무료

Use when generating, vectorizing, or converting images to SVG — logos, icons, illustrations, or 'allow1'/'quiver' references.

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

tim-hub/powerball-harness352026년 8월 5일 업데이트

breezing

무료

Use when running the full team/breezing flow end-to-end — all tasks with parallel workers. Do NOT load for: single-task implementation, planning, review, release, or setup.

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

tim-hub/powerball-harness352026년 8월 5일 업데이트

Reviews PRs that modify the Feature Table in CLAUDE.md. Use when a PR adds CC version rows or modifies docs/CLAUDE-feature-table.md.

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

tim-hub/powerball-harness352026년 8월 5일 업데이트

Use when researching Claude Code or Codex upstream releases, selecting adaptations, or preparing Harness upgrades. Local-only; not for distribution.

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

tim-hub/powerball-harness352026년 8월 5일 업데이트

Creates a single project slide or one-page visual summary for a repo. Use when generating a project intro image or promotional slide.

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

tim-hub/powerball-harness352026년 8월 5일 업데이트

Generates product demo videos and release walkthroughs via Remotion. Use when creating video documentation or animated demos.

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

tim-hub/powerball-harness352026년 8월 5일 업데이트

tim-hub의 스킬 모두 보기

이 스킬의 문제 신고