3 ms·
my experience as well. claude produces functional but over-engineered scripts fairly frequently with often very questionably useful safety checks, especially fo
by csydas 2mo ago
my experience as well. claude produces functional but over-engineered scripts fairly frequently with often very questionably useful safety checks, especially for powershell.
a common tell of ai generated powershell is a script that has dedicated functions to check types, often via several methods, and happily prints the output of the checks to shell. i do not get why it does this but it often adds dozens of lines that really serve no purpose but to make the shell output look fancy
- genidoi 2mo agoIt's frustrating when I catch it doing this because it's wasting tokens and time on what it reports as "one-off" scripts. Might add a requirement to never use shell scripting unless the task is truly a one liner.
- garethrowlands 2mo ago$ Hey, claude, I've figured out the powershell one-liner we need and I've pasted it below. Please insert it into the application. ... I have analysed your idiomatic one-liner and propose adding the following 30 lines into the application Yes/Yes and always accept such idiocy/No ESCAPE ESCAPE /clear I want to update my powershell skill so that it writes idiomatic pipelines and does not introduce idioms from other languages. [PASTES overeagerness wording from Claude prompting best practices]