code-review

Automate code review checks for correctness, style, security, and maintainability.

5|2|Updated Oct 26, 2023
One-click install
npx skills add https://github.com/Aquaticat/Monochromatic --skill code-review-aquaticat
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-review
Source: https://github.com/Aquaticat/Monochromatic/tree/main/.factory/skills/code-review
Command: npx skills add https://github.com/Aquaticat/Monochromatic --skill code-review-aquaticat

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Structured, repeatable code reviews that identify correctness, style, security, and maintainability issues across diffs and PRs.

Core Features & Use Cases

  • Correctness: validate logic, edge cases, and proper error handling.
  • Type safety & immutability: enforce explicit return types, narrow types, and readonly patterns.
  • Security & reliability: detect risky API usage, input validation gaps, and robust error propagation.
  • Readability & maintainability: check naming, documentation, and consistent style; flag brittle patterns.
  • Commit messages & auditing: review commit history for clarity and traceability.

Quick Start

Review a change set and produce actionable findings following the defined rules.

Frequently Asked Questions about code-review

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

FAQPage Schema
How do I automate code review for pull requests to check correctness and security?

Automate code review by applying structured checks to diffs or pull requests, evaluating correctness, type safety, security, and maintainability against defined guidelines to produce actionable findings.

What should a structured code review cover for TypeScript and JavaScript projects?

A structured code review for TypeScript and JavaScript should cover logic correctness, explicit return types, immutability, async patterns, input validation, error handling, naming readability, and import consistency.

How do I enforce type safety and immutability rules across a feature branch?

Enforce type safety and immutability across a feature branch by checking for explicit return types, narrowed types, and readonly patterns automatically during the diff review process.

Can I use automated static analysis to find security gaps and risky API usage in staged changes?

Automated static analysis can review staged changes to detect risky API usage, input validation gaps, and ensure robust error propagation for improved security and reliability.

Does this code review approach work for languages other than TypeScript and JavaScript?

The code review approach emphasizes TypeScript and JavaScript projects but is adaptable to other languages by applying the same structured checks for correctness, style, security, and maintainability.

Can automated code review check commit message quality and testing gaps?

Automated code review can evaluate commit history for clarity and traceability while simultaneously flagging testing gaps within the code changes.