source-command-fix-typescript

Fix TypeScript compilation errors in a specified monorepo project using scoped turbo checks.

14|5|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/TheCardGoat/lorcana-simulator --skill source-command-fix-typescript
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: source-command-fix-typescript
Source: https://github.com/TheCardGoat/lorcana-simulator/tree/main/.agents/skills/source-command-fix-typescript
Command: npx skills add https://github.com/TheCardGoat/lorcana-simulator --skill source-command-fix-typescript

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It removes TypeScript type errors by running the repo’s type-checking command, diagnosing failures, and applying fixes that are constrained to a single target project.

Core Features & Use Cases

  • Targeted mono-repo repair: Diagnoses type errors only for a specified {projectName} within the monorepo.
  • Iterative fix-and-validate loop: Re-runs the scoped turbo type check after each set of changes until the targeted project is clean.
  • Strict project boundary safety: Prevents changes outside {projectName} and reports when an error requires edits to external projects.

Quick Start

Ask an AI to run the fix-typescript workflow for the target project named "apps/frontend" so it can eliminate all TypeScript errors reported for that project only.

Frequently Asked Questions about source-command-fix-typescript

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

FAQPage Schema
How do I fix TypeScript errors in a single project within a monorepo?

To fix TypeScript errors in a single project within a monorepo, the Skill runs a scoped type check, applies iterative code modifications constrained to that target project, and repeats validation until zero type errors remain.

Can I resolve TypeScript type checking failures without altering other packages in my monorepo?

You can resolve type checking failures without altering other packages by enforcing strict project boundary safety, which prevents code modifications outside the specified target project and flags errors requiring external edits.

How does the iterative fix-and-validate loop work for scoped TypeScript repairs?

The iterative fix-and-validate loop diagnoses targeted package type errors, applies constrained code modifications, and repeatedly re-runs the scoped turbo type check command until the validation reports zero remaining errors.

What should I do when a TypeScript type error requires changes outside my targeted monorepo project?

When a TypeScript type error requires changes outside your targeted monorepo project, the strict dependency boundary safety mechanism prevents cross-project edits and explicitly reports that external modifications are necessary to resolve the failure.

Does this TypeScript type fixer work with Turbo and Bun workflows?

Yes, this TypeScript type fixer integrates with Turbo and Bun workflows by executing initial type diagnostics and performing repeated scoped validation using the `bunx turbo check-types` command with project-specific filters.