Command Palette

Search for a command to run...

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

tt-create-build-loop

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

Writes a project's unattended build-loop prompt, `prompts/autonomous-build-loop.md`, which a dynamic `/loop` re-reads every iteration to plan, implement and…

mhylleот mhylle★ 20 звёзд на GitHub

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

tt-create-build-loop

Contents

Reference files (open one when a step points to it):

  • references/lessons-catalogue.md: Lessons catalogue
  • references/loop-template.md: Autonomous build loop — plan, implement, verify (TaskTracker-driven)
  • references/placeholders.md: Placeholders and optional blocks
  • references/token-tooling.md: The bundled token-usage tooling

Writes prompts/autonomous-build-loop.md for a project: the prompt that /loop runs, one iteration at a time, while the owner is away. Each iteration orients in TaskTracker, decides the next piece of work, plans or implements it through subagents, closes phases only through a zero-error gate, records cost, and schedules the next iteration — stopping only when the project is done or everything left needs the owner.

The template was generalised from a loop that built a real product across dozens of phases. Its rules are kept as general rules, each with a one-line "Why"; the full incidents are in references/lessons-catalogue.md. This skill is interactive: it runs in the main conversation and asks the user questions.

When to use it

  • The project is tracked in TaskTracker (a plan exists, or the loop's first iterations will make one with /tt-create-plan), and the owner wants it built unattended over many iterations.
  • A loop file exists and needs regenerating after the project changed shape (a remote, CI or a deploy was added).

Not for: running one phase (/tt-implement-phase), a measured workflow run with projections (/tt-workflow-run), or a project without TaskTracker.

Skill names in this file are bare; when the skills come from the devflow plugin, invoke them with the devflow: prefix (/devflow:tt-create-plan).

Files

Path What
references/loop-template.md The loop, with {{PLACEHOLDERS}} and optional blocks (<!-- if:flag -->…<!-- end:flag -->, also inline)
references/placeholders.md Every placeholder and flag: meaning, source (detect / ask / derive / bootstrap), how to find it, default
references/lessons-catalogue.md Each rule with the incident behind it
references/token-tooling.md The bundled tooling: what it installs, how it counts, its tests
references/example-values.json A fictional project's values file, in the shape the renderer reads
scripts/render-template.mjs Fills a template from a values file; fails closed on undecided flags, typos and leftovers
scripts/install-token-tooling.mjs Installs the tooling; plans first, writes nothing on any conflict
assets/run-orch-gate.sh Template of the gate runner the loop uses (scripts/run-orch-gate.sh <sha> <log>)
assets/token-usage/ The tooling itself, with its tests (node --test tooling/token-usage/test/*.test.mjs)

Below, $SKILL is this skill's directory and $SP a scratch directory (the session scratchpad when there is one).

Procedure

0. Preconditions

  • The TaskTracker MCP tools are available. Without them, stop and say so: the loop cannot run without TaskTracker.
  • The working directory is inside a git repo (git rev-parse --show-toplevel). If it isn't, offer git init and stop until the user decides.
  • node --version is 22 or later; the scripts need it.
  • The gate runner can run on this machine: bash --version and git --version both work, since the runner is a bash script that gates in a git worktree (on Windows, Git Bash or similar on PATH). If either fails, stop and say so. The runner checks its remaining prerequisites itself (pgrep or its fallback, timeout) and reports a missing one as run-orch-gate: refused: … with exit 2; step 6's pre-flight gate run on HEAD surfaces that, and it gets fixed before the loop starts. Why: otherwise the first sign of a missing tool is a failed gate at the first phase close, hours into an unattended run.

1. Detect what can be detected

Gather everything below before asking anything. Start $SP/build-loop.values.json in the shape of references/example-values.json and fill in each value as you find it. references/placeholders.md says where every placeholder comes from.

Repo

  • Root: git rev-parse --show-toplevel. Remote: git remote -v. With a remote: `gh repo view --json nameWithOwner,visi
Полный SKILL.md на GitHub

Установить tt-create-build-loop в Claude Code и Claude Desktop

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

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

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

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

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

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

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

assets/run-orch-gate.shassets/token-usage/gitignore.snippetassets/token-usage/scripts/pricing.jsonassets/token-usage/scripts/token-usage.mjsassets/token-usage/settings-hooks.jsonassets/token-usage/tooling/token-usage/README.mdassets/token-usage/tooling/token-usage/src/agents.mjsassets/token-usage/tooling/token-usage/src/aggregate.mjsassets/token-usage/tooling/token-usage/src/cli.mjsassets/token-usage/tooling/token-usage/src/collect.mjsassets/token-usage/tooling/token-usage/src/dedupe.mjsassets/token-usage/tooling/token-usage/src/discover.mjsassets/token-usage/tooling/token-usage/src/format.mjsassets/token-usage/tooling/token-usage/src/ingest.mjsassets/token-usage/tooling/token-usage/src/lock.mjsassets/token-usage/tooling/token-usage/src/log.mjsassets/token-usage/tooling/token-usage/src/parse.mjsassets/token-usage/tooling/token-usage/src/pricing.mjsassets/token-usage/tooling/token-usage/src/summary.mjsassets/token-usage/tooling/token-usage/src/tasktracker-events.mjsassets/token-usage/tooling/token-usage/src/tasktracker-push-state.mjsassets/token-usage/tooling/token-usage/src/tasktracker-push.mjsassets/token-usage/tooling/token-usage/src/timeline.mjsreferences/example-values.jsonreferences/lessons-catalogue.mdreferences/loop-template.mdreferences/placeholders.mdreferences/token-tooling.mdscripts/install-token-tooling.mjsscripts/render-template.mjs

FAQ

Что делает скилл tt-create-build-loop?

Writes a project's unattended build-loop prompt, `prompts/autonomous-build-loop.md`, which a dynamic `/loop` re-reads every iteration to plan, implement and verify TaskTracker phases under a zero-error phase gate, with a human-only queue and a per-phase cost ledger. Detects what it can (repo, visibility, stack, gate and CI commands, docs and ADRs, memory, lessons, the TaskTracker project and its phases), asks only what it can't (owner, decision precedence, sibling repos, production, standing authority, human-only work, machine quirks), creates the human-queue and cost-ledger phases only if missing, optionally installs the bundled token-usage tooling, and fills a template whose rules each carry the incident that taught them. Use when the user wants to set up an autonomous build loop, create or regenerate the loop prompt, or make a project build itself overnight. It writes the loop and does not run it; tt-workflow-run drives a measured workflow run instead, and tt-implement-phase runs a single phase.

Как установить скилл tt-create-build-loop?

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

Скилл tt-create-build-loop запускает скрипты?

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

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

Сравнить tt-create-build-loop с