[KongchangAI]
· 3 min read· 1,674 words

Bilibili Tutorial Breakdown: Prompt Engineering from Beginner to Practitioner — Command Your AI Digital Employees

Bilibili Tutorial Breakdown: Prompt Engineering from Beginner to Practitioner — Command Your AI Digital Employees

A prompt is any instruction you give AI; be clear and specific, then iterate to get the most out of it.

Based on the first two chapters of a free tutorial, this article distills the basics of prompt engineering. It defines a prompt as any instruction or information input to a large model — text, images, or code — and clarifies it needn't be complex. Using the "digital employee" metaphor, it shows AI is highly capable and knowledgeable but guesses at intent, so prompts should be clear, specific, and structured. Chapter 2 notes AI "has broad knowledge but occasionally makes things up," and the right path is to start using it, then iterate. The article also analyzes the tutorial's practical value and summarizes five key takeaways.

Why Prompt Engineering Is an AI Skill You Must Master

In 2026, with AI tools everywhere, many people still find "prompt engineering" mysterious and even pay hefty sums for courses. Yet on Bilibili there's a free tutorial series that claims to explain prompt engineering thoroughly, from beginner to practitioner. What does it actually cover? This article distills the core ideas from the first two chapters of that tutorial, with added in-depth analysis.

The tutorial breaks prompt engineering into six chapters: concept definition, correct understanding, core techniques, classic models, introduction to mainstream platforms, and finally practical application in the testing domain (writing functional test points, test cases, API test cases, and data-generation scripts). This article focuses on the first two chapters — what a prompt is and how to correctly understand AI prompts — because these are the foundation for all the techniques that follow.

Tutorial screenshot: AI has broad knowledge

Chapter 1: What Is a Prompt? — Any Instruction You Give the AI

The tutorial offers a minimalist definition: a prompt is simply an instruction or piece of information you input to a large model. Whether it's a piece of text, an image, or a snippet of pasted code, anything you send to the AI counts as a prompt. For example, "Please help me write a resume for a software test engineer" — that sentence itself is a prompt.

Prompt, AI prompt, and Prompt are all different names for the same concept.

This definition seems simple, but it clears up a common beginner misconception: a prompt doesn't have to be an elaborately designed complex sentence; even a casual remark is a prompt — it just works better or worse.

AI Is a "Digital Employee" with Superb Abilities but Needing Explicit Instructions

The tutorial uses a vivid analogy: think of AI as a highly capable digital employee who needs explicit instructions. As the "boss," the many AI large models on the market are your employees, each with distinctive strengths. This employee never tires, has broader knowledge than most people in the world, and responds quickly — but its weakness is also obvious: it can't always fully guess your intent.

Tutorial screenshot: AI guesses fields on its own

For example: if you only say "help me write a bubble sort algorithm," the AI will output code, but it doesn't know whether you use Python, Java, or C++, nor whether it needs to handle edge cases like empty arrays or single-element arrays. Another example: "help me create a SQL table for users" — the AI will guess fields on its own: ID, username, email, password, full name, created time, updated time, whether the account is active, etc. But if you also need to store a user nickname, phone number, or creator information, the AI won't add them proactively because it can only guess.

Large Language Model (LLM) is the technical foundation of this "digital employee." It acquires language patterns and world knowledge through self-supervised learning on massive text (usually predicting the next token), then is aligned into a conversational assistant via instruction tuning and reinforcement learning from human feedback (RLHF). This explains why it has "broad knowledge" yet "guesses": model output is essentially sampling from a probability distribution, not querying a database; every constraint in the prompt (language, fields, boundary conditions) narrows this probability space, steering the generated result toward your true intent. Understanding this makes it clear why structured prompts with examples are usually more stable.

Clear, Specific, Structured — the Direction for Writing Good Prompts

Since AI relies on guessing, we must state requirements clearly. The tutorial emphasizes: write prompts that are clear, specific, and structured, telling the AI what to do, how to do it, and to what extent. For example, instead of just saying "create a user table," specify exactly which fields must be included. That way the AI can produce the expected result.

Tutorial screenshot: discussion of fields beyond user full name

Chapter 2: Correctly Understanding AI Prompts — Broad Knowledge, but Occasionally Making Things Up

The tutorial offers a pithy summary of the essence of AI prompts: AI is a knowledge broadcaster, but occasionally makes up stories. It can respond to almost any input, but output quality depends heavily on whether the prompt is clear, specific, and constrained.

Beginner Misconception: Prompts Must Be Complex for AI to Do a Good Job

The tutorial points out that many beginners are intimidated by the term "prompt engineering," assuming they must write long, complex instructions to use AI well. As a result, they hesitate to start, or even give up on AI and do the work manually — precisely missing the key opportunity to boost efficiency.

The right path is: start using it first, then optimize. Even a simple sentence like "help me write test points for an app login page" is a valid starting point. As you practice, you'll notice the AI missed some cases (e.g., didn't consider phone number, nickname, or creator), and then you learn how to add constraints and specify fields so the AI regenerates output. The more you use it, the better you know how to command the AI.

Prompt engineering is a practical skill, not a theoretical discipline. You don't need to finish learning all the theory before getting hands-on — you build experience gradually through conversations with AI.

Iterative Prompting: Start Simple, Refine Gradually

The tutorial demonstrates a typical workflow: first ask the AI to write SQL for creating a user table, then after seeing the output, add requirements — "it needs a user nickname, creator information, and user phone number" — and ask the AI to revise. The AI will then add these constraints. You could also specify the required fields from the start, with the same effect. Both approaches work; the key is to get hands-on.

Tutorial screenshot: understanding practical skills

Hallucination refers to the model generating content that seems plausible but is factually incorrect or fabricated — the academic term for "occasionally making up stories." Its causes include insufficient training-data coverage, the model's tendency to complete fluent text rather than admit ignorance, and the pursuit of coherence during decoding. The implication for prompt engineering: for factual, field-level requirements, explicitly state constraints (e.g., "only use the following fields," "if uncertain, state that you cannot determine"), or ask the model to restate its basis; in testing and data-generation scenarios especially, manually verify generated results and never treat model output as a source of truth.

Iterative prompting in engineering practice is often related to two concepts: "prompt chaining" and the "context window." The context window is the maximum number of tokens the model can read in a single pass; in multi-turn conversations, historical messages occupy the window, and when it gets too long, earlier instructions may be diluted or truncated — so key constraints should be restated in the latest turn. Prompt chaining splits a complex task into multiple steps, with each step's output as the next step's input, which is more controllable than one long instruction. The tutorial's "first output SQL, then add fields" is a rudimentary form of chained iteration: each round focuses on one type of constraint, making it easier to locate problems and to reuse and version-manage prompts.

In-Depth Analysis: Where Does This Tutorial's Practical Value Lie?

Compared with many paid courses on the market, this free tutorial's advantage is that it strikes at the essence without beating around the bush. It doesn't start by listing various "universal templates"; instead, it first helps you build the right mental model: AI is an employee, you are the boss; a prompt is a work instruction; the clearer the instruction, the better the employee performs.

At the same time, the tutorial's "start using it first" philosophy greatly lowers the learning barrier. Many AI tutorials intimidate people precisely because they package prompt engineering as a complex system requiring heavy memorization. In reality, iterative conversation is the shortest path for ordinary people to use AI well.

Of course, the tutorial's later chapters (core techniques, classic models, platform introductions, testing practice) are the real highlight. But the first two chapters have already paved the way — only by understanding what a prompt is and where AI's limitations lie will you truly value structured expression and constraints.

Key Takeaways

  • A prompt is any information you input to AI — text, images, or code; it needn't be complex, but it should be clear.
  • AI is a highly capable digital employee that needs explicit instructions — tireless and knowledgeable, but it will guess your intent and even fabricate details.
  • Write prompts that are clear, specific, and structured — define goals, steps, and constraints to prevent the AI from improvising.
  • Start using it first, then iterate and optimize — prompt engineering is a practical skill; the more you use it, the better you command AI.
  • The beginner misconception is chasing complex prompts — in fact, a simple sentence can start an effective conversation; the key is continuous interaction and adjustment.

One-line Summary

A prompt is any instruction you give AI — be clear and specific, and iterate to get the most out of it.

Paragraph Summary

Based on the first two chapters of a free tutorial, this article distills the foundational understanding of prompt engineering. It first defines a prompt as any instruction or information input to a large model — text, images, or code — and clarifies that it needn't be complex. The tutorial uses the "digital employee" metaphor to show that AI is highly capable and knowledgeable yet guesses at intent, so prompts should be clear, specific, and structured, defining what to do, how, and to what extent. Chapter 2 notes that AI "has broad knowledge but occasionally makes things up," and that beginners mistakenly believe prompts must be complex; the right path is to start using it first, then iterate. The article also analyzes the tutorial's practical value in striking at the essence and lowering the barrier, and summarizes five key takeaways.

#prompt engineering#AI prompts#Bilibili tutorial#large language models#iterative prompting
Share:

Related articles