Stop fighting Windsurf hallucinations. Generate Bun + Elysia-aware prompts that produce code your team can actually ship.
// ❌ Generic Windsurf output for Bun + Elysia
// Missing Bun conventions
// No error handling, no types
// Ignores Elysia best practices
function getData() {
// hallucinated API that doesn't exist
return fetch('/api/data').then(r => r.json());
}Every prompt includes strict bans and deprecation rules tailored to your Bun + Elysia + TypeScript + Eden Treaty + Windsurf stack
AI defaults to Node.js APIs, ignores Bun-native file I/O, and hallucinates Elysia plugin syntax. Windsurf's Cascade feature can lose context across large codebases.
AI Prompt Architect Prompts enforce Bun.serve, Elysia route groups, Eden Treaty client, and proper TypeBox validation. It structures prompts to maintain context across Windsurf sessions with explicit state tracking.
Stop wasting time fixing AI-generated Bun code. Start with the right prompt.
Try Bun + Elysia + Windsurf Prompts FreeExplore more stack-specific prompt engineering guides