AgentStack
SKILL verified MIT Self-run

Ts Patterns

skill-contentful-skill-kit-skill · by contentful

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

No reviews yet
0 installs
10 views
0.0% view→install

Install

$ agentstack add skill-contentful-skill-kit-skill

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Ts Patterns? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

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:

  • Call topics to list available reference topics.
  • Call topic with a topic name to retrieve its content.

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, /scripts/run is a placeholder for this absolute path.

  • /scripts/run topic generics — Generics cheat sheet — constraints, conditional types, mapped types, infer
  • /scripts/run topic discriminated-unions — Discriminated unions — type narrowing with literal discriminants
  • /scripts/run topic builder-pattern — Builder pattern — fluent APIs with type accumulation
  • /scripts/run topic error-handling — Error handling — Result types, custom errors, exhaustive matching

To list all available topics: /scripts/run

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.