top | item 45110094

(no title)

meerab | 6 months ago

I have barely written any code since my switch to Claude Code! It's the best thing since sliced bread!

Here's what works for me:

- Detailed claude.md containing overall information about the project.

- Anytime Claude chooses a different route that's not my preferred route - ask my preference to be saved in global memory.

- Detailed planning documentation for each feature - Describe high-level functionality.

- As I develop the feature, add documentation with database schema, sample records, sample JSON responses, API endpoints used, test scripts.

- MCP, MCP, MCP! Playwright is a game changer

The more context you give upfront, the less back-and-forth you need. It's been absolutely transformative for my productivity.

Thank you Claude Code team!

discuss

order

f311a|6 months ago

What you’re working on? In my industry it fails half of the time and comes up with absolute nonsense. The data just don’t exist for our problems, it can only work when you guide it and ask for a few functions at max.

ryukoposting|5 months ago

This sounds like my experiences with it. I'm writing embedded firmware in C and Rust. I'd describe further, but Claude seems incompetent at all aspects of this space.

meerab|6 months ago

I am working on VideoToBe.com - and my stack is NextJS, Postgresql and FastAPI.

Claude code is amazing at producing code for this stack. It does excellent job at outputting ffmpeg, curl commands, linux shell script etc.

I have written detailed project plan and feature plan in MarkDown - and Claude has no trouble understanding the instructions.

I am curious - what is your usecase?

ethanwillis|6 months ago

Personally, I give Claude a fully specified program as my prompt so that it gives me back a working program 100% of the time.

Really simple workflow!

Zee2|6 months ago

Ah, I’ve tried that one, but I must be doing something wrong. I give it a fully specified working program, and often times it gives me back one that only works 50% of the time!

jazzyjackson|6 months ago

Does Claude Code provide some kind of "global memory" the llm refers to, or is this just a request you make within the the llm's context window? Just curious hadn't heard the use of the term

EDIT: I see, you're asking Claude to modify claude.md to track your preference there, right?

https://docs.anthropic.com/en/docs/claude-code/memory

meerab|6 months ago

Yes. /init will initialize the project and save initial project information and preference.

Ask Claude to update the preference and document the moment you realize that claude has deviated away from the path.

bobbylarrybobby|5 months ago

What does the playwright MCP accomplish for you? Is it basically a way for Claude to play with your app in the browser without having to write playwright tests?

mierz00|5 months ago

How have you been using Playwright MCP?