Ten Practical Ways to Work with a New LLM: An Engineering Guide
After a new large language model launches, scattered experiments tend to converge on one pattern: stronger models work better with clear goals, explicit acceptance criteria, and machine-checkable outputs than with tightly scripted steps. This guide turns that pattern into ten reusable practices, with prompt structures, verification methods, and risk controls for developers.
After a new generation of large language models is released, developer communities usually produce a burst of “ways to use it.” These experiments look scattered, but they share a pattern: the stronger the model, the less it should be bound by overly detailed procedures. Clear goals, explicit acceptance criteria, and automatically verifiable outputs tend to unlock more of the model’s capability.
This article turns that pattern into a reusable engineering practice: ten efficient ways to work, plus prompt structures, acceptance methods, and risk controls that developers can apply.
Core principle: strict about the outcome, loose about the path
Poor results often come from prompts that over-constrain the process, not from a weak model. Asking the model to “analyze first, list steps, execute each item, then summarize” looks rigorous, but it shrinks the room for the model to plan. A better approach is to specify the final deliverable, boundary conditions, and acceptance criteria, and let the model choose the path.
A reusable prompt frame:
Goal: what to completeInput: existing materials or constraintsOutput: a verifiable formatAcceptance: conditions that must be metForbidden: boundaries that must not be crossed
The point of this structure is to leave “how” to the model and “what done looks like” to the developer.
Ten practical patterns
1. Tasks defined by acceptance criteria
Do not only say “write a plan.” Define a result that can be checked. For example:
Generate a data structure definition for a to-do item.Requirements:1. Use JSON.2. Include the fields id, title, done, and priority.3. priority may only be low, medium, or high.4. Output JSON only, with no explanation.
This is a fast way to test structured output and to plug the result into automated checks.
2. Structured output that drives automation
Output that only a person can read has limited value. Output a program can parse is much more useful. Common forms include JSON, tables, key-value pairs, state-machine descriptions, and interface definitions.
import jsonraw = model_outputdata = json.loads(raw)assert isinstance(data, list)assert all("id" in item and "title" in item for item in data)
In engineering practice, validate each output type against a schema instead of relying on visual inspection.
3. Staged handling of long, complex tasks
Complex drawing, algorithm design, or system design may need a long reasoning window. Do not interrupt constantly. Set a reasonable timeout, stage artifacts, and a failure fallback.
Split a complex task into stages such as:
Stage 1: produce a requirements summaryStage 2: output a design draftStage 3: generate runnable codeStage 4: run tests automaticallyStage 5: revise from failure logs
This keeps room for the model to plan while avoiding one uncontrolled dump of output.
4. One-shot runnable prototypes
A high-value use of a new model is a quick runnable prototype. Ask for a single file, few dependencies, and an example that can run immediately so you can check interaction, layout, and core logic.
Example prompt:
Generate a single-file web prototype for a simple task board.Requirements:1. Do not depend on external resources.2. Support adding, completing, and deleting tasks.3. Keep the page simple.4. Output the complete code.
Acceptance is not whether the code looks elegant. It is whether it runs and meets the feature list.
5. Graphical interface automation
When a model can operate a graphical interface, it can handle compound tasks across applications and windows. The key is not memorizing every click. It is understanding the goal and executing inside a sandbox.
Use controls like these:
Goal: complete a class of interface actionsEnvironment: isolated sandboxPermissions: least privilege that still worksLogs: record every actionRollback: recoverable after failure
This fits test automation, form handling, and data movement, but it must be paired with permission control and audit.
6. Turning multimodal material into structured data
Screenshots, tables, scans, and UI images can be inputs that the model converts into structured data. For example:
Extract fields from the input image and output JSON.Fields: name, date, amount, status.If a field is missing, output null.Do not guess information that is not present.
The “do not guess” constraint matters most. It reduces data pollution from hallucination.
7. A closed loop of code generation and tests
Do not judge a coding task only by the generated result. Close the loop: generate, run, fail, fix. A practical template:
Implement a function and generate unit tests with it.Requirements:1. Cover normal input.2. Cover empty values.3. Cover invalid input.4. Output both the code and the test cases.
If a run fails, send the error log back and ask the model to fix only the problem, not rewrite all of the logic. That improves iteration speed.
8. Documents, logs, and reports
Models are well suited to turning unstructured text into structured reports: logs, meeting notes, and tickets into summaries, risk lists, and to-dos.
Extract abnormal events from the following logs.Output fields:- time- module- error type- impact scope- suggested action
To limit false positives, require the model to mark confidence or to say when it cannot determine something.
9. Agent workflow orchestration
When a task needs several steps, the model can act as a dispatcher connected to general cloud capabilities such as object storage, message queues, container platforms, logging, and monitoring alerts.
A typical flow:
Receive the task→ parse the input→ read materials from storage→ generate the result→ write to a message queue→ trigger the downstream task→ record logs and metrics
Do not give the model broad permissions. Execute actions through controlled interfaces.
10. Evaluation, safety, and permission governance
Stronger models need an evaluation system. Build three kinds of sets:
Functional evaluation: whether the goal is metBoundary evaluation: whether abnormal input stays stableSafety evaluation: leakage, privilege abuse, and mistaken actions
Also follow least privilege, mask sensitive data, and require human confirmation for high-risk actions.
Common mistakes
Over-constraining the steps. Treating the model like a traditional script runner keeps its capability from showing up.
Judging a single output. Model output varies. Sample more than once and check automatically.
Ignoring verifiability. If a result cannot be judged automatically, it is hard to use at scale.
Ignoring permission boundaries. The stronger the automation, the more you need sandboxes, audit, and rollback.
Summary
Efficient use of a new generation of large language models is not a pile of elaborate prompts. It is an engineering loop: a clear goal, verifiable output, a controllable process, and manageable risk. Be strict about the outcome and loose about the path, and the model can deliver more reliably in real development work.
