review

Generate and execute pytest tests for git repository code changes.

Updated Jun 25, 2026
One-click install
npx skills add https://github.com/nrhys2005/test-gap --skill review-nrhys2005
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: review
Source: https://github.com/nrhys2005/test-gap/tree/main/.claude/skills/review
Command: npx skills add https://github.com/nrhys2005/test-gap --skill review-nrhys2005

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pytest, git, llm, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the process of reviewing and validating code changes, ensuring quality and accuracy in the codebase.

Core Features & Use Cases

  • Code Change Analysis: Analyze git diff results to identify missing tests.
  • Test Generation: Generate pytest tests based on identified changes.
  • Test Execution: Execute tests and validate the results.
  • Use Case: When a code change is committed, use this Skill to automatically generate and run tests, providing a clear pass/fail status.

Quick Start

Run the review skill to analyze code changes and generate tests for the latest commit.

Frequently Asked Questions about review

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

FAQPage Schema
How do I automate code review and generate pytest tests for git changes?

To automate code review, you can use this Skill to analyze git diff outputs, automatically generate missing pytest tests, and execute them to validate the committed code changes. It provides a clear pass or fail status for your latest commit.

Do I need an LLM to automatically generate pytest tests from git diff?

Yes, LLM integration is a required dependency for generating pytest tests from git diff results. The LLM analyzes the code changes to identify missing tests and automatically generates the necessary test cases.

What's the best way to validate code changes committed to a git repository?

The best way to validate committed code changes is to run an automated review workflow that generates and executes pytest tests against the git diff. This provides a clear pass or fail status based on actual test execution rather than static analysis.

Does this automated testing workflow work without pytest installed?

No, pytest is a required dependency for this code review workflow to function. The Skill relies on pytest to execute the generated test cases and validate the results of your code changes.

Why does automated test generation focus only on the latest git commit?

Automated test generation targets the latest git commit because it analyzes the recent git diff to identify missing tests for the specific code changes introduced. This ensures that new modifications are immediately validated and do not break existing functionality.