create-skill

Guide creation of Claude Code skills with YAML frontmatter and markdown structure.

401|61|Updated Oct 30, 2017
One-click install
npx skills add https://github.com/tidymodels/yardstick --skill create-skill-tidymodels
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-skill
Source: https://github.com/tidymodels/yardstick/tree/main/.claude/skills/write-skill
Command: npx skills add https://github.com/tidymodels/yardstick --skill create-skill-tidymodels

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and examples (resource) and templates (resource) and scripts (resource) components.

What problem does it solve?

This Skill provides a comprehensive guide and best practices for creating new, reusable AI capabilities (Skills) that Claude Code can automatically invoke, streamlining complex workflows and packaging domain expertise.

Core Features & Use Cases

  • Skill Creation Framework: Offers a structured approach to designing, writing, and testing Claude Skills.
  • Best Practices: Details on naming conventions, description writing, and instruction clarity to ensure effective skill discovery and execution.
  • Use Case: A developer needs to create a new skill for code refactoring. They would use this skill to understand the required structure, how to write a clear description for automatic invocation, and how to structure the refactoring steps within the SKILL.md file.

Quick Start

Use the create-skill skill to start building a new Claude Code skill.

Frequently Asked Questions about create-skill

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

FAQPage Schema
How do I create a reusable Claude Code skill for workflow automation?

To create a Claude Code skill, you define its structure using YAML frontmatter and markdown content within a SKILL.md file. This framework packages domain expertise into reusable AI capabilities that Claude can automatically invoke for workflow automation.

What is the required structure for a Claude Code skill file?

A Claude Code skill requires YAML frontmatter for metadata and markdown content for instructions. Supporting files like templates, scripts, and examples can be added to package expertise and outline execution steps effectively.

How do I ensure my custom Claude skill is automatically discovered and invoked?

Skill discoverability relies on clear naming conventions and precise description writing in the YAML frontmatter. Providing instruction clarity within the markdown content ensures Claude Code accurately understands when to automatically invoke the skill.

What are the best practices for testing and troubleshooting Claude skills?

Testing Claude skills involves verifying automatic invocation and checking execution accuracy against the defined markdown instructions. Troubleshooting addresses structural formatting errors in the SKILL.md file or vague descriptions that hinder discoverability.

Do I need prior prompt engineering experience to build Claude Code skills?

While prompt engineering knowledge helps, creating Claude Code skills is structured through defined YAML frontmatter requirements and markdown organization. The skill creation framework provides best practices to guide developers through the process.

Can I include external scripts and templates inside a Claude skill package?

Yes, you can include supporting file structures like references, examples, templates, and scripts within your skill package. These components help package complex domain expertise and outline specific refactoring steps for execution.