OpenParable
Skip to content
← Back to skills

Typescript Style Review

Testing & Quality
typescript-style-review

Typescript Style Review is an Agent Skill for testing & quality published in the GerritCodeReview/gerrit repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Reviews TypeScript code against the Google TS Style Guide.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/GerritCodeReview/gerrit/blob/HEAD/configs/skills/typescript_style_review/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/typescript-style-review, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

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

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.
  3. 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).