dev-review

GitHub

用于代码提交前的最终审查,涵盖设计对齐、集成风险、依赖健康及破坏性变更检查。通过严格的生命周期阶段合约与多维度代码分析,确保功能就绪并生成审查报告。

skills/dev-review/SKILL.md codeaholicguy/ai-devkit

Trigger Scenarios

用户请求代码审查 执行开发生命周期第9阶段 准备推送代码前的最终检查 设计一致性验证 集成风险评估

Install

npx skills add codeaholicguy/ai-devkit --skill dev-review -g -y
More Options

Use without installing

npx skills use codeaholicguy/ai-devkit@dev-review

指定 Agent (Claude Code)

npx skills add codeaholicguy/ai-devkit --skill dev-review -a claude-code -g -y

安装 repo 全部 skill

npx skills add codeaholicguy/ai-devkit --all -g -y

预览 repo 内 skill

npx skills add codeaholicguy/ai-devkit --list

SKILL.md

Frontmatter
{
    "name": "dev-review",
    "description": "AI DevKit · Final code review phase guidance for holistic pre-push review. Use when the user wants code review, final lifecycle review, design alignment checks, integration risk review, or dev-lifecycle phase 9."
}

Dev Review

Run final pre-push review for configured AI docs features. Before changing docs or code, propose the concrete review plan and wait for user approval unless the user already approved the exact phase plan.

Phase Contract

  1. Run npx ai-devkit@latest lint before phase work.
  2. If working on a named feature, run npx ai-devkit@latest lint --feature <name>.
  3. Check git status -sb and git diff --stat.
  4. Read feature docs and relevant changed files before findings.
  5. Apply the verify skill before claiming readiness.
  6. If parent dev-lifecycle established usable task tracing, emit review phase, progress, blocker/finding, next-step, and final evidence/readiness events per task.

Code Review

Use for Phase 9. Take a holistic review stance: findings first, ordered by severity, grounded in file/line references.

  1. Gather context: feature description, modified files, design docs, risky areas, tests already run.
  2. Verify design alignment by summarizing architectural intent and checking implementation matches.
  3. For each modified file, grep exported names to trace callers and dependents. Read relevant signatures, call sites, and type definitions.
  4. Check consistency against 1-2 similar modules.
  5. Search for existing utilities the new code could reuse or now duplicates. Flag near-matches honestly; do not force a wrong abstraction.
  6. Verify contract integrity at API, type, config, and schema boundaries.
  7. Check dependency health, including circular dependencies or version conflicts from new imports.
  8. Check breaking changes. For public/external APIs, recommend parallel change and deprecation over in-place mutation. For in-repo-only callers, in-place modification with all callers updated is acceptable.
  9. Check rollback safety, especially irreversible migrations or one-way data/state changes.
  10. Review file by file for correctness, logic, edge cases, redundancy, security, performance, error handling, and test coverage.
  11. Check cross-cutting concerns: naming conventions, documentation updates, missing tests, config/migration changes.
  12. Summarize blocking issues, important follow-ups, and nice-to-haves. Per finding include file, issue, impact severity, and recommendation.
  13. If task tracing is available, add blockers and set blocked for blocking findings; if review passes with final evidence, close the task per task.
  14. Complete final checklist: design match, no logic gaps, security addressed, integration points verified, tests cover changes, docs updated.

Done: if the checklist passes, the feature is ready to push and create a PR. If blocking issues remain, return to dev-implementation or dev-testing.

Version History

  • d4caf56 Current 2026-07-05 15:22

Same Skill Collection

skills/agent-communication/SKILL.md
skills/agent-management/SKILL.md
skills/changelog/SKILL.md
skills/dev-commit/SKILL.md
skills/dev-design/SKILL.md
skills/dev-implementation/SKILL.md
skills/dev-lifecycle/SKILL.md
skills/dev-planning/SKILL.md
skills/dev-pr/SKILL.md
skills/dev-requirements/SKILL.md
skills/dev-testing/SKILL.md
skills/dev-worktree/SKILL.md
skills/document-code/SKILL.md
skills/memory/SKILL.md
skills/security-review/SKILL.md
skills/simplify-implementation/SKILL.md
skills/structured-debug/SKILL.md
skills/task/SKILL.md
skills/tdd/SKILL.md
skills/technical-writer/SKILL.md
skills/verify/SKILL.md

Metadata

Files
0
Version
d4caf56
Hash
2731ea1d
Indexed
2026-07-05 15:22

Home - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-15 03:52
浙ICP备14020137号-1 $Map of visitor$