Agent SkillsHashWarlock/nobody-plans-for-pi › nobody-requests-code-review

nobody-requests-code-review

GitHub

提供代码合并前的结构化自查与审查流程,包含预检清单、差异检查及子代理委托机制,旨在发现安全、性能等问题并分级处理,确保交付质量。

skills/nobody-requests-code-review/SKILL.md HashWarlock/nobody-plans-for-pi

Trigger Scenarios

完成任务后 实现主要功能时 准备合并代码前

Install

npx skills add HashWarlock/nobody-plans-for-pi --skill nobody-requests-code-review -g -y
More Options

Use without installing

npx skills use HashWarlock/nobody-plans-for-pi@nobody-requests-code-review

指定 Agent (Claude Code)

npx skills add HashWarlock/nobody-plans-for-pi --skill nobody-requests-code-review -a claude-code -g -y

安装 repo 全部 skill

npx skills add HashWarlock/nobody-plans-for-pi --all -g -y

预览 repo 内 skill

npx skills add HashWarlock/nobody-plans-for-pi --list

SKILL.md

Frontmatter
{
    "name": "nobody-requests-code-review",
    "description": "Use when completing tasks, implementing major features, or before merging to verify work meets requirements"
}

Requesting Code Review

Overview

Before declaring work complete or merging, run a structured self-review or delegate to the reviewer subagent.

Announce at start: "I'm using the requesting-code-review skill to verify this work."

Pre-Review Checklist

Before requesting review, verify:

  • All tests pass (run them, don't assume)
  • No linting errors
  • Changes match the plan/spec
  • No debug code, commented-out code, or TODOs left behind
  • No unrelated changes mixed in
  • Commit messages are clear and descriptive
  • Edge cases handled

Self-Review Process

  1. Read the diffgit diff main...HEAD (or appropriate base)
  2. Check each file — Does every change serve the goal?
  3. Look for
    • Hardcoded values that should be config
    • Missing error handling
    • Security issues (injection, auth bypass, secrets)
    • Performance issues (N+1 queries, unbounded loops)
    • Missing tests for new code paths
  4. Verify requirements — Re-read spec, check each requirement is met

Delegated Review

Use the reviewer subagent for an independent perspective:

/review <scope of changes>

Or via the subagent tool directly:

Use reviewer agent to review: <description of what changed>

Severity Levels

Level Action Example
Critical Must fix before merge Security hole, data loss, crash
Warning Should fix Missing validation, poor error message
Suggestion Consider Better naming, minor refactor

Red Flags

  • Skipping review because "it's a small change"
  • Reviewing your own code without a checklist
  • Merging without running the full test suite

Version History

  • fc2edc0 Current 2026-07-25 05:06

Same Skill Collection

skills/nobody-brainstorms/SKILL.md
skills/nobody-debugs/SKILL.md
skills/nobody-executes-plans/SKILL.md
skills/nobody-finishes-a-development-branch/SKILL.md
skills/nobody-receives-code-review/SKILL.md
skills/nobody-uses-git-worktrees/SKILL.md
skills/nobody-uses-tdd/SKILL.md
skills/nobody-verifies-before-completion/SKILL.md
skills/nobody-writes-plans/SKILL.md
skills/nobody-writes-skills/SKILL.md
skills/using-plans-for-nobody/SKILL.md

Metadata

Files
0
Version
fc2edc0
Hash
8d48d8a5
Indexed
2026-07-25 05:06

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-11 05:23
浙ICP备14020137号-1 $Гость$