Command Palette

Search for a command to run...

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

frontx-project-scaffolding

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

Applies when a developer wants a FrontX project built from what they say they want, rather than from a reference they already hold - for example a console…

constructorfabricот constructorfabric★ 30 звёзд на GitHub

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

Create a FrontX Project from a Stated Intent

The developer says what they want built. This capability delivers a project that holds it.

Nothing in this document knows the name of any template. Everything it chooses among is read from the inventory installed on this machine, at the moment of use, through the frontx executable. A conforming template installed after this document shipped becomes selectable immediately, with no change here.

Boundaries you must not cross

  • Drive the executable, never the package. Every application of a template happens by running frontx. Do not import @gears-frontx/cli, do not call into it, and do not read its inventory storage on disk. What the inventory holds reaches you as the output of a command you ran, and by no other means.
  • Reproduce nothing the CLI owns. Resolution, assembly, the pre-flight conflict check and provenance writing belong to the CLI. Do not re-implement them, pre-empt them, or work around a refusal any of them issue.
  • Write no project file yourself while applying. Until the applications are finished, every file under the target directory is one the CLI wrote.
  • No correction loop. When a command exits non-zero, stop there. Relay the reason that command itself reported, unreinterpreted. Do not retry it, do not adjust the arguments and run it again, and do not run the next command.
  • Refuse rather than guess. When you cannot tell what to apply, say so and write nothing. A project the developer did not ask for is worse than no project.

Step 1 - Read the selectable set

frontx list --json

One JSON line: { "ok": true, "templates": [ ... ] }. Each record carries

  • name - the template's identity, and the argument the apply commands take;
  • ref - the reference the entry is pinned at, taken from the source-spec's @ref segment. Report it in the plan so the developer sees which pinned reference will be applied. It is not the manifest's version field: the two need not agree in form or value, so do not present it as the version and do not derive one from the other;
  • source - the address it was resolved from;
  • description - the template's own statement of what it establishes and what it contributes. The key is absent when the template declares none;
  • manifestUnreadable - present, and only ever true, when the entry's stored manifest no longer satisfies the manifest contract, so no description could be read from it. The listing reports the rest of the inventory rather than failing over one bad record, and marks the bad one this way. Neither entry is selectable, but they are not the same problem and must not be reported as the same one: a template that declares none is working as intended and simply cannot be chosen from an intent, whereas an unreadable manifest is a broken installation the developer can fix by reinstalling that template.

This command is the only source for the selectable set. Do not consult any remote registry, any list built into this document, or the CLI's storage.

Step 2 - Read what the target directory already holds

Read <targetDir>/.frontx/provenance.json. It is a JSON array, one record per already-applied template, each carrying templateIdentity, scaffoldedFromVersion, sourceSpec and occupiedOwnershipBoundary.

Absent or unreadable file means the directory holds no applied template. A directory that already holds records gets no seed - only further templates added.

Absent provenance is not by itself a licence to seed. Seeding writes a whole repository and the CLI refuses it against a target that already holds content, so also check what the path holds. Use exactly the CLI's own rule, so your plan and its answer cannot disagree:

  • does not exist, exists and is empty, or holds only the closed set .git, .DS_Store, Thumbs.db - the plan begins with a seed. A freshly initialized repository holds exactly .git and is seedable; treating it as populated would refuse the most common way to start.
  • exists and is not a directory - a regular file at the target path. Neither seed nor add can use it. Report it and stop; do not offer add.
  • holds any other entry, with no provenance - this is someone's existing work, not a project this flow started. Do not plan a seed against it. Report what was found and put the choice to the developer: a fresh directory to seed into, or frontx add applied to the directory as it stands - saying, when you offer add, that it writes only the ground the template declares and refuses, naming the paths, if any of that ground already holds content, so the existing work is either left alone or reported, never overwritten. Wait for their answer before running anything; the choice of what happens to their existing work is theirs, and a refusal you could have put to them first reads as the flow having tried and failed. Planning
Полный SKILL.md на GitHub

Установить frontx-project-scaffolding в Claude Code и Claude Desktop

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

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

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

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

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

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

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

scripts/verify-walk.mjsverification-checklist.md

FAQ

Что делает скилл frontx-project-scaffolding?

Applies when a developer wants a FrontX project built from what they say they want, rather than from a reference they already hold - for example a console with a stated number of screens - and equally when they want one more unit added to a project that already holds applied templates. Matches the stated intent against what the locally installed inventory declares about itself, drives the frontx executable to apply the chosen set, and then realizes each unit the intent names inside the applied ground.

Как установить скилл frontx-project-scaffolding?

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

Скилл frontx-project-scaffolding запускает скрипты?

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

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

Сравнить frontx-project-scaffolding с