accurate-environment-model

Installation
SKILL.md

Create an Accurate Model of Your Environment

Overview

Your TypeScript environment includes globals, environment variables, and platform-specific APIs. Create accurate type definitions for your environment using declaration files (.d.ts). This ensures type safety for platform-specific code and global variables.

When to Use This Skill

  • Defining global types
  • Augmenting window or globalThis
  • Typing environment variables
  • Working with build-time constants
  • Configuring type definitions

The Iron Rule

Model your environment accurately with .d.ts files. Declare globals, window properties, and environment variables that your code depends on.

Example

Installs
14
GitHub Stars
2
First Seen
Feb 3, 2026
accurate-environment-model — marius-townhouse/effective-typescript-skills