create-tasks
Launch Curator task generation from existing per-language PR ID files after preflight passes. This skill does not collect PRs. It runs `legoflow-curator…
от LegoX★ 45 звёзд на GitHub
Установить create-tasks в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
/curator:create-tasks
Preflight and launch SWE task generation. Curator is a leaf block: this
skill runs commands inside blocks/curator/ and does not dispatch to
child blocks.
Production modes consume the fixed
artifacts/collected_prs/{language}_pr_ids.txt paths used by
scripts/create_<lang>.sh. If a required pool is missing, run
/curator:collect-prs first and wait for its background collector to finish.
Changing pr_collection.output_dir does not change the create scripts' input
paths. Smoke mode is independent: it uses the submodule's bundled sample PR
file instead of the block's collected pool.
Step 0 - Orient
Validate:
- Current directory is
blocks/curator/. config.yamlhasmeta_info.name == "curator".scripts/start.shand the requiredscripts/create_<lang>.shfiles exist.repos/legoflow-curator/is initialized and installable.
Read config.yaml, CLAUDE.md, and memory/quick-verify.md before choosing a
mode.
Step 1 - Refuse duplicate live runs
Before launching, check for existing Curator work owned by this block. Scope
the match to the current block path or this block's artifact paths so older
jobs in a separate checkout such as $HOME/LegoFlow Curator do not block this run:
BLOCK_DIR="$(pwd -P)"
pgrep -af 'legoflow-curator create|scripts/create_.*\\.sh|scripts/create_all_bg\\.sh' \
| grep -F "$BLOCK_DIR" || true
If a run is alive, refuse to start another. Report the PID, elapsed time,
and likely log path under artifacts/logs/legoflow-curator-create/. Tell the user
to let it finish or stop it before retrying.
Step 2 - Choose the run mode
Resolve the user's natural-language request into one mode:
| Mode | Use when | Command shape |
|---|---|---|
smoke |
First run, "quick verify", "smoke", "one task", or "10 PRs". | legoflow-curator create against the submodule sample PR file, with --max-pr 1, --n-concurrent 1, --min-source-files 1, and output under artifacts/experiments/quick-verify/. |
single-language |
The user names one language: py, js, ts, go, c, cpp, java, or rust. |
bash scripts/create_<lang>.sh after confirming tuned params from scripts/read_params.py. |
full |
The user says all languages, pipeline, or gives no narrower scope. | Pick by llm_api.cc_provider_mode in config.yaml: bash scripts/start_with_anthropic_api.sh for native (real Claude / Anthropic-format gateway, no proxy), bash scripts/start_with_openai_api.sh for openai_proxy (starts the local LiteLLM proxy first, then runs start.sh). Both delegate to scripts/start.sh -> scripts/create_all_bg.sh, which starts one worker per language whose enabled is true. |
If the request implies config changes, such as "32 tasks" or "more concurrency", show the exact proposed config/env override and wait for confirmation before changing or launching.
Step 3 - Preflight
Run /curator:check logic first. For smoke, include the Harbor sample
validation unless the user explicitly skips it. Abort on any blocking
failure:
- config/package install failed
- GitHub tokens unavailable
- LLM completion ping failed
- CC proxy down while
cc_provider_mode=openai_proxy(verification would fail silently) - Docker unavailable
scripts/dryrun.shfailed- requested smoke validation failed
The LLM completion ping is mandatory; never proceed to legoflow-curator create
after only scripts/dryrun.sh. If the LLM ping returns 401 Invalid token,
ask for a replacement API key, mirror it to OPENAI_API_KEY and
ANTHROPIC_API_KEY only in the current shell, and rerun preflight before
launch. Do not edit inputs to make preflight pass.
For openai_proxy, run bash scripts/setup_cc_proxy_env.sh once and use
scripts/cc_proxy_lib.sh (the smoke drivers do this automatically). If the
configured port belongs to another process, choose a free
LEGOFLOW_CURATOR_CC_PROXY_PORT; never reuse a merely live but unrelated proxy.
Claude Code runs with an isolated ignored HOME so user-level plugins and stale
credentials cannot override the explicit gateway.
Step 4 - Show run configuration and confirm
Print a compact summary and ask for explicit confirmation:
curator create-tasks configuration
mode : <smoke|single-language|full>
languages : <list>
input PRs : <path>
output tasks : <path>
state dir : <path>
timeout : <per-language timeout>
cc_timeout : <per-language cc timeout>
concurrency : <per-language n_concurrent>
validation : NOP + Oracle via Harbor
logs : artifacts/logs/legoflow-curator-create/
archive : full only; none for smoke/single-language
Never launch a full or single-language run without an explicit "yes". Smoke can run in the foreground after confirmation; long runs default to background.
Step 5 - Launch
Smoke
Use the fixed sample PR list carried by the submodule, but write ou
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл create-tasks?
Launch Curator task generation from existing per-language PR ID files after preflight passes. This skill does not collect PRs. It runs `legoflow-curator create`, performs NOP/Oracle verification, and appends verified task IDs to `verifiable_tasks.txt`. Per-language launches use `bash scripts/create_<lang>.sh` (tuned `--timeout`, `--cc-timeout`, `--n-concurrent`, `--state-dir`). Long-running (hours per language). For a first-time end-to-end smoke before committing to a full run, this skill can drive a 10-PR `--max-pr 1` flow that attempts to produce one verified task ID. Full mode archives launcher exit into `artifacts/index.yaml` via `scripts/archive_run.sh`; smoke and single-language modes do not archive. Triggers on phrases like "create Curator tasks", "generate Curator SWE tasks", "start Curator task generation", "smoke-test Curator task creation".
Как установить скилл create-tasks?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл create-tasks запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…