AGENT SKILL

receiving-code-review

Triage and respond to code review feedback for AS v2. Use when a PR has review comments, the user shares feedback, CI/linting flags issues, or after /review-staged or /review-enhanced runs.

适用职业开发工程师
使用场景代码审查
License 许可
Apache-2.0
最近更新
2026-11-12
Stars
★ 0
Forks
0

01 前言 Front Matter

name
receiving-code-review
description
Triage and respond to code review feedback for AS v2. Use when a PR has review comments, the user shares feedback, CI/linting flags issues, or after /review-staged or /review-enhanced runs.

02 资源文件 3

03 SKILL.md 正文

Receiving Code Review

Process

Phase 1: Collect All Feedback

Before responding to any comment:

  1. Read ALL comments/feedback first
  2. Categorize by type
  3. Note patterns

Phase 2: Categorize Feedback

Category Action Priority
Bug/Error Must fix Critical
Security Must fix Critical
Performance Evaluate impact High
Style/Convention Follow project standards Medium
Suggestion Consider, discuss if unclear Low
Question Answer, clarify intent Medium

Phase 3: Respond Systematically

For each comment:

### Comment: [Summary]
- **Type**: [Bug/Style/Suggestion/etc]
- **Action**: [Fixed/Discussed/Declined]
- **Commit**: [If fixed, reference commit]
- **Note**: [Brief explanation if needed]

Phase 4: Learn and Apply

After addressing all feedback:

  1. Identify patterns in the feedback
  2. Apply the same fix to similar code elsewhere in the PR
  3. If the feedback reveals a missing guideline, update CLAUDE.md or the relevant pattern (see Integration)

Response Templates

Accepting Feedback

Fixed in [commit]. Thanks for catching this!

Discussing Tradeoff

Considered this, but went with X because [reason].
Open to changing if you feel strongly about Y.

Declining with Reason

Intentionally left as-is because [reason].
[Optional: reference to documentation/decision]

Asking for Clarification

Could you elaborate on what you mean by [X]?
I understood [my interpretation] - is that correct?

Common Review Types

From Reviewers

  • Nit: Minor style issue, low priority
  • Suggestion: Optional improvement
  • Question: Clarification needed
  • Blocking: Must address before merge

From CI/Linting

  • Error: Must fix
  • Warning: Should address
  • Info: Consider for future

From /review-enhanced

Process each category:

  1. Security findings → Address immediately
  2. Performance issues → Evaluate impact
  3. Accessibility → Follow a11y standards
  4. Code clarity → Improve if reasonable
  5. Compliance (CP/RD/PA/RF) → Must comply

Anti-patterns

  • Ignoring patterns: If the same feedback repeats, fix the root cause, not each instance
  • Silent fixes: Acknowledge feedback when fixing
  • Blind acceptance: Understand why before changing

Checklist After Review

  • [ ] All blocking comments addressed
  • [ ] Non-blocking items triaged
  • [ ] Tests still pass
  • [ ] Type check still passes
  • [ ] Responded to all comments
  • [ ] Pushed updated commits
  • [ ] Re-requested review if needed

Integration

  • Use with verification-gate before claiming fixes done
  • Use with debugging-and-error-recovery for complex bugs found in review
  • Update CLAUDE.md or patterns if review reveals missing guidelines

04 同仓库更多 Skills

matheusnorjosa
matheusnorjosa/aprender_sistema

writing-standards

Apply AS v2 technical-writing standards (clarity, brevity, active voice, Python/Django conventions). Use when writing a README, a docstring (PEP 257), a commit message, a PR description, an error message, or any technical doc.

内容创作者写作与文案
★ 0
matheusnorjosa
matheusnorjosa/aprender_sistema

verification-gate

Verify before claiming success. Use when about to say something works/is done, after implementing a feature, after a bugfix, or before pushing — run the proof command and confirm output first.

★ 0
matheusnorjosa
matheusnorjosa/aprender_sistema

test-driven-development

Write the failing test before the implementation in AS v2 (pytest + Django/DRF). Use when implementing a feature or fixing a bug, before any production code is written.

测试与质量
★ 0
matheusnorjosa
matheusnorjosa/aprender_sistema

subagent-development

Orquestra subagents no AS v2 — decompõe a tarefa em domínios independentes, paraleliza e revisa em 2 estágios. Use ao delegar exploração, implementação ou validação cross-arquivo para acelerar o trabalho e poupar o contexto principal.

★ 0
matheusnorjosa
matheusnorjosa/aprender_sistema

security-scan

Automated security scanning for AS v2. Use before commits or when reviewing changes for vulnerabilities. Runs dependency audit (pip-audit, npm audit), secret detection (grep patterns), and code pattern scanning (SQL injection, XSS, eval, pickle, hardcoded secrets). Integrates with project hooks system.

★ 0
matheusnorjosa
matheusnorjosa/aprender_sistema

resume-handoff

Resume work from a saved handoff document, validating its state against the current codebase before continuing. Use when resuming work from a saved handoff after a context clear or in a new session (path, session name, or GitHub issue).

人力资源
★ 0