write-a-skill
БесплатноЗапускает вложенные скриптыНе проверенAuthor, lint, and publish skill packages that satisfy the library authoring standard. Use when creating a new skill, reviewing a skill PR, or fixing one that…
от borghei★ 1 250 звёзд на GitHubОб этом скилле
Write A Skill
The meta-skill for building skill packages. It turns standards/skill-authoring-standard.md
from a document you agree with into a gate you can run: scaffold the package, write a
description that actually activates, place content in the right file, and lint against all
11 patterns before anyone reviews it. Most rejected skills fail on two things — a
description nothing matches, and a SKILL.md carrying content that belonged in references/.
When to use this skill
- Creating a new skill from a one-line idea and needing the package structure right the first time
- Reviewing a skill PR and wanting a mechanical pass before spending attention on judgement
- Fixing a skill that never activates despite being well written — almost always a description problem
- Splitting an oversized SKILL.md that has crept past 500 lines
- Auditing a whole domain for description collisions after adding several neighbouring skills
- Onboarding a new author who needs the standard operationalised rather than explained
- Writing for an agent reader — deciding whether a skill is user-only, building a thin skill that chains others, or tightening
AGENTS.md/CLAUDE.md
Scope rule
Under Pattern 9 this skill is self-contained except for one permitted outbound
reference: standards/skill-authoring-standard.md. Standards apply library-wide, so
citing them does not create a cross-skill dependency. Nothing here may point at
another skill's files.
Clarify First
Before scaffolding, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.
- Trigger sentences: the literal phrases a user would type; they set the description, which decides whether the skill ever activates.
- Nearest existing skills: determines whether this should be a new package or an extension of one that already owns the trigger space.
- Generative or advisory: generative skills need the Clarify First gate; advisory ones may include it when their advice depends on inputs users often leave out.
- What the scripts compute: a skill whose scripts only reformat user input will not clear the 40% time-saving bar.
Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.
Quick Start
python3 engineering/write-a-skill/scripts/skill_lint.py --skill <domain>/<skill> --strict
python3 engineering/write-a-skill/scripts/description_audit.py --domain <domain> --min-score 70
Workflows
Workflow 1 — Scaffold a new package
- Write the description first, before any other content. If you cannot express the trigger set in 240 characters, the skill's scope is still too broad — narrow it.
- Fill in a spec JSON: name, title, description, category, domain, script names, and whether the skill is generative.
- Run the scaffolder with
--dry-runto inspect the file plan, then again to write it. - Fill every
TODOmarker. The scaffold is deliberately unshippable until you do.
python3 engineering/write-a-skill/scripts/skill_scaffold.py \
--input engineering/write-a-skill/assets/sample_skill_spec.json \
--out engineering --dry-run --format text
The scaffolder refuses specs whose description exceeds 240 characters or lacks a
Use when clause. That refusal is the point — it stops you building 4,000 lines of
package around a skill that will never activate.
Workflow 2 — Audit descriptions for activation and collision
- Run the auditor across the target domain, or against a JSON list while drafting.
- Fix anything scoring under 70: budget overruns, missing
Use when, filler adjectives. - Read the collision report. Any pair above 0.50 overlap means an assistant is guessing between them — either merge the skills or re-cut their triggers so each owns distinct vocabulary.
python3 engineering/write-a-skill/scripts/description_audit.py \
--input engineering/write-a-skill/assets/sample_descriptions.json \
--min-score 70 --collision-threshold 0.5 --format text
Exit codes: 0 all pass, 1 any description scores below --min-score (the CI gate),
2 bad input (missing file or directory, invalid JSON, wrong shape). Point
--domain engineering at a whole directory to audit every shipped description at
once; it walks nested skill folders and reads folded (>, >-), literal (|),
quoted and plain description values.
Workflow 3 — Lint before review
- Run the linter in
--strictmode so warnings fail too. - Fix errors in pattern order — P2 and P1 findings first, since frontmatter and description problems invalidate everything downstream.
- Re-run until clean, then run each workflow's bash block verbatim and paste the output into the PR. A skill whose own examples were never executed is not done.
- Hand the reviewer
Установить write-a-skill в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл write-a-skill?
Author, lint, and publish skill packages that satisfy the library authoring standard. Use when creating a new skill, reviewing a skill PR, or fixing one that never activates.
Как установить скилл write-a-skill?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл write-a-skill запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic