Agent skill · Code Review & Quality

prompt-engineering

Crafting effective prompts for LLMs. Use when designing prompts, improving output quality, structuring complex instructions, or debugging poor model responses.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill prompt-engineering-itsmostafa-llm-engineering-skil --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 9 KB
Bundled scripts: none
Path: skills/ai-llm/prompt-engineering-itsmostafa-llm-engineering-skil/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Prompt Engineering Prompt engineering is the practice of designing inputs that guide LLMs to produce desired outputs. Effective prompts reduce errors, improve consistency, and unlock model capabilities. ## Table of Contents - [Core Principles](#core-principles) - [Be Clear and Direct](#be-clear-and-direct) - [Use Examples (Multishot)](#use-examples-multishot) - [Chain of Thought](#chain-of-thought) - [XML Tags](#xml-tags) - [Role Prompting](#role-prompting) - [Long Context](#long-context) - [Output Control](#output-control) - [Self-Verification](#self-verification) - [Best Practices](#best-practices) - [References](#references) ## Core Principles **Golden rule**: Show your prompt to a colleague with minimal context. If they're confused, the model will be too. 1. **Be explicit** - State exactly what you want; never assume the model knows your preferences 2. **Provide context** - Include what the output is for, who the audience is, and what success looks like 3. **Use structure** - Sequential steps, XML tags, and clear formatting reduce ambiguity 4. **Show examples** - Demonstrations outperform descriptions for complex formats ## Be Clear and Direct Treat the model as a capable but

What's inside
Steps it walks through
  1. Table of Contents
  2. Core Principles
  3. Be Clear and Direct
  4. Vague vs Specific
  5. Sequential Steps
  6. Use Examples (Multishot)
  7. Structure
  8. Tips
  9. Chain of Thought
  10. Basic
  11. Guided
  12. Structured (Recommended)
  13. XML Tags
  14. Common Tags
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the prompt-engineering skill do?

Crafting effective prompts for LLMs. Use when designing prompts, improving output quality, structuring complex instructions, or debugging poor model responses.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill prompt-engineering-itsmostafa-llm-engineering-skil --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going