askill
code-review-guidelines

code-review-guidelinesSafety 95Repository

Code review best practices including review checklist, comment types, severity levels, feedback patterns, and PR size guidelines. Auto-loaded during code review.

1 stars
1.2k downloads
Updated 2/23/2026

Package Files

Loading files...
SKILL.md

Code Review Guidelines

Core Principles

  1. Be constructive — Focus on improvement, not criticism
  2. Be specific — Point to exact lines, suggest alternatives
  3. Be thorough — Check functionality, readability, security
  4. Be collaborative — Discussion, not gatekeeping

Review Checklist

Functionality

  • Does the code do what it's supposed to do?
  • Are edge cases handled?
  • Are error conditions handled gracefully?
  • Does it break existing functionality?

Code Quality

  • Is the code readable and self-documenting?
  • Are names descriptive?
  • Is there unnecessary duplication?
  • Does it follow project patterns?

Security

  • Is user input validated?
  • Any SQL injection / XSS vulnerabilities?
  • Are secrets properly handled?
  • Are permissions checked?

Testing

  • Sufficient test coverage?
  • Tests cover edge cases?
  • Tests are readable and maintainable?

Performance

  • Any obvious performance issues?
  • Efficient database queries?
  • Memory leaks?

Comment Labels

LabelMeaningBlocks PR?
[blocking]Must address before mergeYes
[suggestion]Recommended improvementNo
[nit]Minor style issueNo
[question]Seeking clarificationNo
[praise]Positive feedbackNo

Giving Feedback

Be specific:

**[suggestion]** The variable `d` on line 45 is unclear. Consider
renaming to `dateOfBirth` to indicate what date this represents.

Explain why:

**[blocking]** Using `any` here defeats type safety. This function
receives user input, so we need proper types.

Suggest alternatives:

**[suggestion]** This loop is O(n²). Consider using a Map for O(n).

Give praise:

**[praise]** Great implementation of retry logic with exponential backoff.

PR Size Guidelines

Lines ChangedAssessment
< 100Excellent
100-400Good
400-800Consider splitting
> 800Should split

Anti-Patterns to Avoid

  • Rubber-stamping — Approving without reading
  • Nitpicking — Blocking on minor style issues
  • Bikeshedding — Debating trivial naming choices
  • Personal attacks — Criticizing the person, not the code

Install

Download ZIP
Requires askill CLI v1.0+▶

AI Quality Score

83/100Analyzed 2/20/2026

High-quality technical reference skill providing comprehensive code review guidelines. Well-structured with clear checklists, severity labels, feedback examples, and PR size guidance. Language-agnostic and reusable across projects. Slightly reduced actionability as it's a reference guide rather than step-by-step instructions, but the content is accurate and actionable when used during code reviews. Located in proper skills folder with useful metadata tags.

95
92
90
85
70

Metadata

Licenseunknown
Version-
Updated2/23/2026
PublisherhypeJunction

Tags

databasesecuritytesting