typescript-check

Featured

TypeScript type checking via tsc --noEmit with actionable error output.

AI & Automation 419 stars 44 forks Updated 2 days ago MIT

Install

View on GitHub

Quality Score: 95/100

Stars 20%
87
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# TypeScript check Read-only type validation. Follow repository instructions and package scripts; preserve project compiler settings. Do not fix code, change configuration, or install dependencies for a check-only request. ## Run 1. Locate `tsconfig.json`, including `src/`, `app/`, and `packages/`. In a monorepo, use the package affected by the task or the repository's aggregate check. Ask only when the target cannot be inferred. If no config exists, report the missing configuration and stop. 2. Confirm TypeScript is installed locally before using npx; do not allow an implicit package download. 3. Run `npx tsc --noEmit 2>&1`, or `npx tsc --noEmit --project path/to/tsconfig.json 2>&1` for a selected config. Capture output and exit code. Zero means pass; nonzero may mean type errors or a tool/configuration failure—report which. 4. Report status and error count. Group diagnostics by file and line, retaining `file:line:column`, `TS####`, and the message. Retain complete logs; show useful failure details instead of all successful output. ## Recovery and flags - **TypeScript missing:** report it; suggest `npm install typescript --save-dev` within dependency setup. - **npx missing:** check `node --version`; when Node/npm and local TypeScript exist, use `npm exec tsc -- --noEmit`. Otherwise report the missing toolchain. - **Multiple configs:** list the checked configs and any omitted packages. A single-package pass is not a whole-repository pass. - **`--skipLibCheck`:** skips de...

Details

Author
notque
Repository
notque/vexjoy-agent
Created
5 months ago
Last Updated
2 days ago
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category