A strategic, multi-stage workflow for migrating legacy codebases to TypeScript strict mode while maintaining delivery speed.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install typescript-strict
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install typescript-strict using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The TypeScript Strict Mode skill provides a structured framework for transitioning from loose typing to high-precision type safety. It recognizes that strictness is a gradient rather than a binary switch, offering a roadmap to eliminate runtime surprises without blocking feature delivery. By focusing on incremental enablement and clear typing boundaries at IO edges, this skill helps developers harden large codebases and library exports.
This workflow is essential for teams dealing with legacy code filled with any or @ts-ignore. It guides the AI agent to implement strictNullChecks, noImplicitAny, and other compiler flags strategically. By integrating Openclaw Skills into your development cycle, you can ensure that type-related bugs are caught during compilation rather than at runtime, leading to more resilient and maintainable software architecture.
To begin using this workflow with your AI agent, ensure your environment is prepared for advanced type checking:
# Check your current TypeScript error baseline
npx tsc --noEmit
# Install recommended validation utilities
npm install zod
# Add type-aware linting if not present
npm install --save-dev @typescript-eslint/eslint-plugin @typescript-eslint/parser
Configure your tsconfig.json to extend a stricter base or apply flags to specific paths using the extends property as outlined in the Openclaw Skills guide.
The skill organizes its migration data and technical specifications through a structured taxonomy:
| Component | Description |
|---|---|
| Metrics Baseline | JSON or Markdown report of initial error counts per directory. |
| Flag Roadmap | A chronological list of compiler flags to be enabled with assigned owners. |
| IO Schemas | Definitions for Zod, Valibot, or OpenAPI types at the application boundary. |
| Type Tests | .test-d.ts or tsd files used to verify complex generics and utility types. |
| Guardrails | Configuration for CI pipelines and pre-commit hooks enforcing noEmit compliance. |
assertNever patterns in switch statements to ensure all union members are handled.@ts-expect-error with linked tickets to manage technical debt without silencing the compiler.Loading
A professional AI-driven video editing skill that automates scene analysis, narration generation, and CapCut draft creation.

A high-performance AI video generation skill that automates the entire pipeline from scriptwriting to final MP4 rendering.

An automated workflow to capture dashboard metrics via XHR and generate comparative daily quality reports in Markdown.

A powerful AI media skill for performing image-to-image transformations and reference-based generation via a streamlined CLI.

A powerful integration for AI agents to manage Retently surveys, customer sentiment, and feedback data through the Membrane framework.

An AI-driven research suite for Amazon FBA, Shopify, and dropshipping designed to identify winning products and analyze market competition.








































