skill-creator
Skill Creator
This skill guides the creation of new Agent Skills that conform to the Agent Skills specification. Follow these instructions whenever you need to create a new skill for any capability.
When to Use This Skill
- User asks to create a new skill
- User requests adding a skill for a specific capability
- User wants to define or build a skill
- User needs to package knowledge or workflows as a reusable skill
Agent Skills Core Concepts
Skills are portable, self-documenting packages that extend AI agent capabilities. Each skill is a directory containing a SKILL.md file with instructions.
For complete specification details, see references/spec.md.
Progressive Disclosure Architecture
Skills use a three-tier loading strategy for efficient context management:
| Tier | What is Loaded | When | Token Cost |
|---|---|---|---|
| Catalog | name + description | Session start | ~50-100 tokens |
| Instructions | Full SKILL.md body | Skill activated | <5000 tokens recommended |
| Resources | Scripts, references, assets | When referenced | Varies |
Creating a New Skill
Follow these six steps to create a skill:
Step 1: Determine Skill Purpose
Before creating files, clearly define:
- What capability does this skill provide?
- When should an agent use this skill?
- What keywords would trigger this skill?
Step 2: Create Directory Structure
skill-name/
├── SKILL.md # Required
├── scripts/ # Optional: executable code
├── references/ # Optional: documentation
└── assets/ # Optional: templates, resources
The directory name must match the skill name.
Step 3: Write Frontmatter
The SKILL.md file must start with YAML frontmatter containing required fields.
Required fields:
name: Skill identifier (1-64 characters, lowercase letters and hyphens only)description: What the skill does AND when to use it (1-1024 characters)
Optional fields:
license: License name or filecompatibility: Environment requirementsmetadata: Additional key-value pairsallowed-tools: Pre-approved tools (experimental)
For detailed field specifications, see references/frontmatter.md.
Step 4: Write Instruction Content
The Markdown body after frontmatter contains skill instructions. There are no format restrictions, but include:
- When to use this skill
- Step-by-step instructions
- Examples of inputs and outputs
- Common edge cases
For writing guidelines, see references/content.md.
Step 5: Add Optional Resources
If your skill requires scripts, references, or assets, add them to the appropriate subdirectories:
scripts/: Executable code that the skill instructions may invokereferences/: Supplementary documentationassets/: Templates, data files, or other resources
For script support details, see references/scripts/overview.md.
Step 6: Validate
Verify your skill follows the specification:
npx skills-ref validate ./skill-name
For validation details, see references/spec.md.
Quick Reference
Valid Name Patterns
Valid: pdf-processing, data-analysis, code-review
Invalid: PDF-Processing (uppercase), -pdf (starts with hyphen), pdf--processing (consecutive hyphens)
Good Description Example
description: Extracts text and tables from PDF files, fills PDF forms, and merges multiple PDFs. Use when working with PDF documents or when the user mentions PDFs, forms, or document extraction.
Additional Resources
- Specification: references/spec.md
- Frontmatter fields: references/frontmatter.md
- Content writing: references/content.md
- Script support overview: references/scripts/overview.md
- Tool runners: references/scripts/tool-runner.md
- Python scripts: references/scripts/python.md
- Deno scripts: references/scripts/deno.md
- Bun scripts: references/scripts/bun.md
- Examples: references/examples/
More from cylixlee/cortex
eino-adk
Eino Agent Development Kit development skill. For building AI Agent applications including ChatModelAgent, workflows (Sequential/Parallel/Loop), multi-agent systems (Supervisor/PlanExecute), human-in-the-loop (interruption/approval). Use when users need to create Agents, use Runner for execution, manage tool calls, build multi-agent systems.
2pnpm
Node.js package manager with strict dependency resolution. Use when running pnpm specific commands, configuring workspaces, or managing dependencies with catalogs, patches, or overrides.
2vue-debug-guides
Vue 3 debugging and error handling for runtime errors, warnings, async failures, and SSR/hydration issues. Use when diagnosing or fixing Vue issues.
2frontend-design
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.
2golang-gin-api
Build REST APIs with Go Gin framework. Covers routing, handler patterns, request binding/validation, middleware chains, error handling, security headers (OWASP), CORS, timeout middleware, and layered project structure. Use when creating Go web servers, REST endpoints, HTTP handlers, or working with the Gin framework. Also activate when the user mentions Gin routes, middleware, JSON responses, request parsing, or API structure in Go.
2design-pattern
Applies object-oriented design principles and design patterns to generate maintainable, extensible code. Use when generating code that requires proper architectural layering, SOLID principles, and appropriate design patterns to solve recurring software design problems.
2