Agent skill · Design & Presentation

prompt-engineering

Prompt engineering patterns including structured prompts, chain-of-thought, few-shot learning, and system prompt design

Rohit Ghumare73,165★ · +3,601/wk · 3 repos on radarProfile →
claude-codeApache-2.0
Install
npx skills add rohitg00/awesome-claude-code-toolkit --skill prompt-engineering --agent claude-code

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

Facts
Files in the skill folder: 1
SKILL.md size: 4 KB
Bundled scripts: none
Path: skills/prompt-engineering/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 2,438
Language: JavaScript
Read our review of the source →

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

From the SKILL.md

# Prompt Engineering ## Structured System Prompt ``` You are a senior code reviewer. Your role is to analyze pull requests for: 1. Correctness - logic errors, edge cases, off-by-one errors 2. Security - injection, authentication, data exposure 3. Performance - N+1 queries, unnecessary allocations, missing indexes 4. Maintainability - naming, complexity, test coverage For each issue found, respond with: - Severity: critical | warning | suggestion - File and line reference - What is wrong - How to fix it (with code snippet) If the code is well-written, say so briefly. Do not invent problems. ``` Structure system prompts with role, scope, output format, and constraints. Be explicit about what the model should NOT do. ## Chain-of-Thought ``` Analyze this database query for performance issues. Think step by step: 1. Identify the tables and joins involved 2. Check if appropriate indexes exist for the WHERE and JOIN conditions 3. Look for full table scans or cartesian products 4. Estimate the row count at each step 5. Suggest specific index creation or query restructuring Query: SELECT o.*, u.name, p.title FROM orders o JOIN users u ON o.user_id = u.id JOIN products p ON o.product_id = p.

What's inside
Steps it walks through
  1. Structured System Prompt
  2. Chain-of-Thought
  3. Few-Shot Examples
  4. Tool Use / Function Calling
  5. Prompt Template Pattern
  6. Anti-Patterns
  7. Checklist
More from awesome-claude-code-toolkit
All skills →
About this skill
What does the prompt-engineering skill do?

Prompt engineering patterns including structured prompts, chain-of-thought, few-shot learning, and system prompt design

How do I install it?

Run `npx skills add rohitg00/awesome-claude-code-toolkit --skill prompt-engineering --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 rohitg00/awesome-claude-code-toolkit, a repository with 2,438 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