r/ClaudeCode • • 14h 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

29 Upvotes

33 comments sorted by

•

u/AutoModerator 14h ago

Hey! Thanks for posting to r/ClaudeCode

While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.

For help, project discussions, tips, and general chat, join the ClaudeCode Discord.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

33

u/redrabbit1977 14h ago

My opinion: don't view AI as an engineering tool, view it as a very smart human. In other words, talk to it conversationally.

This is going to get downvoted by the devs and engineers on here because it runs against everything they've been taught, but in my experience, the more I try to harness and control my agents, the worse they do. Use clear language, define you end goals, and define your tasks. Chat with it like you would a human employee. Reap.

1

u/Super_Pair_8170 9h ago

Question though, because with this approach most of the time I don’t see Claude taking the performant approach (not utilizing indexes correctly, not caching, not running work in parallel that could etc). So when building something that scales I noticed I usually have to be pretty direct with it on where I think performance measures should be taken. But in doing so, I realized it tends to just follow me blindly even though I may have had some oversight. So it’s this weird dilemma of telling it to be performant and missing something or not and it misses everything

2

u/redrabbit1977 6h ago

I guess the best way I can answer this is this: you don't necessarily want to tell Claude how to optimize a system. You want to make it understand that optimization is an important part of the job.

eg, I wouldn't say:

Make sure you use caching, indexes and parallel processing wherever possible.

(This sounds sensible, but caching can introduce problems, indexes add write overhead, and parallelism can create concurrency clashes/issues. None is always 100% beneficial.

I would say:

Performance and scalability are important requirements. When designing or modifying the system, consider expected workloads, database performance, appropriate caching, concurrency and potential bottlenecks. Challenge my assumptions where necessary, and explain major architectural decisions.

basically you're telling it to work like an engineer, rather than following a checklist, and report on it thoroughly.

I also use adversarial agents of different models to also act like engineers to check the work. tests, profiling, benchmarks and reviews to check it are super important IMHO.

2

u/Super_Pair_8170 5h ago

This isn’t me being a typical anti-ai Engineer when I say this, because I am very pro use of AI, but in this case where is being an Engineer come in with these types of prompts?Yes during reviews and maybe even higher level decisions, but at this low level it feels like I am just passing the needed information / and am an orchestrator

8

u/WonderfulCoyote6849 13h ago

This has been my experience too, to the point that my workflow improved a lot when I started dictating parts of the conversation rather than just typing

3

u/mojomonday 12h ago

I use Codex but I'm finding that using the 2-way voice chat feature to be really powerful, because as it reads back it's reasoning to me, I can steer it on the fly as we go along. Deliverable accuracy was higher and feels like a working session where I'm working with someone conversationally.

2

u/Guinness 5h ago

For vibe coding sure. For agentic engineering, no. Spec driven development, proper hooks, loops, managing context, multi agent (and now multi harness) orchestration etc.

Google has a good PDF on agentic engineering if anyone is curious. You want to develop your plan/spec at a high level. You can do this conversationally, but after that you want your orchestration loop set up so you have all your different agents and a well defined workflow to hand off work between them. As well as an issue tracker like beads.

2

u/redrabbit1977 5h ago

I don't disagree with any of that. Proper specs, context management, testing and orchestration all have their place, especially for larger projects.

But I think there's a distinction between creating a structured environment for AI to work within and micromanaging how it actually solves problems.

devs can sometimes bring a traditional engineering mindset to something fundamentally different. we're still lagging in fully realising how powerful agents' independent thinking is. and a lot of devs absolutely are not open to having their own assumptions tested/challenged.

the more we prescribe exactly how they should work, the more we potentially limit those capabilities.

1

u/Known_Newspaper9701 3h ago

Could u let us know which pdf by google?

1

u/wink-Dink-LovePink 13h ago

I totally agree with this statement. I have much better luck keeping it simple and like you say, keep everything well defined!

1

u/Toxic-slop 8h ago

It just doesn’t work for big projects

5

u/Rowdy5280 14h ago

I have two schools of thought here:

  1. Formalized process - I’d recommend looking at Matt Pocock’s skills and his site AI Hero.
  2. Non-formal - More abstract but essentially you act more like a PM explaining the requirements or feature to a dev and trusting them. Coding agents are incredibly good now. If your manager/boss told you we need feature x. They likely wouldn’t tell you all the granular details like tools, libraries, etc.

Either way I’d recommend looking up Poteto on x or YouTube and listening to her talks about agentic development.

1

u/Super_Pair_8170 9h ago

Thank you I will! Now when acting like a PM are you also giving NFRs like must be able to handle x amount of users, certain latency etc

2

u/Rowdy5280 8h ago

No, I’m as high level as possible and refining. I use the create verification skill and maintain verification skill to out in checks and balances like lint rules, comment expectations, etc.
Every time you face an issue create a verification rule or skill to prevent it in the future. The goal is to continue to build trust in the development lifecycle. You want to end in a place where you feel confident merging code or having your agents merge it without you needing to manually review code.

1

u/Super_Pair_8170 5h ago

Can you give an example of how you have generated one of these / an instance in which h a verification skill came about? Like comments were too long so you started making some more skills to say hey when adding comments have them be this size etc

2

u/jijialuoke 14h ago

I'd treat prompt libraries as a last stop, not a starting point.

The useful practice is writing the acceptance check before the model starts — a test, a screenshot of the broken state, or one concrete sentence like "a partial refund still leaves the totals consistent." Then let it plan, cut the plan down, and run that check yourself. "Tests passed" in the chat is not the same thing.

Agree with the spec-driven suggestion already here. The skill isn't producing a longer spec, it's noticing when the work drifted: a file you didn't ask to touch, a test that never actually ran, a "simple" fix that changed an API.

If you want one reusable instruction: say what not to touch, what evidence you will accept, and that it should stop at the first failed check instead of "fixing forward."

2

u/Super_Pair_8170 9h ago

How do you give acceptance criteria for something that may also need technical insight? Like “this is a frequently requested item so you may want to cache it” without having to consider every one of those cases? Because when I have to start doing those, I notice it either tends to only focus on that, or now I am moving too slow

2

u/jijialuoke 8h ago

I'd keep the acceptance line on the visible outcome, and treat the technical insight as a proposal, not as a case you have to pre-specify.

For "this is frequently requested, you may want to cache it," the check isn't "a cache exists." It's something like: a repeat request stays under X ms or doesn't hit the origin after the first miss, and stale data isn't served longer than Y. If the model wants a cache, a denormalized field, or another approach, it should write that in one short proposal and wait for a yes before building it.

That way you aren't enumerating every optimization in the spec, and the model isn't allowed to turn the whole task into "implement caching." Most work stays at the user-visible check. You only add a performance or design constraint after that case has already bitten you, or when the proposal would change what the user can observe.

1

u/Super_Pair_8170 5h ago

Hmm I actually like that. Kind of like the age old don’t over engineer until needed. Obviously have some good foresight like if you have 1m concurrent users already then yes let that as context but until then just ship ship ship

10

u/VortexOfPessimism 14h ago

Look up spec driven development . I don't think you have to religiously follow SDD since true SDD is extremely tedious but there are a lot of learnings from how to create and define the output specs in a reliable manner

2

u/Due_Channel1613 14h ago

I've found that writing the acceptance check first forces the model to stay in bounds, like a single line saying 'the navbar stays fixed on scroll' stops it from rewriting the whole layout.

1

u/Time_Cat_5212 7m ago

I don't even write it, it's just part of my issue template

LLMs are great at filling containers

1

u/called9527 12h 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 7h 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.

1

u/called9527 3h 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 46m ago

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

1

u/Time_Cat_5212 47m 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/Outrageous_Band9708 9h ago

https://github.com/Druthulu/ProjectArchitect/

my solution is an amazing planner and orchestrator and token saver.

checkout the readme and the wiki and test it out yourself

1

u/FlowCharge 2h ago

I'm a fan of SDD: Spec-Driven Development. Feature by feature, I let it draft a plan and then review it. Then I get the agent to write up tasks from the plan. I review both to get an understanding of how the feature will be implemented, so I can modify it if necessary.

The plan and the task list under it end up as md files in the repo, so successive sessions have the plan/task context as well as the resultant code to gain an understanding of the project.

It also helps me get my feature ideas down and organised before executing.

-13

u/SummitYourSister 14h ago

Is this how you approached the rest of your career as an engineer? By asking randos on Reddit for completely unvetted opinions?

I suggest you approach the problem as an engineer would. I don’t have to explain how to do that, because you’re an engineer.

2

u/Super_Pair_8170 9h ago

So engineers can’t ask a forum for advice or look for insight? I’m not saying I’d follow it blindly, but if an aeronautical engineer that works at SpaceX reads research papers from Engineers at NASA, or other open source findings, does that not make them and Engineer? No. They’re doing their research, alongside their own, and usually the solution comes together from a hodgepodge of information. If you think you are only an Engineer because you sit in a room and think with yourself and no external resources ever, that is extremely unwise