common-accessibility
Enforce WCAG 2.2 AA compliance with semantic HTML, ARIA roles, keyboard navigation, and color contrast standards for web UIs. Use…
Apply modern TypeScript standards for type safety and maintainability. Use when working with types, interfaces, generics, enums, unions, or tsconfig settings.
Claude Code
$ npx -y skills add hoangnguyen0403/agent-skills-standard --skill typescript-language --agent claude-code
Codex
$ npx skills add hoangnguyen0403/agent-skills-standard --skill typescript-language -a codex -y
Cursor
$ npx skills add hoangnguyen0403/agent-skills-standard --skill typescript-language -a cursor -y
Gemini CLI
$ npx skills add hoangnguyen0403/agent-skills-standard --skill typescript-language -a gemini-cli -y
GitHub Copilot
$ npx skills add hoangnguyen0403/agent-skills-standard --skill typescript-language -a github-copilot -y
OpenCode
$ npx skills add hoangnguyen0403/agent-skills-standard --skill typescript-language -a opencode -y
Windsurf
$ npx skills add hoangnguyen0403/agent-skills-standard --skill typescript-language -a windsurf -y
name: typescript-language
description: Apply modern TypeScript standards for type safety and maintainability. Use when working with types, interfaces, generics, enums, unions, or tsconfig settings.
metadata:
triggers:
files:
- '**/*.ts'
- '**/*.tsx'
- 'tsconfig.json'
keywords:
- type
- interface
- generic
- enum
- union
- intersection
- readonly
- const
- namespace// Branded Type
type UserId = string & { __brand: 'Id' };
// Satisfies (Validate + Infer)
const cfg = { port: 3000 } satisfies Record<string, number>;
// Discriminated Union
type Result<T> = { kind: 'ok'; data: T } | { kind: 'err'; error: Error };After any type change that crosses module boundaries or involves generics, unions, conditional types, or branded types: call `getDiagnostics` (typescript-lsp MCP tool) to confirm no type errors before finalizing.
For advanced type patterns and utility types: See [references/REFERENCE.md](references/REFERENCE.md).
The portable standards layer for AI coding agents. Sync once, then work in your own runtime.
Enforce WCAG 2.2 AA compliance with semantic HTML, ARIA roles, keyboard navigation, and color contrast standards for web UIs. Use…
Define deterministic guardrails for agent tool calls — protected paths, test-file locks during bug fixes, post-edit formatters,…
Apply REST API conventions — HTTP semantics, status codes, versioning, pagination, and OpenAPI standards for any framework. Use…
Audit structural debt, logic leakage, and monolithic components across Web, Mobile, and Backend codebases. Use when reviewing…
Draws architecture diagrams as editable draw.io files with a fixed house style, C4 levels, evidence-tagged shapes, and optional…
Enforce SOLID principles, guard-clause style, function size limits, and intention-revealing naming across all languages. Use when…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.