Ts style review

From browseros-ai/BrowserOS-agent · View interactive version

Ts style review is an AI agent skill from the GitHub repository browseros-ai/BrowserOS-agent. Review TypeScript code against the Google TypeScript Style Guide plus team conventions. Use when reviewing TS code for style, naming, imports, type usage, or quality.

How to use this skill

Skill file

TypeScript Style Guide Review

When reviewing TypeScript code, check against these sections. For full rules and examples, see google-ts-styleguide.md.

1. Source File Structure

2. Variables & Literals

3. Classes

4. Functions

5. Control Flow & Error Handling

6. Naming

7. Type System

8. Schema & Type Definitions (Team Convention)

```ts

import { z } from 'zod';

const UserSchema = z.object({

id: z.string(),

name: z.string(),

email: z.string().email(),

});

type User = z.infer<typeof UserSchema>;

```

9. Comments & Documentation

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.