If AI can handle many of the starter tasks we used to give junior developers, what should a junior own now?
I work with AI, and the code it produces still needs human judgment. Someone has to check whether it belongs in the right module, connects correctly to the rest of the system, and behaves sensibly when you actually use it. A plausible implementation can still contain unnecessary abstractions or miss something obvious to a person inspecting the result.
A junior can contribute to that work while developing the judgment behind it. But the quality of their starting point matters. If the task leaves architecture, integration, and ownership undefined, the junior and the AI are both being asked to fill those gaps.
What should the senior establish before handing the work over? That is the question worth answering, in both a new project and a mature codebase.
The handoff begins before the implementation task
Giving someone access to an AI coding tool does not tell them where a change belongs, which existing decisions they should preserve, or how to know that the feature works.
Those are part of the assignment. A useful handoff makes the structure visible, provides a working reference, and gives the junior a bounded result to own. The junior can then use AI with enough context to assess its suggestions, rather than accept each missing design decision as something the tool has helpfully solved.
Think of the canvas in the image above. The senior establishes the outlines and completes one section. The junior starts from that same canvas and adds the remaining pieces. The completed section shows how the structure is meant to be used.
The outlines are a way to make decisions inspectable. They cannot prevent every mistake, and they should not prevent the junior from questioning a boundary that no longer fits.
What changes between a new project and an existing one is where those outlines come from.
New project: establish one working path
In a new project, the senior needs to make the initial design concrete enough for someone else to follow. A diagram alone may leave important choices unresolved. A folder structure with no integrated behavior can do the same.
I would split delivery into two levels. In the first, the senior owns the foundation: the modules, their responsibilities, the interfaces between them, and one small implementation that works through the whole feature. In the second, the junior extends that implementation with the remaining cases and behavior.
The first level includes the infrastructure the feature actually needs. If it depends on a queue, database tables, or AWS permissions, the senior is responsible for making those dependencies part of a coherent design and a working integration. A specialist or junior can help prepare them; ownership means ensuring the pieces fit together, rather than personally typing every configuration line.
The working path should show where a request enters, which module performs each part of the work, how data crosses the boundaries, and how the result becomes observable. It should also establish the basic validation, permission rules, and failure behavior required for that path to be usable.
This is deliberately a small implementation. Its purpose is to demonstrate the decisions the rest of the feature will follow. Designing every possible extension before anyone can contribute would create a different obstacle.
What makes the foundation ready to hand over?
The senior should be able to run the path, show the expected result, and point to a meaningful automated check that exercises the connected behavior. They should explain which dependencies were actually tested and which still need verification in another environment.
If the test substitutes a fake service, that is useful information about the starting point. It establishes what the application does under that substitution; it does not establish that the real service connection and its permissions work.
The junior should also know which contracts are settled and which questions remain open. An unclear failure policy or a missing integration should be named before it becomes an accidental architecture decision inside their task.
Now the next assignment has a reference: extend this module, follow this interface, preserve this behavior, and demonstrate these additional cases.
The junior owns the next piece and the checks behind it
With a working reference, the junior can inspect how the system fits together before generating more code. They can trace the first implementation, identify the intended extension point, and give the AI the relevant interfaces and conventions.
Then the work becomes implementation and judgment together. Does the new code use the existing module, or duplicate it? Does an extra abstraction make the change clearer? Does the behavior match the requirement, including the details someone sees when using it?
The junior should run the change and inspect its result. Reading generated code is one check; seeing the behavior and exercising the integration are additional checks. When something is wrong, they can reproduce it, trace the cause, make a correction, and verify the result again.
That iteration is useful engineering work. It is also a way to learn how decisions in one part of the code affect another. The junior should be able to explain why the final implementation works, including where an AI suggestion had to be changed.
If the task does not fit the agreed interface, the junior needs a clear way to raise the conflict. They can bring a specific limitation or failing case to the senior instead of quietly changing a shared contract or forcing an awkward implementation into it.
The responsibility is to deliver and understand the assigned behavior. Approval of the overall architecture and release remains with the people who own those decisions.
Mature codebase: identify which outlines matter
In an established codebase, much of the foundation may already exist. That changes the senior's preparation. They need to identify and verify the relevant structure before assigning the extension.
“Follow the existing pattern” is only useful when the junior knows which pattern and why it applies. A repository can contain old and new approaches, different conventions in different modules, and examples that no longer represent the intended design.
The senior should choose the reference implementation, trace the dependencies that matter, and explain the supported way to extend it. The junior needs to know where the change belongs, who uses the interface, and which existing behavior must remain compatible.
That reference should be checked against the current system. Documentation may describe an earlier design. A nearby implementation may solve a different problem. Familiar code deserves the same question as generated code: is it appropriate for this change?
Before the handoff, use the relevant existing checks to establish the behavior that must remain intact. Add focused checks where that behavior is important but unprotected. This gives the junior a baseline against which to assess the new work.
What if there is no suitable place to extend?
Sometimes the code mixes responsibilities so tightly that the junior would have to restructure a shared module just to complete the assignment. That is a design problem the senior needs to address or guide explicitly.
The preparation might be a small refactor that separates those responsibilities and demonstrates the intended extension point. It should have checks for the behavior being preserved and a proportionate plan for releasing or reverting the change.
The size of that preparation should follow the actual obstacle. Extending an established system does not automatically require redesigning it. Equally, an unsuitable pattern should not become the reference merely because it already exists.
Once the boundary is usable, the junior can extend the module, check the affected integrations, and demonstrate both the new behavior and the existing behavior it must preserve. Where the change crosses another team's interface, the owner of that interface belongs in the discussion.
In a new project, the senior creates the first usable outlines. In a mature codebase, the senior identifies the relevant outlines, explains them, and repairs a small part when the next change needs it.
Make the assignment concrete enough to act on
A useful handoff can be brief. What matters is whether the junior can answer these questions before implementation begins:
- What already works? Identify the reference implementation and show how to run its relevant path.
- What do I own? Name the additional behavior or cases the junior is responsible for delivering and explaining.
- What needs discussion? Identify shared interfaces, module responsibilities, and infrastructure decisions that require review before changing.
- How will I check it? State the expected behavior, important failure cases, and existing behavior that must remain intact.
- Who reviews the result? Identify the senior or domain owner who evaluates the change and decides whether it is ready to ship.
The useful detail is close to the work: the relevant module, an example to follow, a check to run, and an observable result. A long document can still leave the assignment unclear if it never identifies those things.
The junior can participate in preparing the foundation too. Pairing on the first path, asking why a boundary exists, or helping build its check gives them insight into decisions they will later need to make themselves.
Use the pattern to review, then expand the ownership
A senior reviewing a change they helped structure has a useful reference. They can inspect whether the implementation follows the agreed boundary, where it departs, and whether that departure is justified. The junior can explain the work against that same reference.
This can make the review more focused, but it does not make it complete. A familiar structure can still contain a logic error or an integration gap. Review, automated checks, demonstrations, and observation after release answer different questions.
There is also a learning limit to watch. If juniors only tidy generated output or repeat a pattern indefinitely, they do not get much practice making the decisions behind it.
As understanding grows, ask the junior to explain a trade-off, investigate an unfamiliar failure, or propose the boundary for the next piece. Responsibility can expand from additional cases inside a module, to owning a module, to designing a small feature with review. The pace depends on demonstrated judgment and the senior's capacity to support it.
That is how I would approach growing a team working with AI. Make the foundation and ownership explicit, give juniors real implementation work, and increase their decision-making responsibility as they learn.
Before assigning the next feature, ask what working reference and agreed boundaries the junior will receive. That question applies whether the repository was created yesterday or has been running for years.
