prompt-engineering
Prompt engineering patterns including structured prompts, chain-of-thought, few-shot learning, and system prompt design
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.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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.
- Structured System Prompt
- Chain-of-Thought
- Few-Shot Examples
- Tool Use / Function Calling
- Prompt Template Pattern
- Anti-Patterns
- Checklist
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.