requesting-code-review

Automate code review by comparing commit changes against requirements and best practices.

Updated Oct 28, 2022
One-click install
npx skills add https://github.com/patrykk21/dotfiles --skill requesting-code-review-patrykk21
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: requesting-code-review
Source: https://github.com/patrykk21/dotfiles/tree/main/claude/skills/requesting-code-review
Command: npx skills add https://github.com/patrykk21/dotfiles --skill requesting-code-review-patrykk21

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the code review process by automating checks and providing structured feedback on code quality and compliance with requirements.

Core Features & Use Cases

  • Automated Code Review: Dispatches a subagent to perform code reviews based on predefined criteria.
  • Structured Feedback: Delivers feedback on code quality, architecture, and testing.
  • Use Case: Before merging a feature branch, you can request a code review to ensure it meets quality standards and requirements.

Quick Start

Request a code review for your latest changes by running the following command and filling in the template at code-reviewer.md.

git rev-parse HEAD~1
git rev-parse HEAD

Frequently Asked Questions about requesting-code-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate code review for my feature branch before merging?

Automating code review before merging involves dispatching a subagent to compare commit changes against requirements and best practices. This Skill uses git commands and markdown templates to deliver structured feedback on code quality, architecture, and testing compliance.

What is the best way to ensure code quality and adherence to standards during development?

Ensuring code quality and adherence to standards requires automated checks that compare commit changes against predefined criteria. This Skill dispatches a subagent to review code architecture and testing compliance, providing structured feedback before you merge into the main branch.

Do I need git to run automated code reviews?

Yes, you need git installed to run automated code reviews with this Skill. It requires executing git commands to identify commit ranges and the ability to execute markdown templates to generate structured feedback on your code changes.

How does automated code review handle structured feedback?

Automated code review handles structured feedback by dispatching a subagent that evaluates your commit changes against predefined criteria. It delivers targeted feedback on code quality, architecture, and testing, ensuring your feature branch meets standards before merging.

Can I request a code review for specific git commits?

Yes, you can request a code review for specific git commits by identifying the commit range. You run git rev-parse commands to get the commit hashes, fill in the markdown template, and the Skill evaluates those specific changes against best practices.

Are there limitations when using automated code review before merging into the main branch?

A limitation of automated code review is that it depends on predefined criteria and markdown templates to evaluate changes. It requires git execution capabilities and focuses on code quality and standards adherence, meaning complex architectural decisions may still require manual human evaluation.