SkillCheatSheet
How to install

typed-service-contracts

An AI skill for Claude Code, Cursor, Codex and other AI agents, from google-labs-code/design.md. Scored by fixed code checks, no AI.

CCode 69/100Builder 1/10

Architecture standard for building robust, type-safe TypeScript services using the "Spec and Handler" pattern. Use when building CLIs, libraries, or complex business logic.
29k starsApache-2.0Repository score 66/100190 lines0 other files

Install

npx skills add google-labs-code/design.md --skill typed-service-contracts
Where do I paste this?

Open a terminal in your project folder, paste the command and press Enter. It needs Node.js on your computer.

Run it in your project. The skills CLI asks which agents to install it for (Claude Code, Cursor, Codex and more); add -g to install it for your user instead.

No terminal? Copy SKILL.md and give it to your AI as instructions.

Safety checks

Safety 7/7

Fixed checks over SKILL.md and its files. They catch known risky patterns; they cannot prove a skill is safe.

Each check shows when the skill’s files load from GitHub.

Not checked

  • Running the skill to see what it does
  • Packages it installs from npm or pip
  • What it can reach on your computer when it runs
How we check safety

SKILL.md

A skill is instructions and scripts your agent will follow, so read it before you install it. Its text loads here from GitHub; you can also read it on GitHub.

More skills from google-labs-code/design.md

Enforces a disciplined Red-Green-Refactor (TDD) workflow in TypeScript/Node.js. Use this whenever creating new features, fixing bugs, or migrating logic to ensure high-quality, verifiable implementations.

Code 65/100

A scoring scale for evaluating how well a CLI is designed for AI agents, based on the "Rewrite Your CLI for AI Agents" principles.

Code 56/100

Ink terminal renderer for json-render that turns JSON specs into interactive terminal UIs. Use when working with @json-render/ink, building terminal UIs from JSON, creating terminal component catalogs, or rendering AI-generated specs in the terminal.

Code 52/100
All skills in google-labs-code/design.md