accelint-ts-best-practices

Codify JavaScript and TypeScript safety and correctness rules for code reviews.

21|4|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/gohypergiant/agent-skills --skill accelint-ts-best-practices
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: accelint-ts-best-practices
Source: https://github.com/gohypergiant/agent-skills/tree/main/skills/accelint-ts-best-practices
Command: npx skills add https://github.com/gohypergiant/agent-skills --skill accelint-ts-best-practices

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a structured, safety-first approach to writing and reviewing TypeScript and JavaScript code. It codifies patterns to improve type safety, prevent common anti-patterns, and reduce runtime bugs through explicit return values, controlled mutation, and defensive programming.

Core Features & Use Cases

  • Progressive disclosure with AGENTS.md and references: one-line summaries and load-on-demand rule details.
  • TypeScript best practices: avoid any and enums, prefer type aliases, and use safe typing patterns.
  • Safety and reliability: input validation guidelines, explicit error handling, bounded iteration, and clear error messages.
  • Code quality and maintainability: naming conventions, function design, return values, mutation control, and DRY principles.
  • Use cases: code reviews, error reduction in AI-driven prompts, training agents, and automated code improvements.

Quick Start

Read SKILL.md, review AGENTS.md for quick overview, load specific reference files as needed, and apply correct patterns from references to your code.

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 TypeScript coding standards and safety rules in AI code generation?

You can enforce TypeScript coding standards by applying safety-first rules that require explicit return types, input validation schemas, bounded iteration, and zero-value returns to prevent runtime bugs in AI-driven code generation.

What's the best way to standardize JavaScript and TypeScript code reviews for safety and maintainability?

Standardize JavaScript and TypeScript code reviews by codifying rules for safe typing patterns, mutation control, DRY principles, and clear error messages, ensuring agents generate correct and maintainable code.

How does progressive disclosure work for loading TypeScript best practices references?

Progressive disclosure loads TypeScript best practices on demand, starting with one-line summaries in AGENTS.md and expanding into specific rule details from the references folder only as needed for your task.

Can I use these TypeScript safety rules for refactoring existing codebases?

Yes, these TypeScript safety rules apply directly to refactoring existing codebases by enforcing safe typing patterns, avoiding any and enums, preferring type aliases, and guiding controlled mutation and error handling.

Why should I avoid any and enums when standardizing TypeScript coding practices?

Avoid any and enums in TypeScript coding practices to improve type safety and reduce runtime bugs, preferring type aliases and safe typing patterns that enforce correctness and maintainability across your codebase.

What are the limitations of general TypeScript best practices skills for performance and documentation tasks?

General TypeScript best practices skills do not cover performance optimization or documentation generation; they direct users to specialized skills for accelint-ts-performance and accelint-ts-documentation to handle those specific tasks.