Agent Skill · Contentful

ts-patterns

TypeScript patterns and idioms reference. Use when writing TypeScript and need a quick refresher on generics, discriminated unions, builder patterns, or error handling.

Provider: Contentful Path in repo: examples/ts-patterns/skill/SKILL.md

Skill body

ts-patterns

This skill provides reference information on demand.

MCP mode (preferred)

If you have MCP tools for this skill (e.g., mcp__ts-patterns__topic), use them:

Present the content to the user. Do not show raw tool calls.

CLI mode (fallback)

Resolve the absolute path to scripts/run from this SKILL.md file’s directory. Use the absolute path in all commands — do not cd into the skill directory. In the examples below, <skill>/scripts/run is a placeholder for this absolute path.

To list all available topics: <skill>/scripts/run

Skill frontmatter

metadata: {"version" => "1.0.0"} argument-hint: [topic] allowed-tools: Bash(scripts/run *) Read mcp__ts-patterns__topic mcp__ts-patterns__topics paths: **/*.ts

Work with this as data

Every skill here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for agent skills

4 MCP tools reach this
  • find_skillsBrowse and filter every skill in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This skill
curl "https://apis.io/api/v1/skills/ts-patterns"
All agent skills
curl "https://apis.io/api/v1/skills?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.