INSIGHTS

AI-Assisted Software Development: AI Sculpting

How AI Sculpting shapes AI-generated code through context and iteration instead of accepting the first output, and the role of the context manager.

Remzi Binar · 17 February 2026

In the first post, we described how AI in software development is moving beyond being a “code-writing tool” and becoming a decision partner that understands context and takes part in decision processes. We also defined the engineer's role in this shift as the context auditor: the person who questions not only whether the code AI suggests is technically valid, but also its place in the system, its fit with the goal and its maintainability.

In this post I go one step further and focus on how to manage that shift in practice, and on the role of the context manager. Because today the real problem is not what AI can produce, but how we shape what it produces. This shaping work needs a name: AI Sculpting.

1. Code Generation Got Cheap, Clarity Became Valuable

A few years ago, the sentence “AI writes code” was impressive; today it is an entry-level skill. When you tell a model “write a backend,” “make a game” or “create an API,” it technically produces something. But the result is usually average, detached from context [1] and fragile.

The reason is simple: large language models reflect the statistical average of the data space they were trained on. If your request is vague, you get an answer from the middle of the bell curve.

This is why demos that work in a single shot (single-shot prompting [2]) attract attention in YouTube videos and X posts: they are impressive but not sustainable. Real software engineering begins exactly at this point.

Example 1: Product API

Single-shot prompt:

Write a product API with ASP.NET Core.

The model produces CRUD operations, a DbContext and a Controller. The code runs, but there is no soft delete, no concurrency control, no domain validation and no tests.

The sculpted version of the same request:

Create a Product API using ASP.NET Core 8 Minimal API.
Follow these requirements:
- Set up a layered structure following Clean Architecture principles (Domain, Application, Infrastructure, API).
- Enforce entity invariants in the Domain layer.
- Add soft delete support (IsDeleted + DeletedAt fields).
- Add CreatedAt, UpdatedAt audit fields and manage them automatically.
- Use RowVersion (byte[]) for optimistic concurrency.
- Target PostgreSQL with EF Core.
- Suggest a suitable index for the Product.Name field and show the migration code.
- Add at least 1 xUnit unit test example (for example: the rule that Name cannot be empty).
- Do not add unnecessary abstraction, do not use the repository pattern.
- Make the code readable and production-ready.

In the first prompt, the model makes the design decisions. In the second, the model still writes the code, but you steer the design.

[1] Context: The frame that determines which domain rules a piece of code operates within, which architectural decisions it must be consistent with and which operational conditions it must meet.

[2] Single-shot prompting: The approach of trying to solve a problem with a single command. The first output the model produces is expected to be the final solution.

2. What Is AI Sculpting?

AI sculpting is the process of making the raw output produced by AI clearer, more contextual and more stable through iteration [3].

Prompt engineering usually focuses on improving the first answer; AI sculpting deals with the process.

Think of a sculptor. The first strokes produce a rough form. Then the details emerge, the excess is filed away, the proportions are corrected. Most importantly, the work is made so that it will not fall apart under small touches. What we do when generating code with AI is exactly the same.

Example 2: An Order service, step by step

Suppose you give the model this command:

Write an Order service.

Generation (raw output). The model produces a simple service: an Order entity, a CreateOrder method and a database write. It works, but it has gaps.

Evaluation. Can Total be negative? Where is the stock check? Does a retry create a duplicate order? Is the transaction boundary clear?

First correction. In response to these questions you give the model a new instruction, and the code changes:

Enforce invariant rules inside the Order aggregate. Total cannot be negative. Prevent the risk of duplicate orders.

Second evaluation. If 10x traffic arrives, where is the bottleneck? Will a race condition occur with concurrent requests?

Second correction. With this instruction the system becomes one round more stable:

Add optimistic concurrency and design idempotent order creation.

The pattern of this flow is: Generate → Question → Constrain → Refactor → Question again. The questions are the questioning step, the instructions are the constraining step. In each round, instead of accepting the first answer, you make the code sturdier than the one before.

[3] Iterative: The deliberate repetition of the generate–evaluate–correct cycle.

3. From Ambiguity to Clarity: The Real Engineering

Programming is, at its core, the work of clarifying what is ambiguous. AI speeds up this process but does not think for you: it does not know the domain as well as you do, it cannot understand your priorities on its own, and it cannot answer the question “why should this system be this way?” for you.

AI sculpting fills this gap with four deliberate habits:

  • Defining context: the existing system, constraints, goals.
  • Noticing the weight of words: some words carry excessive semantic load [4].
  • Keeping iteration discipline.
  • Testing the output and feeding the results back.

In other words, telling the AI not only what to do, but also what not to do.

Example 3: A high-traffic order system

Write an order system that can run under high traffic.

This sentence sounds technical but is full of ambiguity. How many RPS is “high traffic”? Synchronous or asynchronous? What happens on retry? Is data consistency eventual or strong? Is scaling vertical or horizontal? For every unanswered question, the model goes to the average: maybe a simple queue, maybe a basic cache.

The sculpted version:

Design an Order service and produce a sample implementation.
- The system must handle at least 5,000 requests per second.
- Order creation must be idempotent.
- Eventual consistency is acceptable.
- The payment service is 3rd party and retryable.
- Duplicate charges must be strictly prevented.
- Kafka will be used as the message broker.
- The system will run in a distributed environment.
Expectations:
1. Analyze the points where bottlenecks may occur under high traffic.
2. Explain how idempotency is achieved (for example: idempotency key, unique constraint, etc.).
3. Show the design for how a duplicate charge is prevented when a payment is retried.
4. Explain the event-driven architecture flow schematically.
5. Produce a sample Order aggregate draft.
6. Use the Outbox pattern if needed.
7. Offer a recommendation for concurrency control (optimistic vs pessimistic).
8. List possible failure scenarios.

Here “high traffic” has been unpacked: the target number, the consistency model, the external dependency and the unacceptable failure (duplicate charge) are written down. Instead of guessing, the model follows the requirements you set, and what comes out is a draft you can actually discuss the design on.

[4] Excessive semantic load: A single word covering a very broad and vague area of meaning. When terms like “e-commerce” or “secure” are not unpacked, the model produces an average, generalized solution; a statistical assumption takes the place of the real need.

4. The Single-Shot Illusion and the Average Product Problem

Examples such as “I made a game with AI in a single prompt” or “it wrote the app in one shot” are shared often. The problem is that such outputs usually reflect the average version in everyone's mind. Asking a model for a product in a single shot is like asking someone to close their eyes and draw something: they will draw it, but in the most generic form in their memory.

AI sculpting takes this average answer as a starting point; it questions its edges, exposes missing assumptions and makes the system hold together when change comes. That is why what matters here is not speed but making the right decisions, that is, engineering judgment [5].

Example 4: A Todo app

Write a Todo application.

The model produces user login, adding and deleting todos, and a completed flag. It works and is enough for a demo. But in the real world it is fragile: there is no multi-user concurrency, soft delete, audit log, authorization, offline scenario, conflict resolution, pagination or rate limiting.

Let us deliberately shape the same Todo:

Design a Todo application and produce a sample implementation.
Mandatory requirements:
1. Set up a multi-tenant architecture.
2. Provide per-user data isolation.
3. Add soft delete support (IsDeleted + DeletedAt).
4. Manage the CreatedAt, UpdatedAt audit fields automatically.
5. Use RowVersion (byte[]) for optimistic concurrency.
6. Design an idempotent create endpoint (duplicate todos must be prevented).
7. Apply role-based authorization (Admin, Member).
8. Use keyset pagination.
9. Design the system to support 100,000 active users.
10. Analyze possible race condition scenarios.
Expectations:
- A layered structure following Clean Architecture principles.
- Domain rules enforced inside the entity.
- Target EF Core + PostgreSQL.
- Add at least 1 unit test example.
- Evaluate the points where the system could break under a 10x traffic increase.
- Explain the design decisions as short bullet points.

What we have now is no longer a “todo app” but a real system draft. The difference lies in the question the two versions answer: the single-shot Todo answers “Does it work?”, while the sculpted Todo answers “What happens if it changes tomorrow?”

The average product problem shows up in this distinction:

  • Single-shot generation: There is a feature → we assume there is a system.
  • AI sculpting: Feature + context + stability → a system emerges.

[5] Engineering judgment: The ability to choose the most suitable among alternative solutions and to foresee the future effects of the decision.

5. AI Sculpting in the Software Lifecycle

AI sculpting does not replace the software development life cycle (SDLC [6]); on the contrary, it makes it more important. The work done with AI differs at each stage:

  • Planning: Clarifying the vagueness in requirements together with AI.
  • Design: Discussing alternatives for architectural decisions.
  • Development: Steering code generation and having it refactored.
  • Testing: Deliberately having AI test the blind spots.
  • Maintenance: Simulating the impact of changes in advance.

At none of these stages is AI an “employee”; it is a high-speed thinking partner. You are still at the wheel.

[6] SDLC (Software Development Life Cycle): A systematic life cycle covering the planning, design, development, testing, deployment and maintenance steps of software, from the idea stage to maintenance. The aim is to make software production controlled, measurable and sustainable.

6. The New Role: Not a Code Writer, a Context Manager

In the age of AI, the software engineer's role is not disappearing, it is changing shape. The context auditor from the first post was the role that questions the generated code. The context manager steps in one step earlier: they define the context from the start and narrow it with every iteration. The skills that stand out in this role are:

  • Asking the right question
  • Noticing a wrong assumption
  • Deliberately increasing clarity [7]
  • Keeping the system stable against change

In short, the engineer who wins is not the one who knows the syntax, but the one who can clarify their intent.

[7] Increasing clarity: The process of turning vague statements into measurable, bounded and testable requirements. The aim is to reduce the model's need to make assumptions and to make design decisions explicit.

7. Conclusion: Generating Without Sculpting Is Not Enough

AI sculpting is the craftsmanship layer of AI-assisted software development. Writing code became easy, but getting the right thing written is still hard. In fact, this difficulty has become more visible, and its solution more valuable. The software life cycle is still firmly in place too.

Our job is not to make Tetris, a Minecraft clone or a snake game in a single prompt and shoot a fun YouTube video; it is to build software. Unless the discipline of shaping becomes part of production, the results do not go beyond AI slop [8]. At best they become material for posts like “A million-dollar project with AI in 1 week, comment ‘project’ for details.”

Final word: software is still engineering work; we just have a much more powerful hammer now.

[8] AI slop: A term used to describe content produced quickly and cheaply by AI that is superficial, context-free and has not gone through quality control.

This post was first published on Medium.

Want this working in your business?

Start with a strategy call. Tell us what you need and we will suggest a next step.

Book a Strategy Call