ts-tsup-config

Diagnose and govern TypeScript and tsup configurations in the AFENDA-NEXUS monorepo.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a definitive guide to configuring TypeScript (tsconfig.json) and tsup (tsup.config.ts) within the AFENDA-NEXUS monorepo, preventing build errors and ensuring consistency across packages.

Core Features & Use Cases

  • Configuration Guidance: Offers clear decision tables and rules for different package types (library, domain, app, tool).
  • Error Diagnosis: Provides a step-by-step checklist to troubleshoot common tsc and tsup build failures.
  • Governance: Outlines automated checks and proposes new tooling for maintaining build integrity.

Quick Start

Use the ts-tsup-config skill to understand the correct tsconfig.json settings for a new library package.

Frequently Asked Questions about ts-tsup-config

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

FAQPage Schema
How do I configure tsup.config.ts for different package types in a monorepo?

To configure tsup.config.ts for different monorepo packages, use specific decision tables and rules for library, domain, application, and tool packages to ensure correct build outputs and maintain consistency.

Why does my TypeScript build fail with project references in a monorepo?

TypeScript builds fail with project references due to misconfigured tsconfig.json settings, which can be diagnosed using a step-by-step checklist to troubleshoot common tsc and tsup build errors.

What is the best way to troubleshoot common tsc and tsup build errors?

The best way to troubleshoot common tsc and tsup build errors is to follow a dedicated step-by-step checklist that diagnoses configuration issues and ensures adherence to monorepo standards.

How do I set up tsconfig.json for a new library package in a monorepo?

To set up tsconfig.json for a new library package, follow configuration guidance that outlines correct settings, project references, and package categorization to prevent build errors.

Can I automate checks for TypeScript and tsup build integrity in my monorepo?

You can automate checks for TypeScript and tsup build integrity by implementing governance rules that outline automated checks and propose new tooling to maintain consistency across packages.

When do I need specific build configurations for domain and tool packages?

You need specific build configurations for domain and tool packages when categorizing packages in a monorepo, ensuring each type adheres to distinct tsconfig.json and tsup.config.ts standards.