top | item 43932858

(no title)

hcnews | 9 months ago

Could you anonymize and share your last 5-10 prompts? Just wanna understand how people are using Claude Code.

discuss

order

ramoz|9 months ago

These aren't that fun but sure.

- https://gist.github.com/backnotprop/ca49f356bdd2ab7bb7a366ef...

- https://gist.github.com/backnotprop/d9f1d9f9b4379d6551ba967c...

- https://gist.github.com/backnotprop/e74b5b0f714e0429750ef6b0...

- https://gist.github.com/backnotprop/91f1a08d9c27698310d63e06...

- https://gist.github.com/backnotprop/7f7cb63aceb7560e51c02a9d...

- https://gist.github.com/backnotprop/94080dde34bfca3dd9c48f14...

- https://gist.github.com/backnotprop/ea3a5c3a31799236115abc76...

Taken from 2 recent systems. 90% of my interaction is assurance, debugging, and then having claude operate within the meta context management framework. We work hard to set the path for actual coding - thus code output (even complex or highly integrated) usually ends up being fairly smooth+fast.

When I "wake" CC up I usually use a prompt like this to preface any complex work: https://gist.github.com/backnotprop/d2e4547fc4546eea071b9b68... (the goal is to get all relevant context in-memory).

For most planning I use Gemini. I copy either the entire codebase (if less than ~200k tokens) or select only that parts that matter for the task in large codebases. I built a tool to help me build these prompts, keep the codebase organized well in xml structure. https://github.com/backnotprop/prompt-tower

smartbit|9 months ago

Interesting. Thanks.

Could you explain why there is no punctuation?

winrid|9 months ago

"Ensure all our crons publish to telegraf when they start and finish. Include the cron name and tenant id when applicable. For crons that query batch jobs, only publish and take a lock when there is work to do. look at <snip> as an example. Here is the complete list to migrate. Create a todo list and continue until done. <insert list of 40 file paths>"

(updated for better example)

winrid|9 months ago

The thing I forgot is the command for it to get the next set of files to process. Otherwise it will migrate 30% of them and say "look dad, I'm done!"

csomar|9 months ago

I used it yesterday to convert a website from tailwind v1 to v4. Gave it the files (html/scss/js), links to tailwind and it did the job. Needed some back and forth and some manual stuff but overall it was painless.

It is not a challenging technical thing to do. I could have sat there for hours reading the conversion from v1 to v2 to v3 to v4. It is mostly just changing class names. But these changes are hard to do with %s/x/x, so you need to do them manually. One by One. For hundreds of classes. I could have as easily shot myself in the head.

> Could you anonymize and share your last 5-10 prompts?

The prompt was a simple "convert this site from tailwind v1 to v4". I use neovim copilot chat to inject context and load URLs. I have found that prompts have no value, it is either something the LLM can do or not.