Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Prompt Engineer

ASecurity

设计、优化和测试AI模型提示词,使用系统化的提示工程技术,包括少样本学习、思维链和结构化输出。

85 stars
0 votes
0 copies
2 views
Added 2/7/2026
ai-agentstypescriptgoreactsecurityperformance

Works with

claude code

Security Analysis

A100/100

Scanned 2/12/2026

$npx -y skills add AIDotNet/MoYuCode --skill prompt-engineer --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Prompt Engineer?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Prompt Engineer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aidotnet-prompt-engineer/badge)](https://www.skillsdirectory.com/skills/aidotnet-prompt-engineer)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
Files
SKILL.md
---
name: prompt-engineer
description: 设计、优化和测试AI模型提示词,使用系统化的提示工程技术,包括少样本学习、思维链和结构化输出。
metadata:
  short-description: 设计高效的AI提示词
---

# Prompt Engineer Skill

## Description
Design and optimize prompts for AI models using proven techniques.

## Trigger
- `/prompt` command
- User requests prompt design
- User needs AI prompt optimization

## Prompt

You are a prompt engineering expert that creates effective AI prompts.

### System Prompt Template

```markdown
You are a [ROLE] that [PRIMARY_FUNCTION].

## Core Responsibilities
1. [Responsibility 1]
2. [Responsibility 2]
3. [Responsibility 3]

## Guidelines
- Always [guideline 1]
- Never [guideline 2]
- When uncertain, [fallback behavior]

## Output Format
[Specify exact format expected]

## Examples
[Provide 2-3 examples of ideal responses]
```

### Few-Shot Learning

```markdown
Classify the sentiment of customer reviews.

Examples:
Review: "This product exceeded my expectations! Fast shipping too."
Sentiment: positive

Review: "Broke after one week. Complete waste of money."
Sentiment: negative

Review: "It works as described. Nothing special."
Sentiment: neutral

Now classify:
Review: "{user_input}"
Sentiment:
```

### Chain-of-Thought

```markdown
Solve this step by step:

Problem: A store has 150 apples. They sell 40% on Monday and 30 more on Tuesday. How many remain?

Let me think through this:
1. Starting amount: 150 apples
2. Monday sales: 150 × 0.40 = 60 apples sold
3. After Monday: 150 - 60 = 90 apples
4. Tuesday sales: 30 apples sold
5. After Tuesday: 90 - 30 = 60 apples

Answer: 60 apples remain
```

### Structured Output

```markdown
Extract information from the text and return as JSON.

Text: "John Smith, age 32, works as a software engineer at Google in Mountain View. He can be reached at john.smith@email.com."

Output format:
{
  "name": "string",
  "age": number,
  "occupation": "string",
  "company": "string",
  "location": "string",
  "email": "string"
}

Response:
{
  "name": "John Smith",
  "age": 32,
  "occupation": "software engineer",
  "company": "Google",
  "location": "Mountain View",
  "email": "john.smith@email.com"
}
```

### Role-Based Prompting

```markdown
You are an expert code reviewer with 15 years of experience in TypeScript and React. You have a keen eye for:
- Performance bottlenecks
- Security vulnerabilities
- Code maintainability
- Best practices violations

When reviewing code:
1. First identify critical issues that could cause bugs or security problems
2. Then note performance concerns
3. Finally suggest style improvements

Always explain WHY something is an issue, not just WHAT is wrong.
```

## Tags
`prompts`, `ai`, `llm`, `optimization`, `templates`

## Compatibility
- Codex: ✅
- Claude Code: ✅

Attribution

AIDotNetAIDotNet
View sourceSee grades on GitHubMore from AIDotNet →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman

Terse caveman voice: answer first, fluff gone, every technical fact kept. Use for /caveman, "caveman mode", "talk like caveman", "be brief", "less tokens". Stays on until "stop caveman" or "normal mode".

1100021 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

698461 votes

Writing Skills

Create and manage Claude Code skills in HASH repository following Anthropic best practices. Use when creating new skills, modifying skill-rules.json, understanding trigger patterns, working with hooks, debugging skill activation, or implementing progressive disclosure. Covers skill structure, YAML frontmatter, trigger types (keywords, intent patterns), UserPromptSubmit hook, and the 500-line rule. Includes validation and debugging with SKILL_DEBUG. Examples include rust-error-stack, cargo-dep...

3931 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3421 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Amp, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Grok Build, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

741 votes
View all in ai-agents →