跳到正文
cccskills
免费在 GitHub 公开

ck:code-review

Review code quality, receive feedback with technical rigor, verify completion claims. Use before PRs, after implementing features, when claiming task completion. Includes scout-based edge case detection and native Task pipeline orchestration.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(8)

  • SKILL.md5.9 KB
  • references/code-review-reception.md3.0 KB
  • references/codebase-scan-workflow.md1.1 KB
  • references/edge-case-scouting.md2.9 KB
  • references/parallel-review-workflow.md1.9 KB
  • references/requesting-code-review.md3.0 KB
  • references/task-management-reviews.md4.8 KB
  • references/verification-before-completion.md4.1 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Code Review

Guide proper code review practices emphasizing technical rigor, evidence-based claims, and verification over performative responses.

Default (No Arguments)

If invoked with context (recent changes/PR), proceed with review. If invoked WITHOUT arguments, ask the user to choose available review operations:

OperationDescription
(default)Review recent changes/PR
codebaseFull codebase scan & analysis
codebase parallelParallel multi-reviewer audit

Present options with header "Review Operation", question "What would you like to do?".

Core Principle

YAGNI, KISS, DRY always. Technical correctness over social comfort. Be honest, be brutal, straight to the point, and be concise.

Verify before implementing. Ask before assuming. Evidence before claims.

Practices

PracticeWhenReference
Receiving feedbackUnclear feedback, external reviewers, needs prioritizationreferences/code-review-reception.md
Requesting reviewAfter tasks, before merge, stuck on problemreferences/requesting-code-review.md
Verification gatesBefore any completion claim, commit, PRreferences/verification-before-completion.md
Edge case scoutingAfter implementation, before reviewreferences/edge-case-scouting.md
Task-managed reviewsMulti-file features (3+ files), parallel reviewers, fix cyclesreferences/task-management-reviews.md

Quick Decision Tree

SITUATION?
│
├─ Received feedback → STOP if unclear, verify if external, implement if human partner
├─ Completed work → Scout edge cases → Request code_reviewer subagent
├─ Multi-file feature (3+ files) → Create review pipeline tasks (scout→review→fix→verify)
└─ About to claim status → RUN verification command FIRST

Receiving Feedback

Pattern: READ → UNDERSTAND → VERIFY → EVALUATE → RESPOND → IMPLEMENT

Rules:

  • No performative agreement: "You're absolutely right!", "Great point!"
  • No implementation before verification
  • Restate, ask questions, push back with reasoning, or just work
  • YAGNI check: grep for usage before implementing "proper" features

Source handling:

  • Human partner: Trusted - implement after understanding
  • External reviewers: Verify technically, check breakage, push back if wrong

Full protocol: references/code-review-reception.md

Requesting Review

When: After each task, major features, before merge

Process:

  1. Scout edge cases first (see below)
  2. Get SHAs: BASE_SHA=$(git rev-parse HEAD~1) and HEAD_SHA=$(git rev-parse HEAD)
  3. Dispatch code_reviewer subagent with: WHAT, PLAN, BASE_SHA, HEAD_SHA, DESCRIPTION
  4. Fix Critical immediately, Important before proceeding

Full protocol: references/requesting-code-review.md

Edge Case Scouting

When: After implementation, before requesting code_reviewer

Process:

  1. Invoke $scout with edge-case-focused prompt
  2. Scout analyzes: affected files, data flows, error paths, boundary conditions
  3. Review scout findings for potential issues
  4. Address critical gaps before code review

Full protocol: references/edge-case-scouting.md

Task-Managed Review Pipeline

When: Multi-file features (3+ changed files), parallel code_reviewer scopes, review cycles with Critical fix iterations.

Pipeline: scout → review → fix → verify (each a Task with dependency chain)

tracked task creation: "Scout edge cases"         → pending
tracked task creation: "Review implementation"    → pending, blockedBy: [scout]
tracked task creation: "Fix critical issues"      → pending, blockedBy: [review]
tracked task creation: "Verify fixes pass"        → pending, blockedBy: [fix]

Parallel reviews: Spawn scoped code_reviewer subagents for independent file groups (e.g., backend + frontend). Fix task blocks on all reviewers completing.

Re-review cycles: If fixes introduce new issues, create cycle-2 review task. Limit 3 cycles, escalate to user after.

Full protocol: references/task-management-reviews.md

Verification Gates

Iron Law: NO COMPLETION CLAIMS WITHOUT FRESH VERIFICATION EVIDENCE

Gate: IDENTIFY command → RUN full → READ output → VERIFY confirms → THEN claim

Requirements:

  • Tests pass: Output shows 0 failures
  • Build succeeds: Exit 0
  • Bug fixed: Original symptom passes
  • Requirements met: Checklist verified

Red Flags: "should"/"probably"/"seems to", satisfaction before verification, trusting agent reports

Full protocol: references/verification-before-completion.md

Integration with Workflows

  • Subagent-Driven: Scout edge cases → Review after EACH task → Verify before next
  • Pull Requests: Scout → Verify tests → Code-reviewer review → Merge
  • Task Pipeline: Create review tasks with dependencies → auto-unblock through chain
  • Cook Handoff: Cook completes phase → review pipeline tasks → all complete → cook proceeds

Codebase Analysis Subcommands

SubcommandReferencePurpose
$code-review codebasereferences/codebase-scan-workflow.mdScan & analyze the codebase
$code-review codebase parallelreferences/parallel-review-workflow.mdUltrathink edge cases, then parallel verify

Bottom Line

  1. Technical rigor over social performance
  2. Scout edge cases before review
  3. Task-manage reviews for multi-file features
  4. Evidence before claims

Verify. Scout. Question. Then implement. Evidence. Then claim.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

AI-optimized browser automation CLI with context-efficient snapshots. Use for long autonomous sessions, self-verifying workflows, video recording, and cloud browser testing (Browserbase).

中文简介正在准备中。当前显示原文说明。

manhvann/codexkit892026年8月29日 更新

Generate images via Nano Banana with 129 curated prompts. Mandatory validation interview refines style/mood/colors (use --skip to bypass). 3 modes: search, creative, wild. Styles: Ukiyo-e, Bento grid, cyberpunk, cinematic, vintage patent.

中文简介正在准备中。当前显示原文说明。

manhvann/codexkit892026年8月29日 更新

Analyze images/audio/video with Gemini API (better vision than Codex). Generate images (Imagen 4), videos (Veo 3). Use for vision analysis, transcription, OCR, design extraction, multimodal AI.

中文简介正在准备中。当前显示原文说明。

manhvann/codexkit892026年8月29日 更新

ck:ask

免费

Answer technical and architectural questions with expert consultation.

中文简介正在准备中。当前显示原文说明。

manhvann/codexkit892026年8月29日 更新

Build backends with Node.js, Python, Go (NestJS, FastAPI, Django). Use for REST/GraphQL/gRPC APIs, auth (OAuth, JWT), databases, microservices, security (OWASP), Docker/K8s.

中文简介正在准备中。当前显示原文说明。

manhvann/codexkit892026年8月29日 更新

Add authentication with Better Auth (TypeScript). Use for email/password, OAuth providers (Google, GitHub), 2FA/MFA, passkeys/WebAuthn, sessions, RBAC, rate limiting.

中文简介正在准备中。当前显示原文说明。

manhvann/codexkit892026年8月29日 更新

查看 manhvann 的全部技能

报告此技能的问题