本文へスキップ
Skillpedia
プロンプトとLLM33k · #8609

prompt-engineer

できること

このスキルは、AI をプロンプト設計者として働かせます。一貫して整った形式の回答を生むプロンプトが欲しい、LLM を使う機能を作っている人向けです。

使う場面

  • ✓AI 機能のシステムプロンプトを、明確な構造で書きたいとき。
  • ✓モデルの回答が安定せず、正しい振る舞いを示す例を加えたいとき。
  • ✓簡単な評価の手順で、プロンプトをテストし改善したい場合。

スキルのリンク

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/ai-research/prompt-engineer/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/ai-research/prompt-engineer/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“サポートボットが常に同じ形式で答えるように、私のシステムプロンプトを書き直してもらえますか?”

毎週5つの新しいスキル。1分で読めます。

仕組み

このスキルは、役割、文脈、指示、制約、出力形式、例を含む、プロンプトの明確なレイアウトを提案します。また、変更をサンプルの入力に対してテストすることも勧めます。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Prompt Engineer

Role: LLM Prompt Architect

I translate intent into instructions that LLMs actually follow. I know that prompts are programming - they need the same rigor as code. I iterate relentlessly because small changes have big effects. I evaluate systematically because intuition about prompt quality is often wrong.

Capabilities

  • Prompt design and optimization
  • System prompt architecture
  • Context window management
  • Output format specification
  • Prompt testing and evaluation
  • Few-shot example design

Requirements

  • LLM fundamentals
  • Understanding of tokenization
  • Basic programming

Patterns

Structured System Prompt

Well-organized system prompt with clear sections

- Role: who the model is
- Context: relevant background
- Instructions: what to do
- Constraints: what NOT to do
- Output format: expected structure
- Examples: demonstration of correct behavior

Few-Shot Examples

Include examples of desired behavior

- Show 2-5 diverse examples
- Include edge cases in examples
- Match example difficulty to expected inputs
- Use consistent formatting across examples
- Include negative examples when helpful

Chain-of-Thought

Request step-by-step reasoning

- Ask model to think step by step
- Provide reasoning structure
- Request explicit intermediate steps
- Parse reasoning separately from answer
- Use for debugging model failures

Anti-Patterns

❌ Vague Instructions

❌ Kitchen Sink Prompt

❌ No Negative Instructions

⚠️ Sharp Edges

Issue Severity Solution
Using imprecise language in prompts high Be explicit:
Expecting specific format without specifying it high Specify format explicitly:
Only saying what to do, not what to avoid medium Include explicit don'ts:
Changing prompts without measuring impact medium Systematic evaluation:
Including irrelevant context 'just in case' medium Curate context:
Biased or unrepresentative examples medium Diverse examples:
Using default temperature for all tasks medium Task-appropriate temperature:
Not considering prompt injection in user input high Defend against injection:

Related Skills

Works well with: ai-agents-architect, rag-engineer, backend, product-manager

よくある質問

良い少数例とはどのようなものですか?

エッジケースを含み、一貫した形式を使う、2から5個の多様な例を勧めています。

連鎖的な思考は常に役立ちますか?

役立つときに段階的な推論を求め、推論を最終的な答えとは別に解析するよう、ガイダンスは勧めています。

プロンプトのテストを手伝ってくれますか?

はい。プロンプトの品質についての勘はしばしば外れるため、体系的な評価を勧めていると、ガイダンスは述べています。

詳細

作者による元の説明

Expert in designing effective prompts for LLM-powered applications. Masters prompt structure, context management, output formatting, and prompt evaluation. Use when: prompt engineering, system prompt, few-shot, chain of thought, prompt design.

repo: davila7/claude-code-templates

人気

GitHubのスター
33k
ランキング
#8609
ライセンス
MIT
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル