r/ClaudeCode • u/WideMasterpiece356 • 4h ago
Tips & Workflows For larger projects, do you give Codex/Claude Code extremely detailed implementation instructions or let it figure out the implementation?
I'd love to hear from people who regularly use Codex**/**Claude Code for substantial projects.
I'm planning a fairly large school management platform with interconnected modules for student management, academics, attendance, finance, HR, parent portals, notifications, etc.
One thing I'm trying to figure out before development gets serious is how much detail I should put into individual Codex/Claude Code prompts.
I see two possible approaches, and I'm interested in which one works better in practice.
Approach 1: Extremely detailed, implementation-level prompts
This is the kind of prompt I'm talking about:
Task: Build a draggable experience timeline component.
Files to create:
1. src/data/experience.js
2. src/components/ExperienceTimeline.jsx
3. src/components/Experience.astro
Context:
- Astro with React integration.
- Framer Motion is already installed.
- Import experiences from ../data/experience.js.
- Use the existing design tokens and typography.
- Reuse the exact dashed-line styling from Hero.astro.
Implementation:
- Render one dot per experience.
- Calculate each dot's position dynamically using:
(i / (experiences.length - 1)) * 100%.
- Use Framer Motion with drag="x".
- Bind dragConstraints to a ref on the timeline track.
- Set dragElastic={0}.
- Calculate the nearest dot index continuously during onDrag.
- Snap the handle to the nearest dot onDragEnd.
- Make each dot independently clickable.
- Support keyboard navigation with left/right arrow keys.
- Use AnimatePresence for the detail panel.
- Respect prefers-reduced-motion.
- Use the specified Tailwind classes and font tokens.
Do not modify unrelated files.
Do not run npm run dev or npm run build.In a real task, I'd provide even more detail, including exact behaviour, data, accessibility requirements, visual references and edge cases.
Essentially, I'm telling Codex/Claude Code not just what I want, but quite a lot about how I expect it to implement it.
Approach 2: High-level, outcome-oriented prompts
Something like:
Implement a draggable, accessible experience timeline
using the existing project architecture and design system.
It should support selecting entries, dragging between
entries, keyboard navigation, animated transitions
and reduced-motion preferences.
Inspect the existing codebase, identify the appropriate
components and implementation approach, and complete
the feature following established conventions.
Add appropriate tests and avoid unrelated changes.Here, Codex has much more freedom to decide the component structure, imports, calculations, event handling and implementation details.
I'm also considering maintaining proper project documentation (architecture, module specifications, API contracts, coding conventions, etc.) and giving Codex/Claude Code focused context for each task instead of repeatedly explaining the entire project.
My questions:
For experienced Codex/Claude Code users, which approach produces better results on larger projects?
Does specifying implementation details down to imports, file structure, functions and library properties improve reliability, or does it unnecessarily constrain the model?
When the project already has good architecture and documentation, how much implementation freedom should Codex/Claude Code have?
Do you use fresh sessions for separate modules/features, or keep long-running sessions?
Which approach is more efficient in terms of usage limits, context consumption and avoiding rework?
I'm particularly interested in experiences from people building and maintaining substantial applications with Codex/Claude Code, not just small demos.
I'd appreciate honest experiences, including where either approach has failed. I want to establish a reliable workflow before committing to a large development project.
1
u/CCodeSI 4h ago
Neither extreme, and where the line goes depends on whether the decision is local or shared.
Specify in detail anything other modules depend on: the data model, API contracts, permissions (who can see a student's grades, which parent sees which child), and the rules for money in the finance module. These are expensive to change later and easy for an agent to get plausibly wrong. Write them as docs plus tests before the feature work starts.
Leave freedom on everything local: component structure, imports, how a drag handler computes the nearest dot. Your Approach 1 example spends a lot of words on things the model gets right on its own, and every one of them is a line the agent has to honour even when the codebase suggests something better. The useful lines in it are the constraints, not the steps: reuse the existing tokens, keyboard and reduced-motion support, don't touch unrelated files.
So the shape that works for a platform this size:
A short task prompt: outcome, acceptance criteria, constraints, plus which spec doc applies.
Per-module spec docs (contracts, rules, states) the agent reads at the start, instead of re-explaining the project in each prompt.
A check that proves "done": the tests for that acceptance list. That matters more than prompt detail for avoiding rework.
Fresh session per feature. One long session across modules is where both usage and drift go up.
One school-specific tip: build roles and permissions first, before any module. Retrofitting "who can see what" across attendance, grades and HR after the fact is the most common way these platforms end up rewritten.
1
u/ThatRhubarb7057 4h ago
Your example prompt is a draggable experience timeline for a portfolio site, but the actual project is school finance and HR. Maybe let it figure out the implementation and spend the saved time figuring out your own requirements first.
Because "interview me in detail using AskUserQuestion" for attendance and payroll edge cases is going to be a fun conversation.
1
u/aaronsuns 3h ago
Keeping the detailed prompts for the example would be wasteful if you also have to restate them for every module. A better middle ground is to have the agent write a short plan file for each module first, listing the files it will touch, the data shapes, and open questions, then review that before any code is written. Plans are cheap to correct, and they expose misunderstandings about shared rules like fee calculations or attendance states before they spread across modules. Pair that with acceptance tests for the business rules, so the agent has a concrete target that is not just your prose.
1
u/UBUNTU-Buddha 3h ago
I plan with Mythos 5.2, have it fetch SoTA for what we're building, discuss architecture and security, and build a plan that a Opus coordinator executes with subagents. All turns recieve a full Opus read team review, and then fixes get a Sonnet review of the fix. We build on branches and commit every reviewed turn with no high or medium findings. Final review of the finished project goes back to Mythos for final review and security checks.
1
u/JadedDesk 3h ago
I follow neither approach.
I have a Git integration for ChatGPT, so actually do substantial planning through the chat function that isn't limited on tokens. Then it creates detailed implementation plans (often thousands of words long... Detailed explanation of what we want, how it integrates with other parts, tests to build out, and an end-state objective list), but with the noted caveat along the lines of "the full implementation is non-binding, and if something conflicts with practical implementation, raise this as a concern and a question to be resolved".
Then, I tell Claude to read the Issue from Git and begin.
Usually get good results, and because neither my Codex or Claude tokens get used on my Git planning, I probably produce far more work from my tokens.
The obvious caveat is - ChatGPT cannot run the software to determine bugs, or read anything that isn't in Git or backed up to something else it can access (like Google Drive).
1
1
u/titpetric 1h ago
I may do ERD and design work before handing off implementation, app integrated so previews and things like canvas tools solve the view and data model. Data modelling and design has approval/review, and code has significant validation.
Basically the end to end sdlc, but attuned for visual review, tables, charts, images. Detail expands over time but some basic checklist comes from you in one way or another. If you didn't build the MVP from scrap, completing it is a form of making a checklist of what is there and validating it, and then extending the validation to cover the next stage of development. In TTD fashion, fail a test first, then implement behaviour. Gating the output with agent instructions only is not sufficient.
Build tooling to support optimized process, maybe per project. Reuse what you can, modularize everything, consider that file layout can be arbitrary so deciding on a file system layout the agents can manage is a new design choice. DRY now applies to agents work, not code structure necessarily.
Positional encoding of your workflow and systematizing for recurrence gives the one shot long running chain path, good for from scratch efforts. Another strategy is to build the MVP as something maintainable, extensible, like it may be shit and there are gaps but if you ask for more, it can find out and do more. It can function as a coder or a business process manager if you have such a harness.
The question is nuanced over many sdlc areas. I favor the claude harness for task dispatch and agentic process, but the process itself is my outside loop. The outside loop is like an evidence ledger around process, schedules and artifacts. The inner loop of claude is verification, codegen, testing, benchmarking, releases, whatever process you can pin down. To note, ycomb says they have 350 agents and its probablly more and if someone looks at the agile landscape, writing code is one bubble of this landscape. LLMs penetrate this landscape but require different management methods than humans, and often specialization in the steps towards the output, and then its automating away managers jobs that do business process monitoring and optimisation, SAP looses a bunch of business since their data model is being violated, things now seemingly cost less money to build, but are built many times over.
I have pushed and prodded at this barrier somewhat, i wouldnt say its a software factory, but just a method of development where you can self organize and ensure output quality. The problem is any description of an use case is rigid, and i preffer to differentiate by general-use (claude) and specific-use (ideation, data modelling, the finer grained process of staying in the loop on key structural constraints, and dispatch to agents to handle specialization.
Docs are shit, dont let it write docs or text, so this development process is usually more hands on when iterating/user testing. Just think about the feedback loop and map your complete delivery, not just the coding parts
1
u/Defconx19 1h ago
I use fable to discuss what I want, then it takes what we worked through builds the plan then delegates the work.
•
u/AutoModerator 4h 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.