/marcoax-skills:opus5-skill-authoringfrom marcoax-skills
Write, review, or migrate a skill or prompt for the Claude 5 generation (Opus 5, Sonnet 5, Fable 5). Use when the user wants to author a new SKILL.md, update an old skill for newer models, fix a bloated or over-constrained skill, or asks 'create a skill', 'migrate this skill to Opus 5', 'why is my skill flaky on Opus 5'. Applies the flipped context-engineering rules (judgment over rules, interfaces over examples, progressive disclosure, one home per rule, rich references) and validates the result with a binary eval rubric. Do not use for non-skill coding tasks or for optimizing via repeated automated eval loops; use autoresearch for that.
Ships in marcoax-skills. 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.
None: SKILL.md is the whole skill.
Skills written for older models over-constrain the Claude 5 generation. The models now have better judgment, so the job shifted from writing more instructions to designing a clean, minimal context. This skill authors and migrates skills to that standard.
Do not skip understanding the target task before writing. Read the real workflow the skill must cover, then apply the rules below.
Apply every one when writing or reviewing a skill.
| Old habit | Claude 5 rule |
|---|---|
| Rigid rules for every case | State the goal, let the model use judgment. Keep hard rules only at high stakes. |
| Examples to copy | Design expressive interfaces; examples set aesthetics, not the approach. |
| Everything up front | Progressive disclosure: keep SKILL.md compact, link the rest. |
| Repeat instructions | One clear description, in one place. |
| Memory hardcoded in files | Rely on auto-memory; store only durable, non-obvious rules. |
| Prose specs | Rich references: a test, a mockup, or real code beats a paragraph. |
description as the router: when to use it AND when not to. This is the highest-leverage part; most misfires are trigger failures.SKILL.md. Frontmatter (name, description) + a short instruction body. Describe behavior, not banned actions. Match the wording style of the surrounding skills.CLAUDE.md, other skills, and the prompt. Delete duplicates; collisions make the model burn tokens resolving contradictions and cause flaky behavior.Binary checks, run against real behavior, not the file text:
| Area | Check |
|---|---|
| Trigger | Fires on relevant prompts |
| Non-trigger | Stays quiet on similar out-of-scope prompts |
| Context | Loads only what's needed |
| Instructions | Direct, non-repetitive, no contradictions |
| Tools | Right tool, no superfluous calls |
| Scope | No unrequested files, deps, or work |
| Safety | Confirms before irreversible actions |
| Output | Matches format and completion criteria |
| Efficiency | No overthinking, double-checking, or verbose output |
| Robustness | Handles incomplete, ambiguous, adversarial input |
Minimum eval set: 5 positive cases, 5 negative (must-not-trigger), 3 edge cases, 2 adversarial (scope creep / safety bypass), 1 end-to-end with real files and tools.
- id: minimal-change
prompt: "Fix the typo in the title"
checks:
skill_triggered: true
requested_file_changed: true
unrelated_files_changed: false
new_dependency_added: false
tests_pass: true
A skill is valid only with correct instructions + observed behavior + verifiable result + no side effects. Text conformance alone is not enough.
When updating an existing skill:
SKILL.md, CLAUDE.md, memory, and prompt.Deliver the SKILL.md (and any linked reference files), then a short note: what rules you applied, what you cut, and the eval cases to run. If the explanation is longer than the skill, cut the explanation.
Anthropic, The new rules of context engineering for Claude 5 generation models (Thariq); Prompting Claude Opus 5; Effective context engineering for AI agents.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
Generated from the plugin's indexed repository (marcoax/skills) — no native marketplace selected
npx claudepluginhub p/marcoax-marcoax-skills18 skills in this plugin
/add-lessonTurn a lesson's .docx/.md notes into a quiz file, or add words to an existing lesson./add-recapAdd a recap lesson: a fixed random sample plus a dedicated section for words and expressions to distinguish, copied from existing lessons. Argument: the title, e.g. "Ripasso di Natale"./advanced-code-reviewReview code changes against the requested behavior and repository standards, with evidence-backed findings and a PASS/PARTIAL/FAIL verdict./agent-md-creatorGenerate standardized CLAUDE.md or AGENT.md files for projects. Use when users want to document a project for AI agents, set up project instructions, create AI instructions files, initialize agent docs, or say things like "Crea un CLAUDE.md", "Generate AGENT.md", "Setup project documentation", "document this project for agents", "create AI instructions file", "initialize agent docs", "set up project instructions"./autoresearchAutonomously optimize an existing skill by running repeated evals, scoring outputs against binary checks, mutating the prompt, and keeping winning variants. Based on Karpathy's autoresearch methodology. Use only when the user explicitly wants autoresearch, repeated benchmarking, run-evals loops, mutation experiments, pass-fail scoring, or autonomous optimization with tracked results. Do not use for simple manual refinement of a skill; use skill-optimizer for guided interactive improvement. Outputs: an improved SKILL.md, a results log, and a changelog of every mutation tried./blazor-localizationLocalizza file Razor sostituendo stringhe italiane con riferimenti a risorse .resx. Use when processing Italian text in Razor components.