code-review

Apply structured TypeScript code-review guidelines to pull requests and generate actionable feedback.

27.1k|2.6k|Updated Aug 6, 2024
One-click install
npx skills add https://github.com/mastra-ai/mastra --skill code-review-mastra-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-review
Source: https://github.com/mastra-ai/mastra/tree/main/examples/unified-workspace/skills/code-review
Command: npx skills add https://github.com/mastra-ai/mastra --skill code-review-mastra-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a standardized framework for reviewing TypeScript code, reducing bugs and ensuring consistent quality across teams.

Core Features & Use Cases

  • Structured checklist for TS reviews covering correctness, safety, readability, and performance.
  • TypeScript-specific guidance including strict type usage, interfaces, and generics best practices.
  • Use Case: When reviewing a PR, apply this Skill to generate actionable feedback and a reproducible review report.

Quick Start

Run the code-review skill on a TypeScript PR to generate a structured feedback checklist and recommended fixes.

Frequently Asked Questions about code-review

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

FAQPage Schema
How do I review TypeScript code in a pull request for correctness and safety?

A TypeScript pull request review uses a structured checklist to evaluate correctness, safety, and readability. It targets strict type usage, interfaces, and generics to produce actionable feedback and a reproducible review report.

What is the best way to maintain code quality and consistent standards across a TypeScript team?

The best way to maintain TypeScript code quality is using a standardized review framework that provides a structured checklist covering readability, performance, and type safety to reduce bugs and ensure consistent quality across teams.

Can I use static analysis guidelines to check TypeScript generics and interfaces?

Yes, you can use static analysis guidelines to check TypeScript generics and interfaces. A structured code review applies a checklist targeting types, interfaces, and safety concerns to evaluate changes and produce actionable feedback.

Does this code review approach generate actionable feedback for developers?

Yes, this code review approach generates actionable feedback by applying structured TypeScript guidelines to evaluate pull request changes, producing a reproducible review report with recommended fixes for readability and maintainability.

When do I need a structured checklist for reviewing TypeScript code?

You need a structured checklist for reviewing TypeScript code when evaluating pull requests to ensure correctness, safety, and performance, targeting specific TypeScript features like types, interfaces, and generics to reduce bugs.