From sentry-skills
Creates, optimizes, and iteratively refines agent prompts, system prompts, and reusable templates. Handles prompt tuning, reliability improvements, and porting between OpenAI, Claude, or Gemini.
How this skill is triggered — by the user, by Claude, or both
Slash command
/sentry-skills:prompt-optimizerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Optimize prompts with evals. Keep every instruction, example, and external context reference causal.
Optimize prompts with evals. Keep every instruction, example, and external context reference causal.
| Need | Read |
|---|---|
| New prompt | references/core-patterns.md, references/model-family-notes.md, references/transformed-examples.md |
| Existing prompt | references/meta-optimization-loop.md, references/core-patterns.md, references/model-family-notes.md |
| Model-family port | references/model-family-notes.md, references/core-patterns.md |
| Repeated failures | references/meta-optimization-loop.md, references/core-patterns.md |
| Weak or ambiguous draft | references/transformed-examples.md |
| Provenance | SOURCES.md |
Record before editing:
system, developer, user, tool descriptions, examples, schemasIf success criteria or examples are missing, create a small eval set first. If the bottleneck is model choice, retrieval, tool schema, or missing evals, say so before rewriting.
For repo or agent prompts, list stable context by exact path:
| Context type | Examples |
|---|---|
| Agent rules | AGENTS.md, CLAUDE.md |
| Specs | specs/*.md, docs/api.md |
| Policies | SECURITY.md, docs/releasing.md |
| Examples | examples/, tests/fixtures/ |
Rules:
loaded, referenced, or out of scope.Read references/model-family-notes.md.
Read references/core-patterns.md.
system or developer.Read references/meta-optimization-loop.md for refinements.
Return:
TargetSuccess CriteriaExternal ContextOptimized PromptAdapter NotesEval SetOptimization LogResidual RisksFor existing prompts, include a concise diff-style note of the main behavioral changes.
npx claudepluginhub getsentry/skills --plugin sentry-skillsOptimizes system prompts for Claude Code agents using research-backed prompt engineering patterns. Use when users request prompt improvement, optimization, or refinement for agent workflows, tool instructions, or system behaviors.
Optimizes system prompts for Claude Code agents using research-backed prompt engineering patterns. Use for requests to improve, refine, or review agent workflows, tool instructions, or behaviors.
Designs, optimizes, and evaluates LLM prompts — generating templates, structured output schemas, evaluation rubrics, and test suites. Use for prompt refactoring, chain-of-thought, or system prompt design.