Command Palette

Search for a command to run...

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

write-agent-skills

БесплатноЗапускает вложенные скриптыНе проверен

Create and maintain Agent Skills. Use when turning a repeatable workflow into a skill, choosing a skill name, or revising, renaming, reviewing, or validating…

narumirunaот narumiruna★ 19 звёзд на GitHub

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

Write Agent Skills

Create or maintain a skill

  1. Read the target repository's rules, nearby skills, discovery configuration, and any model guide that explicitly covers the target model. Use the repository's scaffold if it has one.
  2. Define the task, the result, and what is outside the skill's scope. Start from a successful run, user corrections, or reliable project artifacts such as runbooks, schemas, and failure reports. When fixing an existing skill, reproduce the reported problem if practical. Ask one question only if the purpose, trigger, or location cannot be determined safely.
  3. Choose a name and check the frontmatter against the format and naming rules. Write the description around user intent: say what the skill does and when to load it. Use terms users actually use and distinguish the nearest tasks that do not need the skill.
  4. Write the procedure the agent follows after loading the skill.
    • Keep one sentence per line.
    • If the user’s prompt already defines a workable flow, keep it.
    • Give the agent one default path.
    • Add a step, branch, or exception only if omitting it would change the required outcome, cross an authorization boundary, or leave success unclear.
    • Prescribe the order, approvals, and checks for fragile or irreversible steps; leave flexible decisions to the agent.
    • State what evidence proves the task is done and where to stop.
    • Keep critical rules in SKILL.md and link optional material directly with a condition for loading it.
  5. Add supporting files only when they have a job.
    • Use references/ for details needed on demand and assets/ for templates or other files used in outputs.
    • When creating or revising a bundled Markdown document template, use write-markdown-templates for its filename, structure, and writing prompts if the skill is available.
    • Read script design when adding or changing a command or moving repeatable logic into scripts/.
    • Keep bundled files inside the skill directory; this boundary does not restrict task inputs, outputs, or files in the target repository.
    • Do not add a separate README, changelog, or installation guide unless the framework needs it.
  6. Change the catalog or installation configuration only where the repository uses it for discovery and the change affects it.

Validate and report

  • Run the target repository's checker and required gate for changes.

  • For the portable Agent Skills format, run the bundled skills-ref CLI with uv and Python 3.11 or later. Set skill_root to the absolute path of this trusted skill installation and target_dir to the absolute path of the skill being checked. Run from the trusted skill directory, disable uv config discovery, and isolate Python imports from the target and PYTHONPATH. Editable mode uses the current bundled source, and the first run may download dependencies.

    uv --no-config --directory "$skill_root" run --no-project --isolated \
      --with-editable "$skill_root/scripts/skills-ref" \
      python -I -B -m skills_ref.cli validate -- "$target_dir"
    

    Use the format and naming rules to verify optional field contents and bundled links separately.

  • Exercise changed scripts on safe, realistic inputs.

  • Read skill evaluation when creating a skill, changing its trigger or workflow, or investigating a behavioral failure. Check discovery, activation, and output separately; a format check cannot verify them.

  • Report what changed, which checks ran, and which failed or could not run. Do not claim runtime behavior without observing it.

Handle requests that do not authorize edits

Suggesting names, reviewing, and scoring are read-only unless the user also asks for changes. Use only non-mutating checks for read-only requests.

  • For name suggestions, use the naming rules and lead with one recommendation and its main reason. When asked to rename, follow the rename checks.
  • For review, lead with findings in order of importance and give evidence and a concrete fix for each.
  • Keep numerical ratings and rankings out of normal reviews unless explicitly requested.

Make requested local edits and safe checks without extra approval. Ask before external writes, destructive or costly actions, or a material increase in scope.

Полный SKILL.md на GitHub

Установить write-agent-skills в Claude Code и Claude Desktop

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

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

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

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

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

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

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

references/evaluate-skills.mdreferences/format-and-naming.mdreferences/script-design.mdscripts/skills-ref/LICENSEscripts/skills-ref/README.mdscripts/skills-ref/pyproject.tomlscripts/skills-ref/src/skills_ref/__init__.pyscripts/skills-ref/src/skills_ref/cli.pyscripts/skills-ref/src/skills_ref/errors.pyscripts/skills-ref/src/skills_ref/models.pyscripts/skills-ref/src/skills_ref/parser.pyscripts/skills-ref/src/skills_ref/prompt.pyscripts/skills-ref/src/skills_ref/validator.py

FAQ

Что делает скилл write-agent-skills?

Create and maintain Agent Skills. Use when turning a repeatable workflow into a skill, choosing a skill name, or revising, renaming, reviewing, or validating a skill. This includes fixing discovery, activation, and workflow. Score or numerically compare skills only on explicit request.

Как установить скилл write-agent-skills?

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

Скилл write-agent-skills запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

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

Сравнить write-agent-skills с