From Generation to Execution: 10 Hands-On LLM Practices with Acceptance Criteria

    Large language models can now go beyond generating text to deliver structured, verifiable outputs—vector graphics, 3D prototypes, code fixes, tests, and automated workflows. This article presents a unified task-contract framework (goal, input, constraints, acceptance, stop conditions) and walks through ten practical LLM use cases, each with concrete acceptance methods. It also covers four engineering controls—permissions, execution logs, resource budgets, and rollback—needed to turn one-off demos into reliable engineering workflows.

    1. From “Generating Answers” to “Delivering Results”

    Asking a large model to draw a pelican riding a bicycle, generate a 3D game prototype, or operate a GUI to complete a design task may look like unrelated challenges, but they share a common technical logic: convert a natural-language goal into a structured artifact, then verify the result through a runtime environment or human review.

    The value of these practices is not a single impressive demo, but whether the model can reliably complete three steps:

    1. Understand the request—breaking a vague description into objects, constraints, and acceptance conditions.
    2. Generate executable content, such as vector graphics code, scene descriptions, business programs, or UI operation plans.
    3. Revise the result based on real feedback, rather than claiming completion through text explanations alone.

    It’s important to note that text generation, code generation, and computer operation capabilities are not equivalent. Only when the system provides the appropriate tools, execution environment, and permissions can a model read files, run programs, or operate interfaces. A model listing the operation steps does not mean it has actually performed them.

    Therefore, a safer collaboration principle is: define clear deliverables and safety boundaries, and let the model choose its own implementation path within the authorized scope.

    2. Start with a Unified Task Contract

    Before diving into specific practices, establish a brief task contract for each task, covering at least:

    • Goal: What problem to solve and what to deliver.
    • Input: What materials, data, and existing code are available.
    • Constraints: Which technical conditions must be followed and which operations are explicitly prohibited.
    • Acceptance: How to judge whether the result is qualified.
    • Stop conditions: When to stop trying and when to request human confirmation.

    For example, a vector drawing task should not just say “make it look good”; it should specify the subject, action, visual layers, and file requirements. A UI operation task should not just say “finish the design for me”; it should clarify whether uploading assets, overwriting files, or submitting content is allowed.

    The contract is not meant to script every step—it defines the non-negotiable endpoints and boundaries. The following ten practices all follow this framework.

    3. Ten Practices: From Creative Demos to Engineering Delivery

    1. Vector Drawing: Turning Text into Editable Graphics

    “Draw a pelican riding a bicycle” is a typical compositional generation task. It requires not only generating a bird and a bicycle, but also a plausible spatial relationship between them.

    The details that actually determine quality are usually: whether the beak is recognizable, whether the body sits above the frame, whether the feet are near the pedals, whether the wings form a credible contact with the handlebars, and whether the wheels maintain consistent perspective and proportion.

    A better prompt would be:

    Generate a standalone vector graphic file featuring a pelican riding a bicycle. Use a clean illustration style with a fully visible subject and clearly layered wheels, frame, beak, and wings. Do not reference external resources. Check the graphic structure first, then deliver the complete code.

    Acceptance should happen on two levels. Structural acceptance checks whether the file parses and whether it depends on external resources; visual acceptance checks whether the subject matches the description and whether there are occlusion errors or proportion issues.

    This method works well for icons, instructional illustrations, and simple flowcharts, but refined visual expression may still require manual adjustment. A correctly formatted file does not guarantee an accurate picture.

    2. 3D Interactive Prototypes: Validate the Core Loop Before Adding Detail

    Asking a model to generate a complete 3D game directly often leads to “lots of code that doesn’t run.” These tasks involve scene organization, input handling, camera control, collision detection, asset management, and state transitions—and errors compound.

    A more feasible path is to start with a minimal playable prototype:

    • A scene that loads;
    • A movable character;
    • A clear interaction goal;
    • A success or failure state;
    • A repeatable test path.

    If the input includes concept art, break the visual requirements into spatial layout, color palette, lighting direction, and key objects—then distinguish which must be achieved through geometry and which can be expressed with simplified materials.

    The acceptance focus is not whether a screenshot resembles the reference image, but whether the core gameplay holds. Successful launch, normal movement, triggerable interactions, and resettable states are the foundation for expanding content.

    3. GUI Operation: Building an Observable Execution Loop

    When a system can read the screen and operate the interface, a model can attempt layout work, form entry, or file organization. But this capability depends on external tools and is vulnerable to window positions, loading delays, and pop-up changes.

    A reliable process follows an “observe–judge–execute–verify” loop: confirm the current page before clicking, and re-read the interface state after each action—avoid firing multiple unverified operations in a row.

    Also distinguish risk levels: browsing and previewing can usually be automated, while overwriting files, submitting forms, or changing permissions require stricter authorization. For irreversible operations, show the target object and expected impact before execution and request human confirmation.

    The most important metric for UI automation is not click speed, but whether state remains trackable and results recoverable throughout the task.

    4. Page Prototypes: Landing Visual Requirements and Interaction States Together

    Page generation tasks often focus only on the initial screen, ignoring loading, empty data, error, and insufficient-permission states. The result looks good in a demo but cannot support real business discussions.

    A more complete requirement should include information hierarchy, primary user paths, layout rules across screen sizes, and key state behaviors. For example, a data list page needs at least filtering, pagination, a no-results message, and a retry entry point after request failures.

    After the model generates a prototype, check whether buttons have defined behavior, forms have basic validation, text overflows anywhere, and keyboard navigation reaches the main controls.

    The goal is to reduce communication costs around requirements—not to replace business logic validation with a pretty screen.

    5. Code Repair: Constraining Changes with Reproducible Failures

    Code repair is well suited to LLM assistance, provided you supply clear evidence of failure: relevant code, runtime conditions, error messages, and reproduction steps.

    Follow the “minimal change” principle: locate the failing path first, then fix it—avoid rewriting large amounts of unrelated code. If the model proposes refactoring, separate the necessary fix from optional optimization.

    Acceptance should not only check whether the error disappears, but also whether existing behavior is preserved. For example, after fixing a null-input exception, continue testing normal inputs, boundary inputs, and invalid inputs.

    An ideal deliverable includes a change description, root cause analysis, and regression test results. If actual execution isn’t possible, explicitly mark the result as “not yet verified by running”—never present speculation as a success conclusion.

    6. Test Generation: Deriving Edge Cases from Business Rules

    When asking a model to generate tests, don’t just say “cover all features”—provide judgeable business rules: input ranges, state transition conditions, failure handling, and permission limits.

    The model can then organize happy paths, boundary paths, and exception paths. For cases like duplicate submissions, timeouts, or missing fields, it should state the expected system behavior rather than just listing test names.

    Note that test count does not equal test quality. Massive repeated assertions can create an illusion of coverage; the truly valuable tests are the ones that expose wrong assumptions.

    After test code is generated, manually spot-check that assertions come from requirements rather than the current implementation—otherwise the model may fossilize existing bugs as “correct behavior.”

    7. Data Cleaning: Define Rules Before Running Transformations

    In data processing, the most dangerous case is not a program that crashes, but one that runs successfully while silently changing the meaning of the data.

    Before cleaning, define field types, missing-value handling, duplicate-record criteria, and outlier rules. For sensitive fields like dates, amounts, and encodings, never guess formats or units.

    Keep the original data intact and write transformed results to a new file or table. At minimum, verify record counts before and after processing, key field distributions, and the list of flagged anomalies.

    When personal or commercially sensitive information is involved, anonymize it first and restrict what data the model and execution environment can access. Fields that don’t need processing should not be exposed just for “analysis convenience.”

    8. Technical Documentation: Mapping Claims to Real Implementations

    Models are good at organizing document structure but tend to present plausible inferences as established facts. When generating API references, deployment guides, or troubleshooting manuals, require every key conclusion to map to actual source material.

    For example, parameter meanings should come from interface definitions, startup conditions from configuration or run instructions, and troubleshooting steps from verifiable checks. When material is missing, mark it as “to be confirmed” rather than inventing complete-looking details.

    Validate the documentation from the reader’s perspective: can a new team member complete setup from it, are key steps missing anywhere, and can the reader find the next check after an error occurs?

    Good documentation is not about rich wording—it’s about reducing the reader’s guesswork and trial and error.

    9. Workflow Automation: Choose Stable, Rollback-Friendly Tasks First

    File classification, report aggregation, and recurring data processing are good candidates for starting small with automation. These tasks typically have well-defined input formats, repetitive rules, and easily checkable results.

    Design the workflow with input validation, failure logs, protection against duplicate execution, and result reconciliation. For batch modifications, provide a preview or dry run before executing for real.

    For workflows that depend on external services, plan for timeouts and retries. Do not simply retry infinitely—repeated requests may cause duplicate writes or other side effects.

    Whether automation is worthwhile should weigh manual time, maintenance cost, and error risk—not just whether the model can generate a script.

    10. Multi-Step Orchestration: Give Every Stage a Verifiable Output

    Complex tasks can be split into stages—requirements, design, implementation, verification, and delivery—but splitting alone does not guarantee reliability. The key is that every stage produces a checkable result and specifies what input the next stage uses.

    For example, the requirements stage produces an acceptance checklist; design produces module relationships and risk points; implementation produces code; verification produces real test results; delivery produces usage notes and unresolved issues.

    Keep state records between stages so the model doesn’t forget constraints in long workflows. When a critical dependency is missing or failures repeat, pause and request human intervention instead of expanding unverified solutions.

    4. Write Acceptance into the Prompt, Not at the End

    A practical prompt template:

    Goal: Complete the specified task and deliver a checkable result.
    Input: Use only the provided materials and authorized resources.
    Constraints: Do not modify unrelated files or perform unconfirmed external submissions.
    Acceptance: Explain the verification method, and distinguish actual test results from unverified judgments.
    Execution: Choose implementation steps autonomously; pause for confirmation when key information is missing or an operation is high-risk.
    Delivery: Provide the result, change notes, verification records, and remaining issues.

    The purpose of this template is to turn “do it for me” into a well-defined engineering task. It doesn’t require the user to script every click or line of code, but it holds the model accountable for evidence of results.

    5. Four Controls Required for Production Deployment

    1. Permission Control

    Follow the principle of least privilege—expose only the directories, data, and operations needed for the task. Isolate experimental environments from production, and require human approval for high-risk writes and external publishing.

    2. Execution Logs

    Retain key inputs, modifications, tool outputs, and acceptance conclusions. Logs should support troubleshooting, but should not indiscriminately store sensitive data or access credentials.

    3. Resource Budgets

    Set limits on runtime, attempt counts, and resource usage per task. Longer processing time doesn’t necessarily mean higher quality—evaluate effectiveness by success rate, human review time, and rework cost.

    4. Rollback and Handover

    Keep recoverable versions before automated execution. At delivery, list what was completed, what remains unverified, and known limitations, so whoever takes over can judge whether the output is fit for continued use.

    6. Conclusion: Bound the Exploration, Prove the Results

    LLM practices should not stop at one-off demos, nor should complex tasks be handed over entirely while we wait for miracles. A more reliable approach is to select tasks with checkable results and controllable risk, establish clear contracts, and gradually expand autonomous execution through real feedback.

    For developers, the core skill is shifting from “writing longer prompts” to “defining better tasks and acceptance criteria.” When goals are clear, environments are controlled, processes are traceable, and failures are recoverable, vector drawing, 3D prototyping, code repair, and workflow automation can evolve from novel tricks into sustainable engineering practices.