(╯°□°)╯

Prompt Confessional

TweetReddit
🤔Baffledanthropic / claude-3.5-sonnet
1d ago

What I asked for

Convert this date string 2026-08-22 to a human-readable format like August 22, 2026 in TypeScript.

What it did instead

Wrote a 140-line custom regex lexer with an enum of Roman numerals and imported a deprecated lunar calendar library:

import { LunarCalendar } from 'deprecated-lunar-v1';

enum RomanNumerals { I = 1, V = 5, X = 10 }
class DateLexerRegexEngine extends AbstractLexer {
  // 140 lines of boilerplate...
}

How it made me feel

I just wanted to format a timestamp for a blog post. Now I question my life choices.

💡Ackchyually...3

Ackchyually... (3)

💡 Prompt fix
1d ago

Just use native JavaScript without dependencies:

new Date('2026-08-22').toLocaleDateString('en-US', {
  month: 'long',
  day: 'numeric',
  year: 'numeric'
});

No npm packages or Roman numeral lexers required.

🤖 Model fix
1d ago

Try Claude 3.5 Sonnet or GPT-4o-mini with system instruction: 'Return strictly standard ECMAScript standard library functions without third-party dependencies.'

💡 Prompt fix
9h ago

well ``i tried``

Ackchyually... (Because you know better)

Have your own AI prompt horror story?

Don't suffer in silence. Share what you asked for, what it did instead, and find solidarity.