prompt-engineering

prompt-engineering is a skill for Claude Code from giuseppe-trisciuoglio/developer-kit. It costs 82 tokens per session (2,075 once invoked), scanned A, original, MIT.

A guide for designing, debugging, and improving prompts for language models. It covers reusable templates, system instructions, examples, and ways to test prompt quality.

In plain words
What is it for?
Use it to write or revise prompts, create system instructions, choose examples, structure reasoning workflows, or optimize prompts for production use.
Why use it?
It helps turn vague or unreliable instructions into prompts that are clearer and easier to reuse and evaluate. It also explains techniques such as few-shot examples, where sample inputs and answers guide the model.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the developer-kit-ai plugin — 3 skills, 1 command, 1 agent shipped together

not rated 342repo +5 20d ago A scan Socket: passSnyk: passSkillSpector: pass 82 tokens original MIT

Good fit Use it to write or revise prompts, create system instructions, choose examples, structure reasoning workflows, or optimize prompts for production use.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/giuseppe-trisciuoglio/developer-kit/prompt-engineering
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add giuseppe-trisciuoglio/developer-kit --skill prompt-engineering
Clone the repo
git clone --depth 1 https://github.com/giuseppe-trisciuoglio/developer-kit

Made for: Claude Code.

Or install developer-kit-ai, the plugin that ships this one along with the rest of its 3 skills, 1 command, 1 agent.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for prompt-engineering

README.md
[![agentmods](https://agentmods.dev/badge/skills/giuseppe-trisciuoglio/developer-kit/prompt-engineering.svg)](https://agentmods.dev/skills/giuseppe-trisciuoglio/developer-kit/prompt-engineering)
Your own site
<a href="https://agentmods.dev/skills/giuseppe-trisciuoglio/developer-kit/prompt-engineering"><img src="https://agentmods.dev/badge/skills/giuseppe-trisciuoglio/developer-kit/prompt-engineering.svg" alt="Measured on agentmods" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,075 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 1 Apr 2026
  • Snyk pass 1 Apr 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00082 $0.02075
Opus 5 $0.00041 $0.01038
Sonnet 5 $0.00016 $0.00415
Haiku 4.5 $0.00008 $0.00208

Measured 8d ago against content hash 6dc34322d01d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

prompt-engineering scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/developer-kit-ai/skills/prompt-engineering/SKILL.md · 286 lines

How it starts

The opening of the file, as written. The whole thing — 286 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Prompt Engineering

Overview

Use this skill to design prompt systems that are clear, testable, and reusable. It covers prompt drafting, optimization, evaluation, and production-oriented patterns for few-shot prompting, reasoning workflows, templates, and system prompts.

Keep the main workflow in this file and load the targeted reference files only for the pattern you are applying.

When to Use

Use this skill when:

  • A user asks to write, rewrite, or improve a prompt
  • A prompt needs better structure, reliability, or output formatting
  • Few-shot examples or reasoning scaffolds are needed
  • A system prompt or reusable prompt template must be created
  • An existing prompt needs measurable optimization and testing

Read the relevant files in references/ when you need deeper guidance on a specific pattern.

Core Patterns

1. Few-Shot Learning

Example Selection Strategy
  • Use references/few-shot-patterns.md for comprehensive selection frameworks
  • Balance example count (3-5 optimal) with context window limitations
  • Include edge cases and boundary conditions in example sets
  • Prioritize diverse examples that cover problem space variations
  • Order examples from simple to complex for progressive learning
Few-Shot Example (Sentiment Classification)
Classify the sentiment as Positive, Negative, or Neutral.

Text: "I love this product! It exceeded my expectations."
Sentiment: Positive
Reasoning: Enthusiastic language, positive adjectives, satisfaction

Text: "The app keeps crashing when I upload large files."
Sentiment: Negative
Reasoning: Complaint about functionality, frustration indicator

Text: "It arrived on time, as described."
Sentiment: Neutral
Reasoning: Factual statement, no strong emotion either way

Text: "{user_input}"
Sentiment:
Reasoning:

2. Chain-of-Thought Reasoning

Implementation Patterns
  • Reference references/cot-patterns.md for detailed reasoning frameworks
  • Use "Let's think step by step" for zero-shot CoT initiation
  • Provide complete reasoning traces for few-shot CoT demonstrations
  • Implement self-consistency by sampling multiple reasoning paths
  • Include verification and validation steps in reasoning chains

Read the full file on GitHub · 286 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 286 lines · 82 tokens per session scan A 6dc34322d01d

Subscribe to this mod's changes

prompt-engineering is a skill published in the GitHub repository giuseppe-trisciuoglio/developer-kit (342 stars, last pushed 20d ago), licensed MIT. It adds 82 tokens to every session and 2,075 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

loom-prompt-engineering

Designs and optimizes prompts for large language models including system prompts, agent signals, and few-shot examples.

cosmix/loom · 28 tokens

metaprompt

Generate a complete, ready-to-use prompt for a target model and harness. Triggers: metaprompt, generate a prompt for, write me a prompt, create a system prompt, prompt engineer this, optimize this prompt.

JairoTorregrosa/jaiskills · 48 tokens

improve-prompt

Critique and rewrite a prompt using prompt engineering best practices: clarity, examples, XML structure, role, explicit output format, and positive-over-negative instructions. Asks 1-3 targeted questions to fill missing context, then returns a short critique plus a drop-in rewritten prompt. Use when the user wants to…

tomimor/skills · 80 tokens

write-a-prompt

Creates a copy-ready prompt from a rough request, notes, source material, or the current conversation using OpenAI's prompting guidance. Use when the user invokes $write-a-prompt or /write-a-prompt, types a common misspelling such as /write-a-promopt or /wite-a-prompt, asks to "write a prompt for me," asks to turn the…

bastos/skills · 113 tokens

add-ai

Use when adding an AI/LLM feature to a product - chat, generation, summarization, extraction, semantic search - or when the user says add AI, use Claude, chatbot, embeddings.

T4LEL/Claude-Arsenal · 43 tokens

agent-orchestration-improve-agent

Systematic improvement of existing agents through performance analysis, prompt engineering, and continuous iteration.

lingxling/awesome-skills-cn · 25 tokens