run-skill-generator
БесплатноБез исполняемых скриптовНе проверенAuthor or improve the run-<unit> skill - a per-project skill that tells agents how to build, launch, and drive this project's app. Use when the user asks to…
от lza6★ 19 звёзд на GitHubОб этом скилле
Your job is to produce a skill at <unit>/.claude/skills/run-<unit-name>/
that lets a future agent build, launch, and drive this project from
a clean machine.
The skill has two parts that live together:
<unit>/.claude/skills/run-<unit-name>/
SKILL.md <- agent-facing instructions - SHORT. Points at the driver.
driver.mjs <- (or driver.py, smoke.sh, ... - or none: web apps use
chromium-cli off-the-shelf, and the heredoc in
SKILL.md is the script)
That almost always means writing code, not just prose. If the app
has any interactive surface (GUI, TUI, long-running server, REPL), the
future agent needs a programmatic way to poke it. A markdown file by
itself cannot click a button - but sometimes the button-clicker
already exists: for web apps it's chromium-cli, for servers it's
curl. You build (or script) that harness now, commit it alongside
the skill, and the SKILL.md documents how to use it.
Definition of done
You are done when all of these are true:
- You launched the app in this container and interacted with it - not its test suite, the actual running app. For anything with a GUI, that means you have a screenshot file on disk that you took.
- The interaction harness is committed next to the skill. A driver
script, a REPL wrapper, a smoke test, or the
chromium-cliheredoc inline inSKILL.md- whatever you used to drive the app in step 1. (Graduated intoscripts//e2e/? - fine, point at it. Web app withchromium-clioff-the-shelf? - the inline script is the harness; no separate file.) - The
SKILL.mddocuments the harness as the primary agent path - the section a future agent reads first is "run this driver / pipe these commands tochromium-cli," not "runnpm startand a window opens." - Every code block in
SKILL.mdis a command you ran that worked. This session. This container. Not from the README, not inferred.
If you're about to write the skill and you don't have (1), stop. You are about to paraphrase existing docs. That document already exists - it's called the README, and the whole reason you're here is that it wasn't enough.
The deliverables are code AND docs
Typical output is a skill directory containing both:
<unit>/.claude/skills/run-<unit>/
SKILL.md <- SHORT. Points at the driver. Has the frontmatter
that lets Claude auto-load it when someone asks
to "run <unit>" or "screenshot <unit>".
driver.mjs <- (or driver.py, smoke.sh, ... - or none: web apps
use chromium-cli off-the-shelf, and the heredoc
in SKILL.md is the script)
The driver lives inside the skill directory by default. They are a pair - the skill's instructions and the code that implements them. A driver that lives here is allowed to be a bit messier than production code; it's agent tooling, not product surface.
Graduation: if the driver grows into something the project's own
test suite wants to reuse - shared launch helpers, a real e2e harness -
move it to scripts/ or e2e/ and update SKILL.md to reference the
new path. The skill stays; the driver finds a better home.
The exact shape depends on the project, but the principle is constant:
the driver is the deliverable. The SKILL.md is its man page. For
a web app, the driver already exists - chromium-cli
(examples/playwright.md) - and the skill is
the script that runs it. For a desktop app
(examples/electron.md), the driver is a custom
REPL under tmux that exposes launch/ss/click/eval. For a server,
the driver is curl. Whatever shape it takes, without something that
reaches into the running app, the skill is a description of a window
nobody can touch.
Where the skill goes
The skill lives at <unit>/.claude/skills/run-<unit-name>/, where
<unit> is the directory for one deployable thing - an app, a
service, a library.
Claude Code natively discovers skills from nested .claude/skills/
directories: an agent working anywhere inside <unit> will see
/run-<unit-name> as an available skill, and it auto-loads when the
request matches its description (e.g. "run the desktop app," "take a
screenshot of billing").
- Single-project repo:
.claude/skills/run-<repo-name>/at repo root. - Large repo with many apps: one per app, colocated -
apps/billing/.claude/skills/run-billing/,apps/desktop/.claude/skills/run-desktop/. - App with multiple binaries: still one skill at the app's
root with a section per binary. They share setup. Start from the
closest single-binary example and add a
## Run: <name>section per binary.
If you're not sure where the unit boundary is, ask the user.
Slugify the directory name: lowercase, dashes for spaces, no slashes
(run-billing-api, not run-billing/api). The
Установить run-skill-generator в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл run-skill-generator?
Author or improve the run-<unit> skill - a per-project skill that tells agents how to build, launch, and drive this project's app. Use when the user asks to set up the project, get it running, write run instructions, or verify build/run steps work from a clean environment.
Как установить скилл run-skill-generator?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл run-skill-generator запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
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