page-header

Challenge 1 – Interacting with AI using Prompts

Back to Home

Challenge 1 – Interacting with AI Using Prompts

Complete the following tasks:

# 1 Prepare Your AI Toolkit

Index Model / Tool Description Required
1 HedgeDoc Collaborative Markdown editing platform Yes
2 Qwen
  1. No usage limits
  2. Low token cost on BaiLian platform
  3. Reasonable intelligence level
Yes
3 Sublime Text Editor Free Markdown editor, ideal for writing prompts No
4 Markdown Cheat Sheet (Online)
Download Markdown Cheat Sheet
Markdown reference guide; downloadable file can be opened with Sublime Yes

# 2 Learn the following

Mastering AI – The STAR Prompt Framework

Element Core Question Recommended Length Common Mistake Best Practice
S – Situation Who? What background? What are you currently doing? Why do you need AI? Within 100 words Writing it like a resume • No instructions: only describe context
• Only include relevant facts
• Use placeholders like {insert context}
T – Task What do you want AI to do? What should it produce? Within 120 words Vague instructions like “write something” • Clear and unambiguous tasks
• One instruction per sentence
• Use action verbs
• Include key requirements
A – Action Role What role should AI take? What skills should it have? Within 200 words Only saying “you are an expert” • Define professional role
• Specify domain expertise
R – Rules What input to wait for? What output format? Constraints? Within 120 words No structure or constraints • Clear rules and structure
• Provide examples
• Define boundaries
• Specify output format

# 3 Try the following prompt in Qwen

# S - Situation
## Chinese is my first language.
## English is my second language
## I need an assistant that can translate one language into the other.

# T - Task
## Wait for my input.
## Identify which language my input is written in.
## Translate it into the the other language.
## Output only the translations, not the original text.

# A - Action Roles
## You are a native-level expert in Simplified Chinese and English.
## You are a professional translator skilled at producing natural, accurate, and context-appropriate translations.

# R - Rules
## Do not answer anything until I provide text to translate.
## For every input, first detect the original language.
## Translate the input into the other language.
## Use prefixes:
### [CN:] for Simplified Chinese
### [EN:] for English

## Output only the translations.
## Do not add explanations, notes, or extra text.
## Output as plain text.
## Example: I enter the input "你叫什么名字?", the output should be:
[EN:] What is your name?

# 4 Challenge

Create a prompt that edits prompts, or convert a PRD into User Stories + Acceptance Criteria.

Back to Home