typescript-writing-code

Enforce strict TypeScript configs, Biome linting, and post-change verification workflows.

Updated May 6, 2026
One-click install
npx skills add https://github.com/Abdullahmohammadaref/acar --skill typescript-writing-code-abdullahmohammadaref
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: typescript-writing-code
Source: https://github.com/Abdullahmohammadaref/acar/tree/main/.agents/skills/typescript-writing-code
Command: npx skills add https://github.com/Abdullahmohammadaref/acar --skill typescript-writing-code-abdullahmohammadaref

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill helps teams enforce strict TypeScript discipline, ensuring code is robust, maintainable, and aligned with project-wide standards.

Core Features & Use Cases

  • Enforces strict TypeScript configuration and zero-ANY policy to prevent runtime errors and enable precise type inference.
  • Promotes Type Safety Patterns (type guards, discriminated unions, branded types), consistent ESM module usage, and robust error handling.
  • Provides a guided post-change verification workflow and naming conventions to sustain code quality across repositories.

Quick Start

Audit or implement a TypeScript codebase with strict configs, Biome linting/formatting, and mandatory post-change checks.

Frequently Asked Questions about typescript-writing-code

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

FAQPage Schema
How do I enforce strict TypeScript discipline and prevent runtime errors in my codebase?

To enforce strict TypeScript discipline, apply strict tsconfig settings alongside a zero-any policy and type safety patterns like discriminated unions. This prevents runtime errors and ensures precise type inference across your project.

What are type safety patterns in TypeScript and when do I need them?

Type safety patterns in TypeScript include type guards, discriminated unions, and branded types. You need them to enforce safe coding practices, enable precise type inference, and prevent runtime errors in production-grade codebases.

Does this TypeScript approach work with Biome for linting and formatting?

Yes, this TypeScript approach works with Biome for linting and formatting. It enforces Biome linting and formatting rules alongside strict tsconfig settings to sustain code quality and maintainability across repositories.

How do I set up post-change verification workflows for strict TypeScript projects?

To set up post-change verification workflows for strict TypeScript projects, follow a guided verification process that checks type safety, ESM module conventions, and explicit error handling after implementing changes.

Why should I use a zero-any policy for TypeScript codebases?

You should use a zero-any policy for TypeScript codebases to prevent runtime errors and enable precise type inference. Enforcing strict configuration with no any types ensures code is robust and maintainable.