К основному содержанию
скилл CX Codex

article-prompts-to-skills — скилл для Claude Code: как установить

Скилл превращает статьи, туториалы и наборы промптов в готовые пакеты AgentSkills с тестами и демо. Он нужен, когда идеи интерфейсов и рабочие процессы пора перенести из текста в код.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add MengTo/Skills --skill article-prompts-to-skills -a claude-code
Открыть на GitHub

Что делает article-prompts-to-skills

Скилл разбирает исходную статью на независимые механики и отсекает чужой брендинг, стили и разметку. Сначала агент создаёт таблицу экстракции, где сопоставляет промпты статьи с изолированными возможностями. Если исходник дан в виде сырого HTML без готовых промптов, сначала придётся применить $html-to-interaction-prompts.

На выходе формируется каталог agent-skills/<category>/<skill-name>/. Внутри создаются манифест SKILL.md с описанием шагов от первого лица, конфиг agents/openai.yaml и папка demo/ с работающим index.html, скриншотом и файлом PROMPT.md. Для работы шаблонизатора потребуется установленный инициализатор skill-creator.

Скилл запрещает сдавать работу без интерактивной проверки в браузере. Перед коммитом запускается скрипт quick_validate.py, проверяются адаптивность от 390px до 1440px и доступность с клавиатуры. В git попадают только файлы нового пакета, а чужие правки остаются нетронутыми.

Какие задачи решает

  • разобрать туториал или статью на автономные переносимые скиллы
  • сформировать структуру пакета с SKILL.md, agents/openai.yaml и демо-файлами
  • написать три обязательных примера промптов в PROMPT.md
  • проверить HTML-демо на адаптивность и доступность скриптом quick_validate.py

Примеры запросов агенту

  • Преврати промпты и секции из этой статьи в набор готовых скиллов
  • Собери переносимый скилл из описания этого паттерна интерфейса с рабочим демо
  • Упакуй туториал по анимациям в автономный навык агента с проверкой в браузере

Как установить article-prompts-to-skills

1Через Skills CLI (Vercel)

npx skills add MengTo/Skills --skill article-prompts-to-skills -a claude-code

2Вручную: положить файлы

~/.claude/skills/article-prompts-to-skills/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/article-prompts-to-skills/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о article-prompts-to-skills

Как установить article-prompts-to-skills в Claude Code?

Запустите команду npx skills add MengTo/Skills --skill article-prompts-to-skills -a claude-code. Манифест скилла сохранится в ~/.claude/skills/article-prompts-to-skills/SKILL.md.

Что делает article-prompts-to-skills?

Скилл выделяет из статей и туториалов изолированные механизмы поведения и упаковывает их в структуру AgentSkills. Для каждого навыка создаются инструкция, адаптивное демо на HTML, скриншот и примеры промптов.

Что нужно для валидации созданного скилла?

Потребуется запустить скрипт quick_validate.py из skill-creator, открыть HTML-демо в браузере в разрешениях от 390px до 1440px и убедиться в отсутствии ошибок в консоли.

Исходный текст

SKILL.md · MIT
---
name: article-prompts-to-skills
description: Convert an article, tutorial, or prompt pack into focused reusable AgentSkills, one independent capability per skill, with portable instructions, example prompts, working demos, preview screenshots, validation, gallery updates, and a narrow commit. Use when the user asks to turn an article's prompts, tutorial sections, design patterns, interactions, or workflow ideas into complete skills rather than leaving them as prose.
---

# Article Prompts to Skills

Turn source prompts into small, demonstrable capability packages. Preserve the useful behavior, not the source page's brand or layout.

## 1. Inspect Before Extracting

1. Read the repository instructions and the complete source article.
2. Run `git status --short`; preserve unrelated work.
3. Inventory every explicit prompt, heading, example, asset, and acceptance criterion.
4. Search existing `SKILL.md` files for overlapping capabilities before creating folders.
5. If the source is raw HTML and the prompts do not exist yet, use `$html-to-interaction-prompts` first, then return here.

Do not infer a family of skills from a title alone. Trace each proposed skill to source evidence.

## 2. Build an Extraction Ledger

Create a working table before editing files:

| Source prompt | Reusable capability | Keep | Remove | Skill name | Demo proof |
| --- | --- | --- | --- | --- | --- |

Apply these boundaries:

- Create one skill per independently reusable behavior.
- Merge steps only when separating them would make either step unusable.
- Update an existing skill when its contract already covers the capability.
- Skip decorative or editorial fragments that do not create a repeatable method.
- Name skills after the outcome or mechanism, never after the source article.

## 3. Extract the Portable Contract

Keep the source's successful mechanics:

- behavior and state transitions;
- data model and parameter defaults;
- timing, easing, spacing, and responsive rules;
- accessibility, reduced-motion, and keyboard behavior;
- performance constraints and failure modes;
- acceptance checks that prove the result.

Remove source-specific packaging:

- brand names, marketing copy, and proprietary content;
- page layout that is unrelated to the capability;
- hard-coded palettes, assets, and selectors;
- incidental implementation choices that do not affect the outcome.

The result must transfer to a different subject, layout, and visual system without rewriting the core instructions.

## 4. Package Every Skill

Initialize every new folder with the installed `skill-creator` initializer, then complete this contract:

```text
agent-skills/<category>/<skill-name>/
  SKILL.md
  agents/openai.yaml
  references/          # only when detailed reusable guidance is needed
  assets/ or scripts/  # only when the workflow genuinely reuses them
  demo/
    index.html
    PROMPT.md
    preview.jpg
    input.md            # required for workflow skills
    expected-output.md  # required for workflow skills
```

Write `SKILL.md` in imperative form. Keep only `name` and `description` in frontmatter. Put all trigger phrases in the description. Keep operational steps, constraints, pitfalls, and validation commands in the body.

Write `agents/openai.yaml` from the final skill:

- use a human-readable display name;
- keep the short description between 25 and 64 characters;
- make the default prompt explicitly invoke `$skill-name`.

## 5. Write Three Useful Example Prompts

Put these headings in `demo/PROMPT.md`:

### Minimal prompt

Invoke the skill and ask for one clear outcome.

```text
Use $skill-name to add <capability> to <target>.
```

### Recreate the demo

Describe the reference experience, implementation contract, deliverables, and acceptance checks. Specify what must remain local and self-contained.

### Remix prompt

Change the subject, content, palette, and composition while preserving the mechanism, accessibility behavior, responsive rules, and performance contract.

Read [references/example-packages.md](references/example-packages.md) for visual, mixed-source, and workflow examples.

## 6. Build Proof, Not Decoration

Make every demo original, self-contained, and inspectable:

- demonstrate the core mechanism on the first screen;
- use realistic content instead of labels such as “demo card”;
- add controls only when they expose meaningful states;
- support 390px through 1440px layouts;
- use semantic HTML and visible focus states;
- provide reduced-motion behavior for animated work;
- keep dependencies local and avoid a build step unless the skill requires one;
- use `input.md` and `expected-output.md` for nonvisual workflows.

Never treat a screenshot as the implementation. The HTML demo must work.

## 7. Validate the Complete Package

Run validation in proportion to the artifact:

1. Run the skill creator's `quick_validate.py` on every new or changed skill.
2. Run repository demo validation and any targeted syntax checks.
3. Open each demo in the permitted browser at desktop and mobile sizes.
4. Exercise the primary interaction, keyboard focus, and reduced-motion path.
5. Confirm the console is clean.
6. Capture a real browser preview at the repository's shared dimensions.
7. Rebuild the demo and screenshot galleries, then validate again.
8. Scan changed files for secrets, tokens, private paths, and private client data.

Do not claim visual or interaction verification from static file inspection alone.

## 8. Commit Only the Task

Stage the new skill folders and the gallery files they require. Review `git diff --cached --stat` and `git diff --cached` before committing. Leave pre-existing dirty files untouched.

Report:

- the source-to-skill mapping;
- the example prompt and demo paths;
- validation and browser evidence;
- the commit hash;
- unrelated dirty files that remain outside the commit.

## Failure Modes

- **Page clone:** copying the source layout instead of extracting the mechanism.
- **Mega-skill:** combining independent prompts into one vague skill.
- **Micro-fragments:** turning every sentence into a skill without reusable behavior.
- **Theme lock-in:** hard-coding the source's palette, assets, or copy.
- **Prompt-only package:** omitting a functioning demo and preview.
- **Fake proof:** claiming interaction verification without exercising it.
- **Dirty-tree spillover:** staging unrelated modifications or generated files.

© MengTo · MIT · MengTo/Skills

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

Все скиллы по теме «Настройка агента: память, контекст, субагенты» →
skill-from-github GBSOSS Ищет на GitHub зрелые проекты под вашу задачу, разбирает их устройство и превращает знание в новый скилл. CX Codex +1 477установок skill-creator mrgoonie Помогает писать новые скиллы и переделывать существующие: структура файлов, метаданные, скрипты, разбивка на части. CX Codex +1 356установок canghe-article-illustrator freestylefly Разбирает статью по структуре, находит места, где нужна картинка, и генерирует иллюстрации по двум осям: тип и стиль. CX Codex +1 518установок baoyu-article-illustrator JimLiu Анализирует текст статьи, выбирает места для картинок и готовит иллюстрации в едином стиле. Пригодится, когда нужно визуально оформить материал прямо через агента. CX Codex +1 31 900установок article-writing affaan-m Помогает писать статьи, гайды и рассылки в заданном авторском тоне. Пригодится для длинных текстов, когда важны структура и опора на факты. CX Codex +1 5 200установок technical-article-writer samber Помогает писать технические статьи, туториалы и разборы багов для разработчиков. Скилл проводит интервью по теме и предлагает десять вариантов заголовков. CX Codex +1 4 700установок

Из того же набора148

agency-grid-layout-minimal Задаёт направление для минималистичного сайта агентства: строгая сетка, крупная типографика и сдержанные изображения. Пригодится при сборке редакционного интерфейса без карточной перегрузки. CX Codex +1 1 400установок unicorn-studio Помогает встроить интерактивные WebGL-сцены из Unicorn Studio на сайт: контейнер, адаптивный размер, производительность, слои с текстом и видео. CX Codex +1 1 400установок skeuomorphic-ui Скилл генерирует CSS для скевоморфных веб-интерфейсов: объёмных кнопок, переключателей и панелей. Пригодится, когда карточкам и контролам нужна тактильная глубина без глянца. CX Codex +1 1 400установок background-grid-webgl Скилл для ИИ-агента, который рисует перспективную WebGL-сетку на фоне: тонкие линии, лёгкая пыль частиц, медленный дрейф вперёд. CX Codex +1 1 500установок build-mobile-threejs-games Скилл для сборки и проверки Three.js-игры под мобильный веб: тач-управление, адаптивный HUD, бюджеты производительности. CX Codex +1 1 300установок design-game-encounters Скилл для проектирования и настройки боёв в экшн-играх на Three.js: арены, враги, волны, фазы боссов. CX Codex +1 1 300установок design-action-combat Скилл помогает настраивать тактическую боёвку для веб-игр через детерминированные стейт-машины. Пригодится при расчёте окон парирования, кадров запуска и регистрации попаданий. CX Codex +1 1 300установок build-game-audio-feedback Помогает агенту спроектировать звуковые подсказки для Three.js или браузерной игры: попадания, блоки, музыка по состояниям. CX Codex +1 1 300установок

Спонсоры проекта

Компании, которые помогают держать аналитику открытой