Typescript style review

From GerritCodeReview/gerrit · View interactive version

Typescript style review is an AI agent skill from the GitHub repository GerritCodeReview/gerrit. Reviews TypeScript code against the Google TS Style Guide.

How to use this skill

Skill file

TypeScript Style Review Guide

Executive Summary

This guide serves as the instruction set for reviewing TypeScript code. The

goal is to ensure that all TypeScript code adheres to the official Google

TypeScript Style Guide.

Guidelines

You must review the TypeScript files in the changelist and ensure they comply

with the rules and best practices outlined in the official Google TypeScript

Style Guide.

Reference

https://google.github.io/styleguide/tsguide.html

Review Instructions

When performing the review:

  1. Identify any violations of the Google TypeScript Style Guide.
  2. For each violation, provide a clear explanation of the problem, a

suggestion for how to fix it (with a code snippet if appropriate), and a

reference to the relevant section of the style guide.

  1. Format your comments using the following template:

Problem

Clearly and succinctly describe the style guide violation.

Suggestion

Provide a suggestion for improvement, including a code snippet.

Reference

Provide the link to the relevant section in the Google TypeScript Style Guide

(e.g.,

https://google.github.io/styleguide/tsguide.html#visibility-of-properties-accessed-from-templates).

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.