debug

Diagnose and fix build, test, and validation failures in the schemas package.

1|Updated Apr 17, 2025
One-click install
npx skills add https://github.com/carrot-foundation/schemas --skill debug-carrot-foundation
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: debug
Source: https://github.com/carrot-foundation/schemas/tree/main/.cursor/skills/debug
Command: npx skills add https://github.com/carrot-foundation/schemas --skill debug-carrot-foundation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Diagnoses and fixes failures in the schemas package, covering build errors, test failures, and validation problems.

Core Features & Use Cases

  • Structured debugging workflow: captures exact errors, isolates failing units, and guides root-cause analysis.
  • Category-specific guidance: TypeScript type-checking, ESLint, Vitest, Build, Schema Generation, and Validation debugging patterns with practical fixes.
  • Recovery and verification: provides a practical recovery checklist and verification steps to ensure stability after fixes.

Quick Start

Follow the step-by-step debugging workflow to reproduce failures and apply targeted fixes in the schemas package.

Frequently Asked Questions about debug

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

FAQPage Schema
How do I debug TypeScript build errors and test failures in a pnpm monorepo?▼

Debug TypeScript build errors and test failures in a pnpm monorepo by following a structured workflow that captures exact errors, isolates failing units, and guides root-cause analysis for targeted fixes.

What is the best way to fix ESLint and Vitest validation issues during schema generation?▼

Fixing ESLint and Vitest validation issues during schema generation requires category-specific debugging patterns that identify failure points in type-checks and tests, applying practical fixes to restore package stability.

Why does my TypeScript schema validation fail and how can I isolate the failing unit?▼

TypeScript schema validation fails due to type mismatches or generation errors; isolate the failing unit by capturing the exact error output and applying targeted debugging steps to identify the root cause.

Can I use this structured debugging workflow for JSON Schema generation errors across my repository?▼

Yes, you can use this structured debugging workflow for JSON Schema generation errors across your repository, as it provides category-specific guidance and a recovery checklist to verify stability after applying fixes.

What steps should I take to verify schema package stability after applying debugging fixes?▼

To verify schema package stability after debugging fixes, follow the provided recovery checklist which outlines verification steps to ensure build errors, test failures, and validation issues are fully resolved.