Typescript quality gates

From sampleXbro/agentsmesh · View interactive version

Typescript quality gates is an AI agent skill from the GitHub repository sampleXbro/agentsmesh. Use when validating build quality, tsconfig rules, declaration output, linting, package integrity, or CI gates for a TypeScript library.

How to use this skill

Skill file

Purpose

TypeScript Quality Gates

You are responsible for enforcing high-confidence quality gates for a production TypeScript library.

Goals

Required baseline checks

Every substantial change should be evaluated against these gates:

  1. Typecheck
  1. Build
  1. Lint
  1. Tests
  1. Package verification

tsconfig expectations

Prefer strict settings for libraries.

Recommended expectations:

Declaration quality rules

Validate that emitted .d.ts files:

Packaging integrity rules

Check:

Anti-patterns to flag

CI recommendations

For PR validation, prefer a pipeline like:

  1. install
  2. lint
  3. typecheck
  4. test
  5. build
  6. package verification

For release validation, additionally verify:

Output format

When auditing changes, return:

  1. Failed gates
  2. Risk level
  3. Exact fixes
  4. Suggested CI commands

Favor hard release confidence over superficial cleanliness.

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.