/v1tamins:v1-prompt-engineeringfrom v1tamins
Writes, reviews, and migrates prompts with a structured contract approach. Ties every instruction to a concrete failure mode or evaluation result.
Ships in v1tamins. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Improve prompts by tying every instruction to a concrete failure mode, output contract, or evaluation result.
For GPT-5.5, the OpenAI Responses API, OpenRouter, reasoning_effort, or model-migration specifics, load references/gpt-5-5-patterns.md. For GPT-5.4 hosts only, also load references/gpt-5-4-patterns.md (short deltas; load 5.5 first for shared contracts).
For Claude 5 generation hosts (Opus 5.5, Fable 5.1), output_config.effort, structured outputs, or Claude prompt migration, load references/claude-5-patterns.md.
references/gpt-5-5-patterns.md. On GPT-5.4 only, load that file first, then references/gpt-5-4-patterns.md for deltas. For Claude 5 generation hosts, load references/claude-5-patterns.md.Every production prompt should define:
| Contract | Include |
|---|---|
| Outcome | What the model must produce or decide |
| Inputs | Source material, tools, files, schemas, and trusted context |
| Constraints | Safety, grounding, permissions, latency, or missing-data behavior |
| Output | Exact format, sections, schema, or artifact destination |
| Done | Success criteria and stop conditions |
If a prompt block does not support one of these rows, delete it or move it to documentation outside the prompt.
Before keeping an instruction, classify it:
This is the Instruction-Value-Gate / no-op test; v1-skilling-it holds the canonical treatment and the full skill failure-mode vocabulary (sediment, sprawl, leading words).
# Weak
Be careful and produce a high-quality answer.
# Strong
Before finalizing, verify each required field is present. If a field cannot be derived from the input, output `null` and add the field name to `missing_fields`.
Draft the smallest prompt that includes the outcome, inputs, output contract, and missing-information behavior. Do not add examples, role framing, or reasoning instructions yet.
Run or manually simulate at least three representative cases:
Record what failed: wrong trigger, invented fact, wrong format, excessive verbosity, premature stop, bad tool use, unsafe action, or weak refusal/blocked handling.
Use the narrowest pattern that fixes the observed failure:
| Failure | Prompt patch |
|---|---|
| Wrong format | Add exact output schema or template |
| Missing fields | Add required-field checklist and missing-field behavior |
| Fabricated facts | Add grounding rule and citation/source constraint |
| Overlong answer | Add section limits or verbosity contract |
| Premature stop | Add completeness contract and blocked-item format |
| Tool misuse | Add tool prerequisites, stop rules, and recovery behavior |
| Weak routing | Add trigger and non-trigger examples |
Avoid adding broad persona language unless the failure is specifically tone, audience, or authority handling.
Add 2-3 input/output examples when the model must learn a format, boundary, or classification that prose cannot define compactly.
Each example must cover a different decision. Do not include examples that all demonstrate the same obvious case.
After changes, rerun the examples. Keep the change only if it fixes a failure without introducing a worse one.
Then prune:
<grounding>
- Use only the provided context and retrieved tool outputs.
- Label inference explicitly.
- If evidence is missing, say what is missing instead of filling the gap.
</grounding>
When the API supports structured outputs (output_config.format, or tools with strict: true), enforce the schema there and keep only the missing-data rules in the prompt:
<output_contract>
- Use `null` for unavailable optional values.
- Return an error object when required schema information is missing.
</output_contract>
Without API enforcement, add Output only valid JSON matching the requested schema. and Do not invent fields. to the block.
<tool_rules>
- Use tools only when they materially improve correctness.
- Run prerequisite reads before edits or external actions.
- If a tool returns empty or partial results, try one fallback query before marking the item blocked.
- Ask before irreversible external mutations.
</tool_rules>
references/advanced.md - Carry-forward patterns for concise context, degrees of freedom, and plain constraint wording.references/gpt-5-5-patterns.md - GPT-5.5 ready-to-paste blocks, the reasoning-effort ladder, OpenAI Responses API and OpenRouter chat-completions runtime notes, and migration defaults.references/gpt-5-4-patterns.md - Short GPT-5.4-only deltas; load after gpt-5-5-patterns.md when still on 5.4.references/claude-5-patterns.md - Claude 5 generation (Opus 5.5, Fable 5.1) runtime notes: adaptive thinking and output_config.effort, structured outputs instead of prefill, tool-choice limits, and plain-constraint wording.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub v1-io/v1tamins --plugin v1tamins42 skills in this plugin
/v1-address-reviewUse when resolving existing PR review comments or threads. Triggers on "address review feedback", "fix review comments", or "resolve review threads"./v1-autoresearch-skillUse when explicitly running a measured optimization loop against a target. Triggers on "run autoresearch" or "keep only measured improvements"./v1-bare-bonesUse when reducing a plan, PRD, or proposal to the smallest useful scope. Triggers on "strip this plan", "MVP only", or "remove scope"./v1-bigxtha-pluginUse when designing or reviewing a skill plugin's architecture, shared resources, skill handoffs, or cross-skill change impact./v1-canon2skillUse when extracting reusable Agent Skill ideas from books, PDFs, articles, courses, or notes. Triggers on "extract skills from this" or "what skills could come from this?"./v1-changelogUse when writing release notes from merged PRs. Triggers on "write changelog", "release notes", or "what shipped".Other plugins' skills for the same job