Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

type-check-baselines

Skill by redis

Runs, refreshes, and recovers RedisInsight's per-project TypeScript error baselines. Helps contributors handle CI failures about outdated baselines or more TS errors than recorded in .tscheck.rec.json files.

  • Score 78
  • 8.9k stars
  • NOASSERTION
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install type-check-baselines

Built from the published package, never by AI.

git clone --depth 1 https://github.com/redis/RedisInsight /tmp/RedisInsight && mkdir -p ~/.claude/skills && cp -r /tmp/RedisInsight/.ai/skills/type-check-baselines ~/.claude/skills/type-check-baselines

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install type-check-baselines in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill explains how RedisInsight gates TypeScript errors per project. Current error counts are recorded in .tscheck.rec.json files, and CI fails if any file and error-code count increases, so counts can only go down. It covers the UI, API, Desktop and Configs projects, along with the root npm commands used to compare and refresh baselines.

It gives workflows for common CI messages, such as "baseline is outdated" and "more TS errors than previously recorded". It also lists rules for reviewing pull requests that touch baseline files. It is aimed at contributors to the RedisInsight repository who work on TypeScript errors or baseline files.

Written from the project's SKILL.md and checked against it.

What it can do

  • Compare against baselinesRuns npm run type-check to compare error counts against baselines for all four projects.
  • Refresh baselinesRuns npm run tscheck to update the ui, api and desktop baselines after errors are fixed.
  • Force overwrite baselinesCovers npm run tscheck:force, which is for emergencies only.
  • Recover from CI failuresExplains how to handle CI messages about new errors or outdated baselines.
  • Fix plugin dependency driftCovers TS7016 errors caused by missing UI plugin dependencies and how to resolve them.
  • Review baseline pull requestsLists rules for rejecting or approving pull requests that change baseline files.

What you need

  • Node.js and npm
  • A checkout of the RedisInsight repository
  • Root node_modules installed

Try asking

  • Fix the new TS errors CI reports on my RedisInsight branch
  • CI says baseline is outdated. Refresh the TypeScript baselines.
  • Review this PR that changes a .tscheck.rec.json file for count increases

Good to know

  • Counts can only go down, so new errors must be fixed in code.
  • Do not use tscheck:force to hide new errors.
  • E2E Playwright type checks run in a separate workflow and are not covered.
  • The Configs project has no baseline and must stay at 0 errors.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .ai/skills/type-check-baselines/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md6 KB

Alternatives to type-check-baselines

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

type-check-baselines: common questions

Why does CI fail when TypeScript error counts go up?

RedisInsight uses a one-way ratchet. Counts are recorded per file and error code in .tscheck.rec.json, and CI fails if any count increases.

Why must baseline refresh commands run from the repo root?

The per-workspace scripts call tsc, tsx and tsc-output-parser, which are installed only in the root node_modules/.bin. The root wrappers avoid that problem.

Can strict mode be enabled in the API base tsconfig?

No. The source says never to enable strict in the base tsconfig.json because it breaks the production build. Strict settings belong in tsconfig.check.json.

How do I install type-check-baselines?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is type-check-baselines free?

The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.

Is type-check-baselines safe to use?

It scores 78 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to type-check-baselines?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

type-check-baselines Install

Add to stack

Loading.