How to Test a SKILL.md Skill Before Publishing

Published: May 15, 2026

Category: Tutorials

Publishing a broken or poorly-tested skill damages your reputation as a creator. Bad reviews are permanent. Here's how to test properly before listing.

> Quick Answer: To test an AI skill before publishing, follow these steps: test trigger reliability with diverse prompts, evaluate output quality on real projects, check edge cases, verify cross-agent compatibility, and review the description/metadata to ensure accuracy and clarity.

Step 1: Test trigger reliability

The most common failure mode: the skill doesn't activate when it should, or activates when it shouldn't.

Start a Claude Code session and try 5 different prompts that should trigger your skill. Then try 5 prompts that are similar but shouldn't trigger it.

For a code review skill:

Should trigger:


Should NOT trigger:

If it triggers on fewer than 4 of the first 5, your description is too narrow. If it triggers on more than 1 of the second 5, your description is too broad.

For help writing better descriptions, see How to Write a SKILL.md Description That Triggers.

Step 2: Test output quality

Once the skill triggers, does it produce useful output? Test on a real project — not a toy example. Use a codebase with real complexity, real patterns, and real edge cases.

Check:


Step 3: Test edge cases

Your skill doesn't need to handle every edge case perfectly, but it shouldn't crash or produce obviously wrong output.

Step 4: Test cross-agent compatibility

If you're listing the skill as compatible with multiple agents, test it in each one:

# Test in Claude Code
cp -r ~/.claude/skills/my-skill/ /tmp/skill-test/
ls ~/.claude/skills/my-skill/SKILL.md

Test in Codex CLI

cp -r /tmp/skill-test/ ~/.codex/skills/my-skill/

Test in Gemini CLI

cp -r /tmp/skill-test/ ~/.gemini/skills/my-skill/

Run the same test prompts in each agent. The skill should produce comparable output across all of them.

Step 5: Test the description and metadata

Your marketplace listing is the first thing buyers see. Check:


Pre-publish checklist


Publish your tested skill on Agensi — 80/20 revenue split, security review included.

Related Articles