limit-optional-properties

Installation
SKILL.md

Limit the Use of Optional Properties

Overview

Optional properties are convenient but costly.

Every optional property creates uncertainty. Readers must check if it exists. Code paths multiply. Consider whether required properties or separate types are better.

When to Use This Skill

  • Adding new properties to existing types
  • Designing interfaces with optional fields
  • Migrating types from JavaScript
  • Choosing between optional and required

The Iron Rule

Installs
15
GitHub Stars
2
First Seen
Feb 3, 2026
limit-optional-properties — marius-townhouse/effective-typescript-skills