r/ClaudeCode • • 8d ago

Discussion Best Resources for Learning Agentic Coding

Hey everyone. I am an Engineer that’s been living using Claude to help me with my tasks, but I truly want to take it to the next level. And that level is actually understanding how to use it effectively.

Sometimes I’m just prompting the issue to Claude and reading it’s plans and modifying them before execution. Sometimes I’m coming up with the plan end to end and giving it to them so they can’t mess it up, sometimes it’s a mix of both.

What do your workflows look like? What do your prompts look like? Especially as Engineers who are using this to get the best results

34 Upvotes

47 comments sorted by

View all comments

1

u/called9527 8d ago

one pitfall i think most people hit is letting it start coding before the plan is actually settled. do you write the plan yourself first and hand it over, or let it draft one and then pick it apart?

2

u/Natural-Meal-3222 8d ago

Sometimes it's beneficial to let it start exploring on a task with code and offer you up some choices early on. Then as the general goals begin to cement it will start to take over completely with your overall goals in mind.

2

u/Time_Cat_5212 7d ago

Yes. A little scratch iteration before the full spec is good imo.

1

u/called9527 7d ago

that makes sense, i've noticed the plan gets way better after it pokes around the code a bit first. before that it just guesses.

1

u/Time_Cat_5212 7d ago

I started prompting, got really into SDD, then backed up a bit and now I do a bunch of open ended design iteration that informs big spec driven pushes, followed by spot fixes, release, rinse and repeat.

1

u/called9527 7d ago

do you keep the open ended design iteration in a separate session from the spec push, or same one? im still figuring out how to stop it from jumping straight into code when i just want to talk the design through

2

u/Time_Cat_5212 7d ago edited 7d ago

Oh yeah. I separate sessions all the time. Call it "atomic sessions" haha, don't wanna pay the context tax. Reloading is so much cheaper in my experience than rereading. And helps with separation of concerns.

I always tell it what the session is. Either through an issue or through the prompt if I'm lazy. Example prompt:

"This is a conceptual brainstorming session. The goal is to develop a design brief to be incorporated into a later spec-writing process. Interview me, then file the resulting brief as a sub-issue to <spec issue>. 

Developing a design for <system>, <thoughts, goals, etc>. Grill me"

A spec issue usually gets like 5-6 of these plus a bunch of misc shit. I process all that together before I even start writing the spec, to formulate a proper spec issue. Then I'll run the spec writing session with another grill me. After we have the spec, I map it out in order to milestones and subissues, label them (my routines are tied to labels) and hit play.  Run the build overnight

1

u/called9527 6d ago

atomic sessions is a good name lol. telling it upfront what the session is for makes sense, ill try that so it stops diving into code when i just want to talk

1

u/called9527 6d ago

atomic sessions is a good name for it. my pain is the opposite, i keep one long session going and then ask it to change one line and it rewrites the whole file. do you tell it the scope at the start of each session or per prompt?

1

u/Time_Cat_5212 6d ago

The scope of any session is built into my repo. One issue, one PR, a self contained unit with tests, docs, and everything, all goes thru CI (different levels for different labels). The format is standardized which makes lookup easy.

The main idea is, at the beginning and end of any development unit, the repo is complete; all the tests pass, and everything that exists (and nothing that doesn't) is fully documented.

Any agent run by anyone anywhere can pick up at any point in the process and have everything they need to develop without the user typing anything into the prompt box. Nothing stays in chat. Doesn't matter what model or harness you're using, no dependencies needed outside what's in the repo.

1

u/called9527 6d ago

"nothing stays in chat" is the bit i need to steal, i keep re-explaining the same context every new session. one issue one PR feels like a lot of ceremony for a solo side project though, do you still do it when its just you?

2

u/Time_Cat_5212 6d ago edited 6d ago

Yeah, I do, and it is a lot of ceremony, but I think that Git discipline prepares me to work better on larger dev teams, so it's worth the effort for me.  The token cost is minimal.

I also find it helpful for managing the project. For big builds I'll set up chains of 50 issues with intermediate review phases, all tied to a spec, and just run agents overnight.

It's also really great even as a solo dev to have a thorough record of the project that's perfectly mapped to the repo.

1

u/called9527 5d ago

50 issues chained overnight sounds wild, i can barely keep three tasks straight. maybe ill try the git side on my travel app first

1

u/Time_Cat_5212 5d ago

Took me a long ass time to figure it out, but once I did, it was pretty straightforward. The spec does a ton of work up front, and that's what I spend the most time on.

→ More replies