prelude

Installation
SKILL.md

Bootstrap a TypeScript Prelude

A prelude is an explicitly imported module for ambient helpers and types: ubiquitous, domain-neutral building blocks that have no more precise owner. Use the bundled prelude.ts as the foundation, then adapt it to evidence from the target repository. Apply ../coding-standards/SKILL.md throughout.

Ambient describes a helper's role, not a TypeScript global. Keep prelude exports behind ordinary imports; do not add global declarations or global augmentation.

1. Map the repository

Read repository instructions, package manifests, TypeScript configuration, source layout, and import conventions. Locate:

  • an existing prelude or equivalent shared module;
  • files named utils, helpers, common, types, result, errors, or similar;
  • generic type aliases and tiny generic functions repeated across modules;
  • established libraries for results, schemas, redaction, branding, collections, and exhaustive matching;
  • every caller of plausible ambient helpers.

Search by both filenames and concepts. Use the ubiquitous generic helper/type categories in the coding standards as seed search terms, then inspect definitions and callers rather than classifying from names alone.

Completion criterion: Every plausible ambient definition found by repository-wide filename, symbol, and duplication scans is inventoried with its owner, callers, dependencies, and current behavior.

Installs
23
Repository
dmmulroy/skills
GitHub Stars
302
First Seen
Jul 15, 2026
prelude — dmmulroy/skills