lint-types-debug

Diagnose ESLint and TypeScript errors in the AFENDA-NEXUS monorepo.

Updated Feb 11, 2026
One-click install
npx skills add https://github.com/pohlai88/AFENDA-NEXUS2 --skill lint-types-debug
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lint-types-debug
Source: https://github.com/pohlai88/AFENDA-NEXUS2/tree/main/.agents/skills/lint-types-debug
Command: npx skills add https://github.com/pohlai88/AFENDA-NEXUS2 --skill lint-types-debug

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps developers quickly diagnose and resolve ESLint and TypeScript errors within the AFENDA-NEXUS monorepo, ensuring code quality and adherence to strict standards.

Core Features & Use Cases

  • ESLint Flat Config Diagnosis: Understand and debug complex ESLint flat configurations.
  • TypeScript Strict Mode Debugging: Resolve issues related to noUncheckedIndexedAccess, exactOptionalPropertyTypes, and project references.
  • Use Case: When your pnpm lint command fails with obscure errors, use this Skill to pinpoint the exact configuration or type issue and apply the correct fix according to AFENDA-NEXUS best practices.

Quick Start

Use the lint-types-debug skill to diagnose why pnpm lint is failing in the packages/crud directory.

Frequently Asked Questions about lint-types-debug

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

FAQPage Schema
How do I debug ESLint flat config errors in a TypeScript monorepo?

Resolve TypeScript strict mode failures by diagnosing specific compiler options like `noUncheckedIndexedAccess` and `exactOptionalPropertyTypes`, ensuring project references are correctly configured within the monorepo.

Why does my pnpm lint command fail with obscure type errors in a specific package?

Your `pnpm lint` command fails due to misconfigured ESLint flat config or TypeScript project references; pinpoint the exact configuration issue and apply the correct fix to resolve type checking failures.

What causes TypeScript project reference configuration failures during linting?

TypeScript project reference configuration failures during linting are caused by incorrect path mappings or strict compiler options, requiring validation of reference structures to ensure proper type checking across packages.

How do I resolve noUncheckedIndexedAccess and exactOptionalPropertyTypes errors in strict mode?

Resolve `noUncheckedIndexedAccess` and `exactOptionalPropertyTypes` errors in strict mode by adjusting type definitions and applying strict TypeScript compiler options according to monorepo best practices.

Can I use ESLint flat config with TypeScript strict mode in a monorepo setup?

Yes, you can use ESLint flat config with TypeScript strict mode in a monorepo setup by validating the configuration structure and ensuring project references align with strict compiler options.

What are the limitations of debugging lint and type errors across monorepo packages?

Limitations of debugging lint and type errors across monorepo packages include complex dependency chains and strict mode compiler options that require understanding ESLint flat config and TypeScript project referencing to resolve.