claude-code-skills

Guide creation and configuration of Claude Code skills with SKILL.md frontmatter.

1|Updated Oct 13, 2022
One-click install
npx skills add https://github.com/kryota-dev/dotfiles --skill claude-code-skills-kryota-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: claude-code-skills
Source: https://github.com/kryota-dev/dotfiles/tree/main/.bin/.claude/skills/claude-code-skills
Command: npx skills add https://github.com/kryota-dev/dotfiles --skill claude-code-skills-kryota-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides comprehensive guidance on Claude Code's agent skills, including how to create, structure, and operate skills, plus best practices and troubleshooting tips.

Core Features & Use Cases

  • Clear guidance on SKILL.md frontmatter requirements (name and description).
  • Detailed file structure guidance, including optional references, scripts, and assets.
  • Troubleshooting, distribution, and best-practice recommendations for skill design and maintenance.

Quick Start

Create a new SKILL.md with a concise name and description, then optionally add references or scripts as needed.

Frequently Asked Questions about claude-code-skills

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

FAQPage Schema
How do I create a Claude Code agent skill?

To create a Claude Code agent skill, you start by creating a SKILL.md file with required frontmatter metadata, specifically a concise name and description, and optionally add reference files or scripts as needed.

What is the required YAML metadata for a SKILL.md file?

The required YAML metadata for a SKILL.md file includes a name and description in the frontmatter. This ensures the Claude Code agent can properly identify and apply the skill across different scenarios.

Why is my Claude Code skill not working?

If your Claude Code skill is not working, troubleshoot by checking the SKILL.md frontmatter for required name and description fields, verifying file structure, and ensuring safe tool restrictions are properly configured.

What are the best practices for distributing Claude Code skills?

Best practices for distributing Claude Code skills involve maintaining a clear file structure with optional references and scripts, enforcing safe tool restrictions, and following recommended design and maintenance guidelines for organizational use.

Can I add optional reference files to a Claude Code skill?

Yes, you can add optional reference files, scripts, and assets to a Claude Code skill. The SKILL.md file serves as the core, while these additional files support the skill's functionality and documentation.

What's the best way to structure a Claude Code skill for an organization?

The best way to structure a Claude Code skill for an organization is to enforce required SKILL.md frontmatter, utilize optional references and scripts, and apply safe tool restrictions to ensure secure and maintainable skill distribution.