agent-skill-author

Guide test-first authoring of SKILL.md rules from observed agent failures.

162|31|Updated Oct 25, 2025
One-click install
npx skills add https://github.com/matlab/agent-skills-playground --skill agent-skill-author
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-skill-author
Source: https://github.com/matlab/agent-skills-playground/tree/main/demos/engineering-an-agent-skill/skills/agent-skill-author
Command: npx skills add https://github.com/matlab/agent-skills-playground --skill agent-skill-author

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps users author or improve Agent Skills by grounding the skill design in observed, repeatable agent failures instead of assumptions or generic best practices.

Core Features & Use Cases

  • Stage-based test-first authoring: probe the agent with representative prompts, classify failures, and only convert genuine knowledge gaps into skill rules.
  • Load-bearing rule design: translate grouped root causes into prioritized, concrete skill rules with actionable examples.
  • Iteration and maintenance loop: validate improvements against runnable examples and maintain the skill as models and APIs evolve.

Quick Start

Ask the agent to help you design a new SKILL.md by walking through the five stages, starting with 5 to 10 real prompts where the agent currently fails.

Frequently Asked Questions about agent-skill-author

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write agent skills that fix repeatable AI failures instead of generic best practices?

To write agent skills that fix repeatable AI failures, use a test-first workflow that probes the agent with representative prompts, classifies real failures, and converts genuine knowledge gaps into concrete SKILL.md instruction rules.

What is the best way to design YAML frontmatter triggers for a SKILL.md file?

The best way to design YAML frontmatter triggers is to group root causes of observed agent failures and translate them into trigger-aware frontmatter that activates prioritized instruction rules for specific domain or API behaviors.

How do I debug prompt failures to identify knowledge gaps for instruction design?

Debug prompt failures by probing the agent with 5 to 10 real prompts where it currently fails, classifying the subtle failures, and identifying knowledge gaps that cannot be consistently resolved from prompting alone.

When do I need a test-first design approach for authoring agent skills?

You need a test-first design approach for authoring agent skills when an AI agent requires reliable guidance for specific domain or API behaviors that it cannot consistently get right from prompting alone.

How do I maintain agent skills over time as models and APIs evolve?

Maintain agent skills over time by iterating against runnable examples, validating improvements as models and APIs evolve, and updating instruction rules to address newly observed agent failures.

Does model validation help improve agent instruction rules?

Model validation improves agent instruction rules by testing designed rules against runnable examples, ensuring the SKILL.md guidance reliably addresses the identified knowledge gaps and subtle agent failures.