Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

add-new-skill

БесплатноБез исполняемых скриптовНе проверен

Create a new skill for this repository following the agentskills.io specification with proper structure and packaging

diegosouzapwот diegosouzapw★ 68 звёзд на GitHub

Об этом скилле

Add New Skill to Skills Repository

This meta skill guides the creation of new skills for this repository, following the agentskills.io specification.

Repository Context

This repository houses skills that are:

  • Packaged as individual .zip artifacts via GitHub Actions
  • Structured according to agentskills.io specification
  • Consumable by Claude Code, Codex, and other AI tools

agentskills.io Specification Summary

Required Structure

Every skill MUST have:

skill-name/
└── SKILL.md          # Required file with YAML frontmatter

Optional Directories

Skills MAY include:

skill-name/
├── SKILL.md          # Required
├── scripts/          # Executable code (Python, Bash, JavaScript)
├── references/       # Additional docs loaded on-demand
└── assets/           # Templates, images, data files

SKILL.md Format

Required Frontmatter

---
name: skill-name
description: A clear description of what this skill does and when to use it (1-1024 characters).
---

Frontmatter Field Rules

name (REQUIRED):

  • 1-64 characters
  • Lowercase alphanumeric and hyphens only
  • Cannot start/end with hyphens
  • Cannot contain consecutive hyphens
  • MUST match parent directory name

description (REQUIRED):

  • 1-1024 characters
  • Should explain what the skill does and when to use it
  • Be specific and actionable

Optional Frontmatter Fields

---
name: skill-name
description: Description here
license: MIT
compatibility: Requires Python 3.8+, works on Linux/macOS
metadata:
  version: "1.0.0"
  author: "Your Name"
allowed-tools: Read Write Bash
---

Content Guidelines

After frontmatter, include:

  • Overview: What the skill does
  • When to Use: Clear use cases
  • Step-by-Step Instructions: Detailed workflow
  • Examples: Real-world usage patterns
  • Templates: Output formats or code snippets
  • Validation: Checklists or verification steps

Keep SKILL.md under 5000 tokens (recommended) for efficient loading.

Workflow: Adding a New Skill

1. Create Skill Directory

mkdir -p skill-name

CRITICAL: Directory name MUST match the name field in frontmatter.

2. Write SKILL.md

Create skill-name/SKILL.md with:

  • Required YAML frontmatter (name, description)
  • Clear markdown instructions
  • Examples and templates
  • Validation steps

3. Add Optional Resources (If Needed)

scripts/ - Add executable code:

mkdir -p skill-name/scripts
# Add Python/Bash/JS files

references/ - Add supporting docs:

mkdir -p skill-name/references
# Add REFERENCE.md, FORMS.md, etc.

assets/ - Add static files:

mkdir -p skill-name/assets
# Add templates, images, data files

4. Validate Skill Structure

Check that:

  • Directory name matches frontmatter name field
  • Name is lowercase, alphanumeric + hyphens only
  • Name doesn't start/end with hyphens
  • No consecutive hyphens in name
  • Description is 1-1024 characters
  • SKILL.md has valid YAML frontmatter
  • Instructions are clear and actionable

5. Test Locally (Optional)

Verify zip structure matches specification:

cd skill-name
zip -r ../test-skill.zip . -x "*.git*"
cd ..
unzip -l test-skill.zip
# Should show: skill-name/SKILL.md, skill-name/scripts/, etc.
rm test-skill.zip

6. Commit and Push

git add skill-name/
git commit -m "feat: add skill-name skill

Brief description of what this skill does.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>"
git push

7. Verify GitHub Actions

After push:

  1. Go to Actions tab in GitHub repository
  2. Wait for "Package Skills" workflow to complete
  3. Check that new skill artifact was created
  4. Download and verify zip structure contains parent directory

GitHub Actions Workflow

The repository includes .github/workflows/package-skills.yml which:

  • Discovers all directories containing SKILL.md
  • Packages each skill with proper directory structure
  • Creates individual artifacts per skill (e.g., skill-name.zip)
  • Runs on push to main, pull requests, and manual dispatch

Package Structure: Each zip contains the parent directory:

skill-name.zip
└── skill-name/
    ├── SKILL.md
    ├── scripts/
    ├── references/
    └── assets/

This matches the agentskills.io specification for tool consumption.

Examples from This Repository

Example 1: Infrastructure Automation Skill

Directory: new-homelab-guest/

Characteristics:

  • Single SKILL.md file with detailed Terraform workflow
  • No scripts (relies on external repository)
  • Includes prerequisites, step-by-step instructions
  • Has troubleshooting section and examples

Good for: Complex multi-step workflows, infrastructure tasks

Example 2: Data Processing Skill

Directory: digitize-pounce-scoresheet/

Characteristics:

  • Single SKILL.md with
Полный SKILL.md на GitHub

Установить add-new-skill в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

metadata.json

FAQ

Что делает скилл add-new-skill?

Create a new skill for this repository following the agentskills.io specification with proper structure and packaging

Как установить скилл add-new-skill?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл add-new-skill запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить add-new-skill с