alfadocs-typescript-setup

Enforce strict TypeScript tsconfig.json baselines for Vite-based AlfaDocs/Lovable apps.

Updated Mar 9, 2026
One-click install
npx skills add https://github.com/alfadocs/ai-harness-instructions --skill alfadocs-typescript-setup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: alfadocs-typescript-setup
Source: https://github.com/alfadocs/ai-harness-instructions/tree/main/lovable/skills/alfadocs-typescript-setup
Command: npx skills add https://github.com/alfadocs/ai-harness-instructions --skill alfadocs-typescript-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill prevents weak or inconsistent TypeScript configurations from slipping into AlfaDocs/Lovable apps, reducing type-safety regressions before they reach production.

Core Features & Use Cases

  • Strict baseline setup: Establishes the required tsconfig.json for app code with strict checking enabled.
  • Type-safety review: Helps verify that an existing project still follows Engineering Standard §3.
  • Path and module conventions: Standardizes the @/* alias, ES2022 targeting, and bundler-friendly module resolution for modern Vite apps.

Quick Start

Ask the AI to review or generate the tsconfig.json baseline for an AlfaDocs/Lovable app and ensure every strict flag and path alias matches Engineering Standard §3.

Frequently Asked Questions about alfadocs-typescript-setup

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

FAQPage Schema
How do I set up strict TypeScript in a Vite project?

Configure tsconfig.json by enabling strict compiler checks, setting ES2022 targets, and applying bundler module resolution to lock in strict TypeScript and prevent type-safety regressions in Vite apps.

What is the best way to configure path aliases in TypeScript?

Standardize the @/* alias within tsconfig.json to enforce consistent path and module conventions, ensuring boundary validation and bundler-friendly module resolution for modern Vite applications.

How do I prevent TypeScript configuration drift in my web apps?

Prevent TypeScript configuration drift by enforcing a strict baseline in tsconfig.json that requires ES2022 targets, bundler module resolution, and strict compiler checks to catch type-safety regressions before production.

Does this strict TypeScript setup work with Vite?

Yes, this strict TypeScript setup is designed for Vite-based frontend applications, applying bundler-friendly module resolution and ES2022 targets to align configuration with engineering standards.

Why does my TypeScript type-safety review keep failing?

Your TypeScript type-safety review may fail if tsconfig.json lacks strict compiler checks, proper ES2022 targets, or standardized @/* path aliases required by engineering boundary validation standards.