SKILL

prompt-engineering

Design effective prompts for LLMs: role framing, structured output, chain-of-thought, few-shot, and evaluation. Use to get reliable model behavior.

Target: Design & content creation. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original English text

Topics in the source

  • Prompt Engineering
  • Quick Start
  • When to Use
  • Best Practices
  • Framing
  • Structured Output
  • Reasoning
  • Dependencies

Designing prompts that reliably steer LLM behavior. Getting consistent structured output from LLMs Reducing hallucinations in critical workflows Making prompts robust across models and versions Building prompts for agents and tools Give the model a clear role and task State constraints explicitly (format, length, tone) Provide context before asking the question Ask for one thing per prompt when possible Ask for JSON/YAML with a schema Use few-shot examples of the desired format Request self-checking: "validate your JSON before responding" Prefer responseformat/tools when the API supports them Use chain-of-thought for multi-step problems Ask for step-by-step reasoning before the final answer Keep reasoning separate from the final deliverable Avoid leaking internal reasoning into user-facing output 1. Define the task, expected output, and failure modes. 2. Write a role + constraints prompt; include an output schema. 3. Add 2-3 few-shot examples of the exact format. 4. For reasoning tasks, request step-by-step with separated final answer. 5. Test against a held-out set; measure accuracy and format compliance. 6. Iterate: add failing cases, tighten constraints, trim noise. 7. Version p

This is an excerpt. Refer to the complete source and its current requirements.

Source repository
ssrjkk/agent-skills
Source file
.claude/skills/ai/prompt-engineering/SKILL.md
Fixed revision
868975614072b553f929cb32c52c5e7dc4ba8734
Read the complete original documentation ↗

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: ssrjkk/agent-skills · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-11T03:01:42.181Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.