hapo:code-review

Automate code review to identify security holes, logic gaps, and architecture violations.

54|Updated Jan 21, 2026
One-click install
npx skills add https://github.com/haposoft/cafekit --skill hapo-code-review
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hapo:code-review
Source: https://github.com/haposoft/cafekit/tree/main/packages/spec/src/claude/skills/code-review
Command: npx skills add https://github.com/haposoft/cafekit --skill hapo-code-review

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python, git, gh, git-show, git-diff, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the process of code review, ensuring technical rigor and evidence-based claims, helping to maintain code quality and security.

Core Features & Use Cases

  • Adversarial Code Review: Technical and evidence-based code review with a 3-Stage Protocol.
  • Multimodal Spec Compliance: Supports multimodal spec compliance using ai-multimodal.
  • Red-Team Analysis: Identifies security holes, logic gaps, and architecture violations.
  • Use Case: Use this Skill to review a diff for correctness and quality before merging it into the main branch.

Quick Start

Run the hapo:code-review command with the diff you want to review.

Frequently Asked Questions about hapo:code-review

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

FAQPage Schema
How do I automate code review for security holes and architecture violations before a merge?

Automate code review by running the tool against your git diff to identify security holes, logic gaps, and architecture violations. It uses a 3-Stage Protocol with red-team analysis to ensure correctness before merging into the main branch.

How does red-team analysis work for finding logic gaps in a git diff?

Red-team analysis works by applying an adversarial, evidence-based approach to your diff to expose logic gaps and security holes. This technical rigor ensures claims about code quality are backed by proof rather than assumption.

Do I need Python and git installed to run automated diff analysis?

Yes, you need Python, git, and gh installed to run automated diff analysis. The execution requires these external tools and scripts to process the diff and perform the technical code review.

What is the best way to check multimodal spec compliance during code review?

The best way to check multimodal spec compliance is using the ai-multimodal support feature during code review. This verifies that the reviewed diff adheres to specifications across different modalities before merging.

Can I review a diff for correctness and quality directly from the command line?

Yes, you can review a diff for correctness and quality directly from the command line by passing the diff to the review command. It automates the process using Python scripts and external git tools for execution.

When should I not use automated code review for my branch?

You should not use automated code review if your environment lacks the required Python, git, or gh dependencies. The tool relies on these external scripts to execute the diff analysis and generate evidence-based claims.