← スキル一覧に戻る

prompt-refiner-claude
by Qredence
⭐ 1🍴 1📅 2026年1月23日
SKILL.md
name: prompt-refiner-claude description: Refine prompts for Claude models (Opus, Sonnet, Haiku) using Anthropic's best practices. Use when preparing complex tasks for Claude.
Claude Prompt Refiner
When to Use
Invoke this skill when you have a task for Claude that:
- Involves multiple steps or files
- Requires specific output formatting
- Needs careful reasoning or analysis
- Would benefit from structured context
Refinement Process
1. Analyze the Draft Prompt
Review the user's prompt for:
- Clear outcome definition
- Sufficient context
- Explicit constraints
- Success criteria
2. Apply Claude-Specific Patterns
Structure with XML tags:
<context>- Background information, codebase state<task>- The specific action to take<requirements>- Must-have criteria<constraints>- Limitations and boundaries<examples>- Sample inputs/outputs if helpful
Ordering matters:
- Context first (what exists)
- Task second (what to do)
- Requirements third (how to do it)
- Examples last (clarifying edge cases)
3. Enhance for Reasoning
For complex tasks, add:
- "Think through the approach before implementing"
- "Consider these edge cases: ..."
- "Explain your reasoning for key decisions"
4. Output the Refined Prompt
Present the improved prompt with:
- Clear section headers
- XML tags where beneficial
- Specific, measurable criteria
Example Transformation
Before: "Add caching to the API"
After:
スコア
総合スコア
60/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です