Skill 1.3.1
Apply basic prompt engineering principles to achieve desired AI outputs
Key Concepts
An effective prompt states a role or perspective, gives relevant context, describes the task precisely, sets constraints (length, tone, audience, what to avoid) and specifies the output format, such as a table or bullet list. Clear delimiters separate instructions from the text being processed.
Zero-shot prompts give instructions only; few-shot prompts add examples of the desired output, which improves consistency; chain-of-thought prompts ask the model to reason step by step for multi-step problems. Prompting is iterative: test, review the outputs and refine. Asking the model to say when it does not know reduces confident errors.