Skip to content
Technology, explained from the insideAI · Software · Digital payments
TayoTechTalk.

AI Software Development

AI-Assisted Coding: Planning, Implementation and Human Review

By Temitayo Solomon Gbadebo · November 2, 2026

An AI coding assistant can produce a convincing implementation before you have finished thinking through the requirement. That speed is useful. It also makes it easy to move from an unclear request to a large amount of unclear code.

A more dependable workflow gives planning, implementation, testing and review separate jobs. The goal is to make progress visible and keep the developer in control of what reaches production.

Consider a small example: adding a CSV export to an application. It sounds straightforward until you ask who can export, which records they can see, what happens with a large dataset and whether the output contains sensitive information. These questions belong near the beginning.

1. Define the outcome before requesting code

“Build an export feature” leaves too many decisions open. A useful task description says what the user should be able to do, which limits apply and what must remain unchanged.

For our example, write acceptance criteria such as:

  • An authenticated manager can export records belonging to their own organisation.
  • The export respects the selected date range.
  • Ordinary staff cannot access the export endpoint.
  • The output excludes internal notes and other unapproved fields.
  • Existing screens and API responses continue to work.

These are example requirements, not a universal export specification. Your application may need a different permission model, field list or file format. The point is to settle the important behavior before an assistant fills the gaps with assumptions.

Also describe non-goals. If you do not want a new reporting dashboard, a new package or a database redesign, say so.

2. Let the assistant inspect before it changes things

Ask it to identify the relevant routes, authorization checks, models, existing export helpers and tests. Request a short explanation of how the current system works, with references to actual files.

Then check that explanation. A plan based on an imaginary helper or an outdated route will lead to wasted implementation work.

Anthropic’s agentic coding guidance describes a workflow that separates exploration and planning from implementation. The general lesson applies across tools: give the assistant a chance to understand the existing system before asking it to change that system.

A useful instruction is: “Read the relevant code and propose a minimal plan. Do not edit files yet. Identify assumptions, affected files and tests.” That gives you something concrete to approve or correct.

3. Review the plan as an engineering decision

A plan should explain more than the order in which files will be edited. It should expose decisions you might disagree with.

For the CSV export, ask where authorization will happen, how records will be selected and how memory usage will be managed. Ask what happens if the user requests a date range with no results. Decide whether a large export should be streamed immediately or processed as a background job.

There is no automatic winner between those approaches. A small administrative export and a multi-million-row download have different needs. Keep the decision tied to the actual product rather than to the most elaborate design the assistant can propose.

Record the accepted choices briefly. If you rejected a package or deliberately postponed a feature, retain that decision so the next implementation pass does not quietly reintroduce it.

4. Implement a small, reviewable slice

Once the plan is acceptable, ask for the smallest useful change. For example, implement the permitted fields and organisation-scoped query first, with tests. Add a background-job path later only if the requirement calls for it.

Read the diff as work progresses. A modest feature should not unexpectedly rewrite authentication or reformat half the repository. When the change grows beyond its purpose, stop and ask why.

Keep unrelated cleanup separate. This makes it easier to identify the cause of a regression, review the intended behavior and revert a change if necessary. It also gives the assistant a smaller problem to reason about.

For longer work, maintain a concise handover note: what changed, what passed, what failed and what remains. Anthropic’s research on long-running agents discusses progress records and incremental work as ways to manage continuity across sessions.

5. Ask for evidence, then inspect it

“The feature is complete” is a status claim. Useful evidence includes the commands run, the results and the cases those tests cover.

For our example, consider checking:

  • A manager exports only their own organisation’s records.
  • A staff member receives the intended access denial.
  • Records outside the requested dates are excluded.
  • Forbidden fields never appear in the output.
  • An empty result is handled clearly.
  • A representative large dataset stays within acceptable resource limits.

Distinguish tests that actually ran from tests that were only written. If the database or test environment was unavailable, keep that limitation visible. A failed command is not a passing test, and a successful build does not prove the business rule is correct.

Review generated tests too. An assistant can accidentally test its own mistaken interpretation of the requirement. A test that confirms all staff can export data is unhelpful if the requirement says only managers may do so.

6. Use AI review as another opinion

A separate review pass can look for authorization gaps, unexpected changes, missing error handling and weak tests. Give the reviewer the original requirements and the actual diff, rather than only the implementation summary.

Ask it to distinguish demonstrated problems from possibilities, and to explain the conditions needed for each issue. This makes the feedback easier to assess than a long list of speculative warnings.

GitHub’s Copilot guidance emphasizes using generated code alongside testing, code review, security tools and your own judgment. An AI review can help you inspect the work; it should not become the only evidence that the work is safe.

A second model can share the first model’s blind spots. Agreement is useful feedback, but the original requirements and observable behavior remain the stronger reference points.

7. Keep human approval and release separate

Before merging, a responsible engineer should be able to explain what changed and why. Before deploying, check the release-specific concerns: configuration, migrations, rollback, monitoring and any user-visible behavior.

Limit tool access to what the task needs. Use test data where possible, keep secrets out of prompts and avoid granting production access merely to save a few minutes. Follow your team’s data-handling rules and the settings of the AI service you use.

A practical completion note can fit in five lines: the requirement met, the files changed, the tests run, remaining limitations and the approval still needed. If one of those lines is missing, ask before treating the task as finished.

The result is a workflow you can inspect: a clear task, an agreed plan, a focused change, visible test evidence and a deliberate human decision. AI can contribute at every stage without removing your responsibility for the software you ship.