Large Language Model Practice: From Prompt Design to Workflow Implementation
This guide explains how to use large language models (LLMs) beyond one-off questions. It covers how LLMs work and where they fall short, the five core elements of a effective prompt, common uses in office work and programming, a step-by-step method for long documents, reusable prompt templates, result verification, and a staged path for building LLM-based workflows.
1. Course Positioning: From Asking Questions to Practical Application
Large language models have evolved from simple question-answering tools into intelligent assistants that can help with information organization, content creation, solution analysis, and workflow collaboration. In practice, many users run into three common problems:
- They do not know how to describe their needs, so the model gives vague, generic answers.
- When working with long materials, they cannot get the model to accurately extract the key points.
- They receive output but have no process for verification or revision, which makes it hard to use the results directly at work.
For this reason, learning to use LLMs should go beyond entering a single sentence and waiting for a reply. The more important goal is to master a complete method: define the task clearly, provide necessary background, specify the output format, check the quality of results, and keep refining prompts based on feedback.
This article focuses on everyday office and business work and presents a framework that applies to most general-purpose LLMs. Writers, operations staff, managers, and technical professionals who analyze data or assist with programming can all use it to build their own application workflows.
2. How Large Language Models Work
At their core, large language models are systems that predict and organize language based on context. They can identify the topic, conditions, tone, and format requirements in a question, and generate relatively coherent text accordingly.
However, a model is not a search engine, and it does not guarantee that its conclusions are accurate. It may:
- State uncertain information with too much confidence;
- Overlook implicit conditions in a question;
- Misinterpret specialized terms;
- Invent content when source material is insufficient;
- Produce output in a format that does not fit the actual use case.
As a result, models are best suited to tasks such as understanding, organizing, rewriting, summarizing, drafting, and supporting analysis. For high-risk content in areas like law, finance, healthcare, security, and production decisions, a qualified professional must review the output.
3. Five Core Elements of Prompt Design
A high-quality prompt does not need to be long, but it should be complete. A practical prompt usually includes the following five parts.
1. Define the Role
The role sets the perspective the model should take. For example:
You are an internal technical documentation editor who specializes in turning complex technical content into clear, well-structured instructions.
A role is not meant to create an elaborate setup. It helps the model choose the right language style, level of technical detail, and analytical focus.
2. State the Task Goal
The task goal should be specific. Avoid vague instructions such as “help me improve this” or “make it more professional.” A clearer version would be:
Organize the following meeting notes into formal minutes. Extract the discussion conclusions, action items, responsible roles, and completion dates.
The clearer the goal, the easier the output is to use directly.
3. Provide Background Materials
A model can only work from the context it is given. If background information is missing, it is more likely to produce content that does not match reality. Background information can include:
- The target audience;
- The usage scenario;
- The source materials;
- Known constraints;
- Content that must not appear;
- The desired tone and length.
For example, a product introduction written for general users and one written for technical staff should differ in the amount of jargon, the depth of explanation, and the way ideas are expressed.
4. Specify the Output Format
Format requirements can significantly reduce the effort needed for later editing. Common formats include:
- Hierarchical headings;
- Information listed in tables;
- A “problem, cause, recommendation” structure;
- A fixed word limit for each item;
- Conclusions first, followed by supporting evidence;
- A final section for risks and items to be confirmed.
5. Set Quality Criteria
You can ask the model to check its own work, for example:
Before outputting, check for repeated content, logical contradictions, and conclusions not supported by the source material. Mark uncertain information separately.
This approach reduces obvious errors, but it cannot fully replace human review.
4. Typical Applications in Daily Work
1. Document Summaries and Meeting Minutes
When working with long texts, avoid asking the model to produce a final version right away. A more reliable process has three steps.
Step 1: Extract facts. Ask the model to identify dates, people, events, data, and explicit conclusions.
Step 2: Organize the structure. Group the content into background, key discussion points, agreed decisions, open questions, and follow-up actions.
Step 3: Generate the formal document. Produce the title, body text, action item list, and risk notes according to your organization’s format.
Example prompt:
Read the following meeting notes. Step 1: Extract only the facts that are explicitly stated, without adding speculation. Step 2: Organize them under “Meeting Objective, Core Discussion, Final Conclusions, Action Items, and Open Questions.” Step 3: Write the formal meeting minutes. Label any information not explicitly stated in the original as “To be confirmed.”
This staged approach makes omissions easier to spot and simplifies manual review than a single-pass generation.
2. Content Rewriting and Style Consistency
Rewriting should not aim only for more polished wording. It must also preserve the original meaning, facts, and logical relationships. You can set requirements in the following areas:
- The target reader;
- Formal, concise, or conversational tone;
- Whether to keep specialized terms;
- Whether to add examples;
- Length limits;
- Whether exaggerated marketing language is prohibited.
For example:
Without changing the original facts, rewrite the following description as a help document for general users. Reduce abstract terms, use short sentences, and present steps in order. Do not add any features, data, or commitments that do not appear in the original.
Different formats, such as marketing copy, announcements, and training materials, need their own tone and structure. Do not apply the same expression pattern to all of them.
3. Tables and Information Extraction
When source material contains many items, rules, or records, a model can help extract structured information. Define the fields clearly, for example:
| Field | Description |
|---|---|
| Item Name | Items explicitly mentioned in the original text |
| Current Status | Based only on the original text |
| Owner | If not mentioned, enter “Not specified” |
| Deadline | Leave blank if no clear date is given |
| Risks or Notes | Record constraints stated in the original text |
It is especially important to instruct the model to leave missing information blank or mark it as “Unknown” rather than guessing. This helps reduce the risk of hallucinated information.
4. Programming and Technical Problem Support
In programming, LLMs are useful for explaining code, identifying common errors, suggesting testing approaches, and writing basic examples. To get better answers, include the following in your question:
- The programming language you use;
- The runtime environment;
- The expected behavior;
- The actual error message;
- Solutions you have already tried;
- The smallest code snippet that directly relates to the problem.
A “analyze first, then modify” approach works well:
First, explain the possible causes of the problem and rank them by likelihood. Then provide the minimal fix. Finally, describe the edge cases and verification steps. Do not rewrite the entire code.
This approach helps you understand the underlying issue and keeps the model from breaking the original logic while fixing a local problem.
5. Methods for Long Documents
For lengthy materials, use a “split, extract, merge” process.
Step 1: Split Sensibly
Divide the content by chapter, topic, or business process rather than cutting it at a fixed character count. Each segment should remain semantically complete, and you should record its original order.
Step 2: Extract Separately
For each segment, extract the main points, key facts, data, points of disagreement, and items that need confirmation. Do not polish the text yet, since early polishing can hide missing information.
Step 3: Merge Consistently
Give the segment summaries to the model and ask it to remove duplicate content, preserve context, and point out conflicting statements.
Step 4: Review Manually
Check numbers, dates, specialized terms, cause-and-effect relationships, and conclusions to confirm they have not been altered. For important material, compare the output with the original text item by item.
6. Building Reusable Prompt Templates
To avoid writing prompts from scratch every time, build a personal template library. A template usually includes the following structure:
Role:Task:Background:Input Materials:Output Format:Constraints:Quality Check:
For example, a general analysis template could read:
You are a business analyst.Based on the provided materials, identify the main problems, causes, scope of impact, and improvement recommendations.Background:[Enter business background]Materials:[Paste the original content]Requirements:1. Use only information that the materials support;2. Separate facts, assumptions, and recommendations;3. Mark missing information as "Unknown";4. Present a summary of conclusions first, then the detailed analysis;5. List the questions that require human confirmation at the end.
The value of templates lies in producing consistent output quality, and they are easy to share and improve across a team.
7. Result Verification and Safe Use
After the model produces output, run at least four types of checks.
Fact Checking
Confirm that people, dates, numbers, locations, and events match the original materials.
Logic Checking
Determine whether any viewpoints contradict each other, whether the conclusions can actually be drawn from the materials, and whether the recommendations relate to the question.
Expression Checking
Look for repetition, ambiguity, overpromising, and terms that do not match the reader’s level of understanding.
Compliance Checking
When material contains personal information, internal documents, trade secrets, or other sensitive content, remove or mask identifying details first. Do not enter unnecessary identity information, account details, keys, internal addresses, or unpublished files.
For important decisions, treat the model as an auxiliary tool only. It cannot replace formal approval, human judgment, or official processes.
8. Moving from Single Questions to Workflows
The most effective approach is not to use the model for one isolated task, but to embed it in a complete workflow:
- Define the requirements and the final purpose;
- Collect and clean the source materials;
- Write a structured prompt;
- Have the model generate a draft or analysis;
- Check facts and logic;
- Add context based on the issues you find;
- Produce the final version;
- Save effective prompts and revision records.
In a team setting, common tasks can be turned into standard templates, such as meeting minute templates, requirements analysis templates, weekly report templates, incident review templates, and technical documentation templates. As these templates are used more often, they adapt to real business needs and gradually form a stable, AI-assisted way of working.
9. Suggested Learning Path
Beginners can practice in the following order.
Stage 1: Learn basic question-and-answer prompting, including how to describe goals, background, and format.
Stage 2: Practice text rewriting, summary extraction, and information classification, with a focus on output accuracy.
Stage 3: Try handling complex materials using step-by-step prompts and multiple rounds of verification.
Stage 4: Organize recurring work into templates to create repeatable workflows.
Stage 5: Combine these methods with internal knowledge bases, automation processes, and other general-purpose technical tools to further improve team efficiency.
The value of LLMs lies not only in generating text but in helping users redesign how they process information. By setting clear goals, controlling inputs, working in steps, and checking results carefully, you can turn a model from an occasional chat tool into a reliable work assistant.
