workspace-typecheck

Enforce strict TypeScript checks across workspace projects using Nx affected detection.

6|Updated Mar 11, 2026
One-click install
npx skills add https://github.com/open-hax/opencode-skills --skill workspace-typecheck
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: workspace-typecheck
Source: https://github.com/open-hax/opencode-skills/tree/main/.opencode/skills/workspace-typecheck
Command: npx skills add https://github.com/open-hax/opencode-skills --skill workspace-typecheck

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates strict TypeScript checks across the entire workspace, catching type errors in all submodules before they progress.

Core Features & Use Cases

  • Full-workspace typechecking: run a comprehensive TypeScript check across all projects, including submodules.
  • Nx affected checks: detect and typecheck only changed projects for faster feedback, with an option for a full run.
  • Enforces strict TS options: aligns with strict compiler settings, no implicit any, and explicit types.

Quick Start

Run pnpm typecheck from the workspace root to perform an affected typecheck with a full-run fallback

Frequently Asked Questions about workspace-typecheck

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run strict TypeScript checks across an entire Nx workspace?

To run strict TypeScript checks across an Nx workspace, execute a pnpm typecheck command from the workspace root to perform an affected typecheck with a full-run fallback. This enforces strict compiler settings across all submodules.

Can I typecheck only the affected projects in a multi-repo workspace instead of all submodules?

Yes, you can typecheck only the affected projects in a multi-repo workspace using Nx affected detection. This feature identifies and typechecks changed projects for faster feedback, with an option for a full run.

Does the workspace typecheck require strict mode to be enabled in the TypeScript config?

Yes, the workspace typecheck requires a TypeScript config with strict mode enabled. It enforces strict TS options, aligning with strict compiler settings to ensure no implicit any and explicit types.

What is the best way to enforce type safety in a multi-repo workspace with submodules?

The best way to enforce type safety in a multi-repo workspace with submodules is to automate strict TypeScript checks using Nx affected detection. This catches type errors in all submodules before they progress.

How do I perform a full typecheck across all workspace projects?

To perform a full typecheck across all workspace projects including submodules, run pnpm typecheck:all. This executes a comprehensive TypeScript check to catch type errors throughout the entire workspace.

Why does my Nx affected typecheck fall back to a full run?

Your Nx affected typecheck falls back to a full run to ensure comprehensive coverage when affected detection cannot isolate changes. This guarantees that all workspace projects undergo strict TypeScript checks.