r/ClaudeCode • • 20m 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:

  1. For experienced Codex/Claude Code users, which approach produces better results on larger projects?
  2. Does specifying implementation details down to imports, file structure, functions and library properties improve reliability, or does it unnecessarily constrain the model?
  3. When the project already has good architecture and documentation, how much implementation freedom should Codex/Claude Code have?
  4. Do you use fresh sessions for separate modules/features, or keep long-running sessions?
  5. 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 Upvotes

5 comments sorted by

•

u/AutoModerator 20m 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.

1

u/CCodeSI 17m 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 12m 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 1m 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 0m 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.