skills/skill-creation/SKILL.md
Create and update SKILL.md files following the Agent Skills format specification. Use when building new skills or improving existing skill documentation for AI agents.
npx skillsauth add rolemodel/rolemodel-skills skill-creationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Generate properly formatted SKILL.md files that help AI agents perform domain-specific tasks effectively.
Every skill must have:
Optional directories:
scripts/: Executable code agents can run. Keep scripts self-contained or document dependencies, and include clear error handling.references/: On-demand documentation (for example, REFERENCE.md, templates, domain notes). Keep files focused and small for efficient context usage.assets/: Static resources such as templates, diagrams, and data files.Recommended layout:
skill-name/
├── SKILL.md
├── scripts/ # Optional
├── references/ # Optional
├── assets/ # Optional
└── ...
SKILL.md must start with YAML frontmatter, followed by Markdown instructions.
---
name: skill-name
description: What this skill does and when to use it.
---
name field rules:
--)description field rules:
Optional frontmatter fields and constraints:
license: License name or reference to a bundled license filecompatibility: 1-500 characters when present; describe environment requirements only when neededmetadata: Key-value mapping for additional metadataallowed-tools: Space-delimited list of pre-approved tools (experimental; support varies by agent)license: Apache-2.0
compatibility: Requires git, docker, and internet access
metadata:
author: org-name
version: "1.0"
allowed-tools: Bash(git:*) Bash(jq:*) Read
Structure:
Best Practices:
Optimize for efficient context usage:
Move detailed content to separate files:
references/REFERENCE.md - Technical detailsscripts/ - Executable codeassets/ - Templates, data filesdescription: Extract text and tables from PDF files, fill forms, merge documents. Use when working with PDFs, document extraction, or form filling.
description: Write automated tests using RSpec, Capybara, and FactoryBot for Rails applications. Use when implementing features, fixing bugs, or when testing is mentioned.
description: Helps with PDFs. # Too vague, no trigger keywords
description: A comprehensive system... # Doesn't say what it does
Use relative paths from skill root:
See [detailed reference](references/REFERENCE.md) for more.
Run the script: scripts/process.py
Keep references one level deep - avoid nested chains.
Before finalizing a SKILL.md:
name and description--)compatibility <= 500 chars, allowed-tools is space-delimited)Validate with skills-ref validate ./my-skill when available.
testing
Verify what Ruby versions actually exist and install a specific Ruby via rbenv. Use BEFORE asserting that any Ruby version does or doesn't exist (e.g., "Ruby 4.0 isn't out yet", "the latest Ruby is 3.x", "Ruby X.Y.Z doesn't exist"). Also use when the user asks "what's the latest Ruby", "is Ruby X out", "does Ruby X.Y exist", "install Ruby", "switch to Ruby X", "what Ruby is installed", or mentions a specific Ruby version you're unsure about. Claude's training data may be out of date — run `check.sh` first.
development
Trace code through the stack — upward to entry points, downward to data, or laterally across boundaries. Use when the user asks "where does this get called from", "what calls this method", "trace this through the stack", "how does this request flow", "where does this data come from", "follow this through the code", or pastes/selects a piece of code and wants to understand where it fits in the larger system.
tools
Pick the single highest-priority unresolved Sentry issue and hand it off to a fixer skill. Use when triaging Sentry errors, running automated issue triage, or when asked to fix the top Sentry issue in a project.
tools
Find and fix issues from Sentry using MCP. Use when asked to fix Sentry errors, debug production issues, investigate exceptions, or resolve bugs reported in Sentry. Methodically analyzes stack traces, breadcrumbs, traces, and context to identify root causes.