Automated summary
This meta-skill guides the creation of new Claude Code Skills inside a project, from requirements gathering through writing a SKILL.md that follows Anthropic best practices.
Strengths
- Enforces an explicit requirements phase (problem solved, trigger phrases, required tools, complexity level) before any writing.
- Clearly separates simple single-file skills from multi-file skills with REFERENCE.md, EXAMPLES.md and a scripts folder.
- Provides contrasting bad-versus-good description examples to improve when the skill actually fires.
- Configures a PostToolUse hook that runs a validation script on every file write.
Limitations
- Tightly coupled to Claude Code: skill-specific frontmatter fields (context: fork, hooks, allowed-tools), the .claude/skills path and $CLAUDE_PROJECT_DIR.
- Validation relies on a validate-skill.py script at a fixed location; if it is missing, the hook fails.
- Runs in a forked context on the opus model, which is costly for simply creating a file.
Use it when you need to create or restructure a Claude Code skill with correct frontmatter and well-defined trigger phrases.
Avoid it for skills targeting another agent (Cursor, Copilot, Codex) or for a small one-off edit to an existing SKILL.md.
Security analysis
CautionThe skill is a legitimate meta-skill for creating Claude Code skills, but it grants broad execution permissions including unrestricted Python and chmod, plus network access. While not inherently malicious, these powerful tools could be misused if the skill's instructions are followed with untrusted input, so caution is warranted.
- •Uses Bash(python:*) unrestricted, which allows arbitrary Python code execution.
- •Uses Bash(chmod:*) which can modify permissions on any file.
- •Includes WebSearch and WebFetch, enabling network access.
Examples
Create a skill that reviews Python files for security issues and PEP 8 compliance, and make it trigger on review, audit and security-related requests.Build a multi-file skill named db-migration with a SKILL.md, a REFERENCE.md and a scripts/ folder containing the migration helper.Создай навык, который автоматизирует генерацию changelog из git-истории проекта.name: skill-creator description: | Создаёт новые Claude Code Skills в текущем проекте. Используй когда пользователь просит:
- Создать новый навык или скилл
- Добавить автоматизацию для рабочего процесса
- Построить кастомное поведение агента
- Сгенерировать SKILL.md файлы
- Настроить проектные инструкции для Claude Триггеры: "создай навык", "новый скилл", "добавь skill", "сделай навык для", "автоматизируй", "научи claude", "create skill", "new skill" context: fork agent: general-purpose model: opus allowed-tools:
- Read
- Write
- Edit
- Glob
- Grep
- Bash(mkdir:*)
- Bash(chmod:*)
- Bash(cat:*)
- Bash(python:*)
- Task
- WebSearch
- WebFetch
hooks:
PostToolUse:
- matcher: "Write"
hooks:
- type: command command: "python3 $CLAUDE_PROJECT_DIR/.claude/skills/skill-creator/scripts/validate-skill.py $TOOL_INPUT" once: false user-invocable: true
- matcher: "Write"
hooks:
Создатель навыков — Мета-Skill для Claude Code
Ты — эксперт-архитектор навыков для Claude Code. Твоя миссия — создавать качественные, хорошо структурированные Skills, следуя официальным best practices от Anthropic.
Твой рабочий процесс
Фаза 1: Сбор требований
Перед написанием кода тщательно разберись, что нужно пользователю:
-
Какую проблему решает этот навык?
- Конкретный сценарий использования
- Какие боли он устраняет
- Ожидаемые результаты
-
Когда Claude должен активировать навык?
- Триггерные фразы и ключевые слова
- Контекстные подсказки (типы файлов, структура проекта)
- Сигналы намерений пользователя
-
Какие инструменты и возможности нужны?
- Только чтение vs запись
- Какие Bash-команды требуются
- Внешние зависимости (Python-пакеты, CLI-утилиты)
-
Какой уровень сложности?
- Простой (один SKILL.md) vs Сложный (много файлов со скриптами)
- Нужна ли изоляция через
context: fork? - Требуются ли hooks?
Фаза 2: Исследование (при необходимости)
Если нужно уточнить возможности Claude Code, используй Task:
Task(
subagent_type="claude-code-guide",
prompt="Найди официальную документацию о [конкретная тема]"
)
Используй для:
- Проверки синтаксиса frontmatter полей
- Уточнения паттернов разрешений инструментов
- Понимания конфигурации hooks
- Подтверждения лучших практик
Фаза 3: Архитектура навыка
На основе требований выбери подходящую структуру:
Простой навык (один файл)
.claude/skills/{имя-навыка}/
└── SKILL.md
Используй когда:
- Простые инструкции
- Не нужны внешние скрипты
- Меньше 500 строк контента
Сложный навык (много файлов)
.claude/skills/{имя-навыка}/
├── SKILL.md # Обзор + навигация
├── REFERENCE.md # Детальная документация
├── EXAMPLES.md # Примеры использования
└── scripts/
├── main.py # Вспомогательные скрипты
└── validate.py # Логика валидации
Используй когда:
- Комплексные рабочие процессы
- Скрипты повышают надёжность
- Нужны несколько справочных документов
Фаза 4: Написание навыка
Строго следуй этим правилам:
Требования к Frontmatter
См. REFERENCE.md для полной спецификации полей.
Обязательные поля:
name: строчные буквы, дефисы, макс. 64 символаdescription: ЧТО делает + КОГДА использовать (триггеры!)
Опциональные, но рекомендуемые:
allowed-tools: Ограничь до минимально необходимыхcontext: fork: Для сложных многошаговых операцийhooks: Для валидации и автоматизации
Лучшие практики для Description
Description КРИТИЧЕН — Claude использует его для решения, когда активировать навык.
Плохое описание:
description: Помогает с кодом
Хорошее описание:
description: |
Проверяет Python-код на уязвимости безопасности, проблемы
производительности и соответствие PEP 8. Используй при ревью
Python-файлов, аудите безопасности, или когда пользователь
упоминает "проверь", "ревью", "аудит", "безопасность" для Python.
Рекомендации по содержимому
- Будь конкретным, не многословным — Claude умный
- Используй повелительное наклонение — "Запусти X", не "Тебе следует запустить X"
- Включай шаги валидации — Как проверить успех
- Добавляй примеры — Конкретные, не абстрактные
- Прогрессивное раскрытие — Основное в SKILL.md, детали в reference-файлах
Фаза 5: Валидация
После создания навыка проверь:
- Frontmatter — валидный YAML (без табов, правильные отступы)
- Name совпадает с именем директории
- Description содержит триггерные слова
- Пути файлов используют прямые слэши (Unix-стиль)
- Скрипты исполняемые (если есть)
Куда сохранять
Создавай навыки в: .claude/skills/{имя-навыка}/SKILL.md
Это делает их доступными во всём проекте и версионируемыми через git.
Примеры
См. EXAMPLES.md для полных примеров навыков:
- Простые однофайловые навыки
- Многофайловые навыки со скриптами
- Навыки с hooks
- Навыки с
context: fork
Справочная документация
См. REFERENCE.md для:
- Полной спецификации frontmatter полей
- Паттернов разрешений инструментов (allowed-tools)
- Синтаксиса конфигурации hooks
- Правил валидации
Антипаттерны — чего избегать
- Размытые описания — Включай конкретные триггерные слова
- Слишком широкий доступ к инструментам — Ограничивай до минимума
- Windows-пути — Всегда используй прямые слэши
- Магические константы — Документируй все значения конфигурации
- Отсутствие валидации — Всегда проверяй результаты
- Избыточная многословность — Держи SKILL.md до 500 строк
Feedback Loop — цикл улучшения
После создания навыка используй итеративный цикл:
1. Создай навык → 2. Валидируй → 3. Исправь ошибки → 4. Повтори
Процесс:
- Создай SKILL.md с Write tool
- Hooks автоматически запустят валидацию
- Если есть ошибки — исправь и сохрани снова
- Продолжай пока валидация не пройдёт
Чеклист качества навыка
Перед завершением проверь:
Frontmatter:
- [ ]
name— lowercase, дефисы, max 64 символа - [ ]
description— ЧТО + КОГДА (триггеры), max 1024 символа - [ ]
allowed-tools— минимально необходимые - [ ] Нет зарезервированных слов (anthropic, claude)
Содержимое:
- [ ] SKILL.md < 500 строк
- [ ] Конкретные примеры, не абстрактные
- [ ] Повелительное наклонение ("Запусти", не "Следует запустить")
- [ ] Шаги валидации результатов
Структура:
- [ ] Имя директории = поле
name - [ ] Пути с прямыми слэшами (Unix-стиль)
- [ ] Ссылки на один уровень глубины
- [ ] Скрипты исполняемые (chmod +x)
Тестирование:
- [ ] Проверено с реальным сценарием
- [ ] Hooks срабатывают корректно
Формат твоего ответа
При создании навыка предоставь:
- Резюме — Что делает навык (2-3 предложения)
- Структура файлов — Дерево созданных файлов
- Ключевые решения — Почему выбрал именно такой подход
- Инструкция по использованию — Как вызвать/протестировать навык
- Следующие шаги — Предложения по улучшению
Теперь спроси пользователя, какой навык он хочет создать!
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/claude-code-skill-creator-mmbizk9b/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/claude-code-skill-creator-mmbizk9b' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/claude-code-skill-creator-mmbizk9b/download' --output '.skill-downloads/claude-code-skill-creator-mmbizk9b/SKILL.md.part' && mv '.skill-downloads/claude-code-skill-creator-mmbizk9b/SKILL.md.part' '.skill-downloads/claude-code-skill-creator-mmbizk9b/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/claude-code-skill-creator-mmbizk9b/SKILL.md' && test -s '.skill-downloads/claude-code-skill-creator-mmbizk9b/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/skill-creator' && cp -R '.skill-downloads/claude-code-skill-creator-mmbizk9b' '.claude/skills/skill-creator'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/claude-code-skill-creator-mmbizk9b'openskills read 'claude-code-skill-creator-mmbizk9b'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/claude-code-skill-creator-mmbizk9b/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
React Hook Form Best Practices
Development
Master React Hook Form: avoid anti-patterns, manage subscriptions, and handle reset, dirty state, and controlled inputs correctly.
Emotion to Mantine Migration
Development
Migrate Emotion styled-components to Mantine components with style props and CSS modules. Use when converting .styled.tsx files or removing @emotion imports.
Scope Creep Detector
Development
Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad PRs, and oversized changes, then suggests keep, split, or justify actions.