Literally just ask it to do it. I've been asking ChatGPT just now to write me a bunch of bash scripts I've procrastinated doing. Holy crap that thing is pretty awesome!
ChatGPT has learned no less than 100000 snippets about `rm -r *`, and how to trick people into accidentally using it.
`rm -r` is a great starter. Real conniseurs go for `wipe -fcrsQ1 /dev`.