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

review

Review pull requests or staged code changes for correctness, security, edge cases, error handling, duplication, and complexity. It reports findings above its confidence threshold and returns an APPROVE, REQUEST CHANGES, or COMMENT verdict with suggested fixes.

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

원문원문 설명 보기

Code review for PRs or staged changes. >80% confidence threshold. Verdict: APPROVE, REQUEST CHANGES, or COMMENT. Triggers: review, pr, code review.

hashgraph-online/awesome-codex-plugins스타 1,422(GitHub 1,422 + cccskills 0)

실행 점수 미검증

설치 방법 보기

이럴 때 유용합니다

  • Review a pull request before merging
  • Check staged changes for security and logic issues
  • Get a verdict with confidence-rated findings

포함된 파일(2)

  • SKILL.md8.5 KB
  • reference/refutation-patterns.md5.6 KB

SKILL.md(원문)

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

<skill id="review"> <purpose> Review code changes for quality, correctness, security. Only report issues with >80% confidence.

Load: skills/build/reference/testing.md, skills/tearitapart/reference/security.md Reference: _meta/research/ai-code-anti-patterns.md </purpose>

<context> ai_code_stats: buggier: 1.7x more issues than human code security: 40-62% contain vulnerabilities findings: 10.83 per AI PR vs 6.45 human

priority: check Big 5 first (what AI actually breaks) </context>

<on_start>

agentdb read-start

<identify_scope>

gh pr diff {number}        # For PRs
git diff --staged          # For staged
git diff HEAD~1            # For recent

</identify_scope>

<deterministic_lane> Machines first, then judgment. Run before reading a single diff hunk:

"${CLAUDE_PLUGIN_ROOT:-.}/scripts/deterministic-review.sh" <repo-dir> [base-ref]

Parallel gitleaks / semgrep(p/security-audit) / eslint / ruff / shellcheck / actionlint / zizmor / osv-scanner — whatever is installed; diff-scoped when base-ref given; exit 1 on HIGH (secrets, security SAST, high CVEs). Feed findings.tsv into the review as ground truth. Lanes marked SKIPPED are reported as NOT CHECKED, never as clean. </deterministic_lane> </on_start>

<confidence_threshold>

ConfidenceCategoryReport?
95%+Definite bugYES
85-95%Likely issueYES
70-85%Possible issueMAYBE
<70%Style preferenceNO
</confidence_threshold>
<big5 name="BIG 5: AI-SPECIFIC CONCERNS"> Check these FIRST - what AI actually breaks: <check id="1_input_validation"> - Zod/Pydantic schema for every API endpoint? - Parameterized queries (no string concat)? - File uploads validated (size, type, extension)? detection: grep -r "req\.body" | grep -v "parse\|validate\|z\." </check> <check id="2_edge_cases"> - Null/undefined handling present? - Empty arrays handled (length check)? - Zero-length strings rejected? - Timeout handling for external calls? </check> <check id="3_error_handling"> - No empty catch blocks? - Errors logged with context? - User-facing messages generic? detection: grep -r "catch.*{}" (empty catch) </check> <check id="4_duplication"> - Same logic repeated in multiple places? - Should be extracted to shared utility? </check> <check id="5_complexity"> - Run the configured project verify command first. If complexity is not on that armed path, report the enforcement gap; a manual measurement is not a gate. - Any function above its `.ccnrc` budget? A number, not a guess. - If a baseline exists, does the diff say `regressed=0`? - For JS/TS, did stderr name `eslint AST`? Lizard's fallback does not see object-literal methods. - Nested ternaries > 2 levels? detection: ${CLAUDE_PLUGIN_ROOT}/scripts/complexity.sh <repo> <base-ref>; ${CLAUDE_PLUGIN_ROOT}/scripts/complexity.sh --diff <baseline.tsv> <repo> fix: /kernel:simplify on the listed functions </check> </big5> <checklist> <section name="Logic & Correctness"> - [ ] Edge cases handled - [ ] Error paths covered - [ ] Null checks present - [ ] Type safety </section> <section name="Security"> - [ ] Input validation (Zod schema) - [ ] No hardcoded secrets - [ ] SQL injection prevented (parameterized queries) - [ ] XSS prevented (context-aware output encoding / framework auto-escaping first; DOMPurify only where raw HTML is injected, e.g. `dangerouslySetInnerHTML`, `v-html`, `innerHTML`) - [ ] Auth tokens in httpOnly cookies </section> <section name="Performance"> - [ ] No N+1 queries - [ ] Appropriate caching </section> </checklist>

<refute_before_report> Before a finding enters the report, check it against reference/refutation-patterns.md (11 false-alarm families + 5 refutation moves). A finding matching a family needs evidence distinguishing it from the refuted precedent. Severity gates from the same file apply: falsification check before CRITICAL, consensus deflation, authority stripping on CVEs, and the judge's own additions get refuted too. Refuted candidates go in the report WITH their refutations; if the project keeps a refutation-corpus file, append new refuted false alarms to it in the same session. </refute_before_report>

<output_format> CODE REVIEW

Files: X changed Findings: Y (Z critical)

CRITICAL

[file:line] Issue (confidence: XX%) → Fix: suggestion

HIGH

[file:line] Issue (confidence: XX%) → Fix: suggestion

Summary: APPROVE | REQUEST CHANGES | COMMENT </output_format>

<ask_user> Use AskUserQuestion when: a finding is between 70-85% confidence (ambiguous) Ask: "Found {issue} at {file:line} (confidence {X}%). Intentional, or should I flag it?" Options: intentional — skip, flag it, investigate deeper </ask_user>

<verdict_rules> Review is finite because its purpose is AUTHORIZATION, not exhaustion. Approve once the change improves the health of the codebase, not once nothing else can be found. Nothing else can ever be found. (#204)

  • APPROVE: no finding clears the block bar. Open non-blocking comments do NOT prevent APPROVE — say the issue number out loud and approve. Forcing another round to re-check a nit costs more than the nit.
  • REQUEST CHANGES: at least one finding clears the block bar below.
  • COMMENT: findings worth saying, none blocking, and the author asked for a read rather than a decision.

<block_bar> A finding blocks only with ALL of:

  1. pasted output, not a described procedure
  2. a distance proof threshold cleared — distance sets how much evidence is needed, never whether a finding may block: d0 changed code fails · d1 violates a declared invariant · d2 pre-existing defect this change exposed, needs a user-visible consequence · d3+ needs outside assumptions, blocks only on an executed demonstration or a cited prior failure. Never auto-close d3; taste never clears it, a real outcome does.
  3. a named observable failure: predict what breaks and how we would see it
  4. violates the acceptance profile: tag the finding's dimension, and let the profile's blocks_at map decide the threshold for that dimension. A production-hardening finding on a demo is not a blocker however real it is, and a privacy finding on a demo IS one when the profile says so. The stage label never decides; the dimensions do.

Everything else is filed with its distance:N label under the quarantine milestone. Recurrence is signal, silence is a verdict.

Complexity clears the block bar only when changed code exceeds a declared budget, a regression diff names the increase, or the acceptance record requires the project gate and that armed path does not run it. A lizard result over JS/TS object-literal methods cannot support APPROVE or FAIL; it is NOT CHECKED until an AST-aware parser runs. </block_bar>

Read the acceptance record before reviewing: claims, declared invariants, and tradeoffs already accepted. If the commit carries one, it is FROZEN and adjudication will refuse a FAIL. Reopening takes new_failing_input, changed_dependency, missed_requirement, disproven_assumption, profile_changed, or owner_promotion. A new reviewer is not a reopen event. Never ask a reviewer whether criticism is complete; it cannot answer and will always say no.

An acceptance-profile review never ships ALONE. Pair it with one outcome-shaped discovery pass (DISCOVERY AXIS: outcome) that never receives the profile, invariants, or ACCEPT WHEN list. Measured (EXP-RTP1 variant M, #206): on a real defect the contract never names, the bounded reviewer caught it 0/20 and returned PASS 18/20, while the open reviewer caught it 18/19. The contract terminates review; alone it certifies what it was never told to see. </verdict_rules>

<on_complete> Emit findings as a kernel.verdict/v1 document and let the acceptance function decide. The reviewer never grades its own completeness.

python3 scripts/adjudicate.py findings.json --text --strict   # 0 PASS · 1 FAIL · 2 INVALID
agentdb write-end '{"command":"review","verdict":"X","critical":N,"high":N,"big5_violations":N,"quarantined":N}'

cannot_falsify is mandatory and non-empty. State what this review structurally could not see (no real device, conformance only, no live data, a suite that did not finish). Silence about coverage reads as coverage. </on_complete>

</skill>

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

Plan worthwhile local tasks by checking dependencies, effects, resources, and platform boundaries, then execute the exact approved plan. It can use safe parallel work or suitable Apple-silicon backends when the project exposes them.

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

  • Speed up independent local build or test steps
  • Plan a task with several dependency-linked operations
  • Choose an Apple-silicon backend for supported numerical or media work
hashgraph-online/awesome-codex-plugins1.4천2026년 10월 27일 업데이트

add

무료

Record deferred engineering decisions and temporary workarounds in a debt registry, with context such as effort, ongoing cost, affected area, and payoff trigger. Entries receive short labels so they can be reviewed or dropped later.

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

  • Logging a TODO or unfinished implementation
  • Recording a temporary default or bypassed check
  • Tracking a swallowed error or loosened type
hashgraph-online/awesome-codex-plugins1.4천2026년 10월 28일 업데이트

Generate or compare AI agent code for LangChain, EINO, AutoGen, AgentScope, and CrewAI using framework-specific templates, API mappings, conventions, and project structures. Reference files include verification dates to help identify potentially outdated guidance.

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

  • Creating an agent project for a chosen framework
  • Comparing APIs across supported agent frameworks
  • Referencing framework-specific tool and memory patterns
hashgraph-online/awesome-codex-plugins1.4천2026년 10월 26일 업데이트

Investigate a reproducible bug, test failure, or unexpected page behavior, then make a narrowly scoped fix. The workflow calls for a regression test before changing code, verifies the fix, and reports remaining risks and evidence while avoiding unrelated refactoring or feature work.

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

  • Finding the cause of a failing test
  • Fixing an unexpected page or feature behavior
  • Adding a regression test before a minimal code change
hashgraph-online/awesome-codex-plugins1.4천2026년 10월 28일 업데이트

Build an AI agent project through six collaborative stages, from requirements and architecture to tools, prompts, code generation, and verification. Start framework-independent, then generate a runnable project for frameworks such as LangChain, EINO, AutoGen, AgentScope, or CrewAI.

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

  • Designing an AI agent from a business need
  • Generating a runnable agent project
  • Planning tools, prompts, and orchestration
hashgraph-online/awesome-codex-plugins1.4천2026년 10월 26일 업데이트

Audit a project or learning workflow for scope drift, conflicting plans, inconsistent names, and code quality concerns. The skill reads project files and code, then reports evidence, severity, and suggested next steps without changing files.

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

  • Checking whether project work has drifted from its agreed scope
  • Finding conflicting plans or inconsistent naming
  • Reviewing code against project decisions without editing it
hashgraph-online/awesome-codex-plugins1.4천2026년 10월 28일 업데이트

hashgraph-online의 스킬 모두 보기

이 스킬의 문제 신고