prompting
Anthropic社の推奨に基づき、AIエージェントに対し、明確で構造化されたプロンプトを作成し、段階的な情報開示やノイズ除去による最適化を行い、より良い結果を引き出すSkill。
📜 元の英語説明(参考)
Prompt engineering standards and context engineering principles for AI agents based on Anthropic best practices. Covers clarity, structure, progressive discovery, and optimization for signal-to-noise ratio.
🇯🇵 日本人クリエイター向け解説
Anthropic社の推奨に基づき、AIエージェントに対し、明確で構造化されたプロンプトを作成し、段階的な情報開示やノイズ除去による最適化を行い、より良い結果を引き出すSkill。
※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o prompting.zip https://jpskill.com/download/16891.zip && unzip -o prompting.zip && rm prompting.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/16891.zip -OutFile "$d\prompting.zip"; Expand-Archive "$d\prompting.zip" -DestinationPath $d -Force; ri "$d\prompting.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
prompting.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
promptingフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 1
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
Prompting Skill
この Skill をいつ起動するか
- プロンプトエンジニアリングに関する質問
- コンテキストエンジニアリングのガイダンス
- AI エージェントの設計
- プロンプトの構造に関するヘルプ
- LLM プロンプトのベストプラクティス
- エージェントの設定
中核となる理念
Context engineering = LLM 推論時に最適なトークンセットをキュレーションすること
主な目標: 望ましい結果を最大化する、可能な限り最小の、高シグナルのトークンセットを見つけること
主要な原則
1. コンテキストは有限のリソース
- LLM は限られた「注意予算」を持っている
- コンテキストが大きくなるにつれてパフォーマンスが低下する
- すべてのトークンが容量を消費する
- コンテキストを貴重なものとして扱う
2. シグナル対ノイズの最適化
- 冗長な説明よりも明確で直接的な言語を使用する
- 冗長な情報を削除する
- 価値の高いトークンに焦点を当てる
3. 段階的な発見
- 完全なデータダンプではなく、軽量な識別子を使用する
- 必要に応じて詳細な情報を動的にロードする
- ジャストインタイムの情報ロード
Markdown 構造の標準
明確なセマンティックセクションを使用する:
- Background Information: 最小限の必須コンテキスト
- Instructions: 命令形、具体的、実行可能
- Examples: 口頭ではなく実例を示す、簡潔、代表的
- Constraints: 境界、制限、成功基準
文体
完全性よりも明確性
✅ 良い例: "Validate input before processing" ❌ 悪い例: "You should always make sure to validate..."
直接的に
✅ 良い例: "Use calculate_tax tool with amount and jurisdiction" ❌ 悪い例: "You might want to consider using..."
構造化されたリストを使用する
✅ 良い例: 箇条書きの制約 ❌ 悪い例: 要件の段落
コンテキスト管理
ジャストインタイムローディング
完全なデータダンプをロードせずに、参照を使用して必要なときにロードする
構造化されたメモ取り
重要な情報をコンテキストウィンドウの外に保持する
サブエージェントアーキテクチャ
最小限のコンテキストで、サブタスクを専門のエージェントに委任する
ベストプラクティスチェックリスト
- [ ] 整理のために Markdown ヘッダーを使用している
- [ ] 明確、直接的、最小限の言語
- [ ] 冗長な情報がない
- [ ] 実行可能な指示
- [ ] 具体的な例
- [ ] 明確な制約
- [ ] 適切な場合はジャストインタイムローディング
アンチパターン
❌ 冗長な説明 ❌ 過去のコンテキストのダンプ ❌ 重複するツール定義 ❌ 時期尚早な情報ロード ❌ 曖昧な指示 ("might", "could", "should")
補足資料
完全な標準については: read ${PAI_DIR}/skills/prompting/CLAUDE.md
基づくもの
Anthropic の "Effective Context Engineering for AI Agents"
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
Prompting Skill
When to Activate This Skill
- Prompt engineering questions
- Context engineering guidance
- AI agent design
- Prompt structure help
- Best practices for LLM prompts
- Agent configuration
Core Philosophy
Context engineering = Curating optimal set of tokens during LLM inference
Primary Goal: Find smallest possible set of high-signal tokens that maximize desired outcomes
Key Principles
1. Context is Finite Resource
- LLMs have limited "attention budget"
- Performance degrades as context grows
- Every token depletes capacity
- Treat context as precious
2. Optimize Signal-to-Noise
- Clear, direct language over verbose explanations
- Remove redundant information
- Focus on high-value tokens
3. Progressive Discovery
- Use lightweight identifiers vs full data dumps
- Load detailed info dynamically when needed
- Just-in-time information loading
Markdown Structure Standards
Use clear semantic sections:
- Background Information: Minimal essential context
- Instructions: Imperative voice, specific, actionable
- Examples: Show don't tell, concise, representative
- Constraints: Boundaries, limitations, success criteria
Writing Style
Clarity Over Completeness
✅ Good: "Validate input before processing" ❌ Bad: "You should always make sure to validate..."
Be Direct
✅ Good: "Use calculate_tax tool with amount and jurisdiction" ❌ Bad: "You might want to consider using..."
Use Structured Lists
✅ Good: Bulleted constraints ❌ Bad: Paragraph of requirements
Context Management
Just-in-Time Loading
Don't load full data dumps - use references and load when needed
Structured Note-Taking
Persist important info outside context window
Sub-Agent Architecture
Delegate subtasks to specialized agents with minimal context
Best Practices Checklist
- [ ] Uses Markdown headers for organization
- [ ] Clear, direct, minimal language
- [ ] No redundant information
- [ ] Actionable instructions
- [ ] Concrete examples
- [ ] Clear constraints
- [ ] Just-in-time loading when appropriate
Anti-Patterns
❌ Verbose explanations ❌ Historical context dumping ❌ Overlapping tool definitions ❌ Premature information loading ❌ Vague instructions ("might", "could", "should")
Supplementary Resources
For full standards: read ${PAI_DIR}/skills/prompting/CLAUDE.md
Based On
Anthropic's "Effective Context Engineering for AI Agents"