Bun plugin idea: import Markdown specs, let an LLM generate and cache the TypeScript implementation

SubtleGradient · x · 2026-11-17

SubtleGradient proposes a Bun plugin that lets you import a module's Markdown description and uses an LLM to generate — and cache — the TypeScript implementing it. When the description changes, the LLM refines the module to match.

The idea amounts to spec-driven development with natural language as the sole source of truth, caching LLM output as reusable modules while keeping intent readable.

Related event: Dev Proposes Bun Plugin to Turn Markdown into TypeScript Modules(2 posts)→

Original post →

More from coding & agent

coding & agent channel →