accelint-ts-best-practices

Apply safety-first coding patterns to JavaScript and TypeScript code.

17|1|Updated Mar 14, 2025
One-click install
npx skills add https://github.com/deckgl-fiber-renderer/fiber.gl --skill accelint-ts-best-practices-deckgl-fiber-renderer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: accelint-ts-best-practices
Source: https://github.com/deckgl-fiber-renderer/fiber.gl/tree/main/.agents/skills/accelint-ts-best-practices
Command: npx skills add https://github.com/deckgl-fiber-renderer/fiber.gl --skill accelint-ts-best-practices-deckgl-fiber-renderer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Reduce bugs and improve maintainability in JavaScript/TypeScript projects by providing a structured, safety-first set of coding standards that cover type safety, defensive programming, and robust design patterns.

Core Features & Use Cases

  • Progressive-disclosure structure with an overview (AGENTS.md) and 33 self-contained reference files that guide practical improvements.
  • Safety-first patterns for input validation, error handling, bounded iteration, zero-value returns, naming conventions, and clear control-flow rules.
  • Designed for agents and developers to load relevant references on demand during code reviews, refactors, or learning sessions.

Quick Start

Load SKILL.md to understand activation, then browse AGENTS.md to identify relevant references and apply patterns as needed.

Frequently Asked Questions about accelint-ts-best-practices

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

FAQPage Schema
How do I enforce type safety and defensive programming in TypeScript?

Establish TypeScript best practices for type safety using structured reference patterns covering input validation, zero-value returns, and clear control-flow rules. This Skill guides code reviews and refactors with safety-first design.

What are the best practices for TypeScript error handling and zero-value returns?

Apply TypeScript error handling best practices using safety-first patterns for zero-value returns and controlled flow. This Skill offers self-contained references that guide writing, reviewing, and refactoring robust TS/JS code.

How do I apply TypeScript defensive programming patterns during a code review?

Conduct TypeScript code reviews using defensive programming patterns loaded on demand from this Skill's 33 reference files. It delivers structured standards for input validation, bounded iteration, and naming conventions to ensure code quality.

Can I use these JavaScript safety patterns when refactoring existing codebases?

Refactor JavaScript codebases using these safety-first patterns by loading relevant references on demand. This Skill supports writing, reviewing, and refactoring tasks across modern codebases to enforce type safety and robust design.

Does this TypeScript best practices Skill require any external dependencies?

Use this TypeScript best practices Skill without any external dependencies. It provides a progressive-disclosure structure with an overview and 33 self-contained reference files that guide safety-first coding standards directly within your environment.

When should I not use safety-first patterns for JavaScript code quality?

Avoid safety-first JavaScript patterns when raw execution speed is prioritized over maintainability, as input validation and bounded iteration introduce overhead. This Skill targets reducing bugs and improving robust design rather than optimizing performance-critical paths.