create
Scaffolds a new block directory in a block-structured project. A `block` is the basic collaboration unit in a block-structured project, which contains all…
от LegoX★ 45 звёзд на GitHub
Установить create в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
/root:create
Scaffolds a complete block directory — the standard collaboration unit in a block-structured project. For the full block definition, refer to resources/BLOCK_DEFINITION.md bundled in this plugin (sibling of this skills/ folder).
What you produce
<block_name>/
├── CLAUDE.md
├── config.yaml
├── dashboard/
│ └── overview.mdx
├── repos/ ← only if repos are declared; git submodules live here
├── memory/
│ └── notes.md
├── scripts/
│ ├── start.sh
│ ├── dryrun.sh
│ └── clean.sh
├── artifacts/
│ └── index.yaml ← archives/ created at first run
└── blocks/
A complete example is in resources/example_block/ bundled in this plugin — an sft_training leaf block with inputs, outputs, a remote resource, and a git submodule repo. Read it when you need a concrete reference.
How to get started (tell the user this first)
When a user asks to create a block, explain the two ways they can provide the information:
Option A — Fill in the intake form (recommended for new users or complex blocks)
Copy
resources/BLOCK_INTAKE.mdfrom this plugin into your project, fill it in, and paste it back. The agent will scaffold everything from it.
Option B — Chat interactively
Just describe your block — what it does, what it needs, what it produces, where to put it. The agent will ask follow-up questions and scaffold immediately.
If the user already provided enough information (name, role, location), skip this explanation and go straight to scaffolding.
Interview
If going the chat route, collect the following in a single conversational message. Skip anything the user already answered.
Required:
- Name — short snake_case identifier (e.g.
data_curation,sft_training) - Role — one sentence: what does this block do?
- Parent — name of the parent block, or
nullif this is the root - Children — names of direct child blocks, or
[]if leaf - Where to create it — directory path where the block folder should be created
Optional (ask, but accept null): 6. Inputs — runtime values needed before running (API keys, dataset paths, hyperparameters). For each: name and description. 7. Outputs — values produced after a run. For each: name and description. 8. Resources — remote node IP, credentials, storage path (null = local execution) 9. Repos — code repos attached to this block (name, URL or local path, commit ID, role)
If the user says "just scaffold it" or seems in a hurry, fill in sensible placeholders and proceed.
Scaffolding
Once you have the answers (from the intake form or the interview), create all files in one pass. Do not ask for confirmation — just write.
config.yaml
meta_info:
name: <name>
label: <human-readable label, title-case of name>
description: <role sentence>
parent: <parent or null>
blocks: {}
# parent blocks: one entry per child with a role one-liner ONLY — no wiring here
# <child1>: {role: "<one phrase>"}
dependencies:
# this block's own upstream AND downstream edges; both keys always present.
from: {}
# this block's OWN upstream hand-offs; keep {} when the block has no upstream
# <input.dot.path>: <src>.output.<key>
# <input.dot.path>: {from: <src>.output.<key>, when: {<input.dot.path>: <value>}, required: false}
to: {}
# this block's OWN downstream hand-offs (mirror of a consumer's `from`); keep {} when none
# <output_key>: <consumer>.input.<their.dot.path>
# <output_key>: {to: <consumer>.input.<their.dot.path>, when: {<consumer>.input.<path>: <value>}}
repos:
# omit section if no repos
<repo_name>:
name:
commit_id:
role:
environment:
venv_name: # the virtual env to be used
venv_path: # the path to this virtual env
requirements: # from where the virtual env is built
description:
resources:
ip: <ip or null>
pwd: <pwd or null>
directory: <null> # by default it's the current directory if this is not on another server
description: the server where you should by default work at ${directory}
public_storage:
runtime_info:
input:
<input_name>: human # <description>; `human` = user must fill, "" = env/auto-supplied
# one entry per declared input; omit section if none
output:
<output_name>: # one entry per declared output; omit section if none
description: <description>
path: <block-relative path> # static outputs; use `value: null` for run-produced ones
CLAUDE.md
Concise agent contract, under 60 lines. Include:
- Block name and one-sentence role
- Parent block and children (if any)
- What to read first (
config.yaml, thendashboard/overview.mdx) - Input/output contract: what values to read from
runtime_info.input, what to write toruntime_info.output - Repos: list any repos under
repos/and their purpose; note each is a git submodule pinned to a specific commit - How to r
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл create?
Scaffolds a new block directory in a block-structured project. A `block` is the basic collaboration unit in a block-structured project, which contains all necessary information about its role, repos, scripts and artifacts. Use this skill whenever the user wants to create a new block, add a block, set up a new project unit, or initialize a block directory. Triggers on phrases like "create a block", "add a block", "scaffold a new block", "initialize a block for X", "make a block called Y", or any request to set up a new unit in a block-structured repo. Don't wait for the user to say "block" explicitly — if they describe wanting to create a new project unit, module, or agent workspace with inputs/outputs/scripts, use this skill.
Как установить скилл create?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл create запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…