Command Palette

Search for a command to run...

Назад к скиллам
скилл № 33555

hex-init

Initialize or reconfigure a project for the hex swarm - audits project context (CLAUDE.md/AGENTS.md) for the knowledge the orchestrators need (how to verify…

БесплатноБез исполняемых скриптов
ocx-shот ocx-sh★ 20 звёзд на GitHub

Установить hex-init в Claude Code и Claude Desktop

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

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

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

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

hex-init — Project Initializer

hex-init audits and bootstraps a project for the hex swarm. Run it only when the user explicitly invokes it — it never triggers itself from another skill's flow. It is re-entrant: every run re-audits, reports drift, and fixes it with the user's consent.

Core stance

Knowledge about the project — how to verify it, where specs, plans, and ADRs live and in what format, which rules carry architectural weight, and what the product is and who uses it — belongs in the project's own context (CLAUDE.md, AGENTS.md, or docs they point to), where every agent and tool already reads it. hex never keeps a second copy of that knowledge; a second source of truth would drift and rot. hex-init is an auditor and provisioner of project context first, and a config writer only for what genuinely belongs to the swarm — model preferences, cross-model review, perspectives of interest. The swarm file (.agents/memory/hex.md) holds only three things: a cache of pointers to where that project knowledge lives, swarm config, and the orchestrators' working memory (see ../hex-core/references/memory.md).

Every fact has exactly one home: useful to any agent → project context; useful only to the swarm → hex.md › Preferences. Never both — project knowledge is recorded in hex.md › Pointers only as a pointer to where it lives, never copied.

The wizard

hex-init runs as an interactive wizard, not a batched form. The single-gate rule (protocol.md) that forbids mid-flow questions governs the four orchestrators, which run long autonomous swarms where an interruption strands parallel workers. hex-init runs no swarm and is exempt — it may ask its questions in sequence. The exemption is narrow and named — hex-init is one of the two skills it covers, each on its own ground; the list is owned by protocol.md § The meta-plan approval gate.

Every question the Flow below asks obeys this shape:

  • Flags are validated before any prompting. A bad flag surfaces its Error:/Fix: up front — it cannot discard a finished wizard walk.
  • [n/N] progress header on each question, its label stating why the step matters, not just the field name.
  • Validation re-prompts in place — a rejected answer re-asks with the validator's error string and prior answers intact; an accepted one echoes back (Added 'reviewer:accessibility' (.agents/workers/)).
  • Detectable answers are never asked — the harness in use, whether .agents/worktrees/ is gitignored, whether a project persona file exists, the verification command, anything answered on a prior run and unchanged. Asking a detectable thing is the tell of a badly designed init.
  • Conditional questions fire only on a Step 1 trigger — the perspectives question only when the audit found a security-sensitive path or a project persona; the research-axes question only when research artifacts exist.
  • Current state prints before the first question; each value carries a [current] label and is its default, and multi-selects are pre-checked from current state.
  • A diff prints before every write — one line per changed key, old → new, derived keys named alongside touched ones.
  • Apply is a separate consent, taken after the diff.
  • Cancellation is always available and aborts with nothing written; every refusal pairs Error: with Fix:.

This replaces the former "one batched approval" in Steps 2 and 4½: the questions are walked in sequence, then one diff and its apply consent gate the write. The non-interactive twin (--yes, -d, and its triggers) is documented under Arguments.

Flow

1. Audit project context

Run the checklist in references/audit.md against the client's project-context file(s) (CLAUDE.md, AGENTS.md, or the client's equivalent) and any docs they point to. Each item carries a de facto discovery hint — scan the places a practiced-but-undocumented scheme actually lives (CI workflows, task runners, docs/adr*, …) and propose adopting what exists via pointer before proposing anything new:

  • Is verification (build/test/lint) documented, or only discoverable by guessing?
  • Is a selective test command documented — one that runs the tests a change affects, rather than the whole suite?
  • Are the project's commit and landing requirements documented — sign-off, signing, message convention, which suites are release-grade, which workflows gate a release? Checked-in files only; this item reads no forge. See references/audit.md.
  • Are spec/plan/ADR conventions documented — location, format, template?
  • Is a spec home documented — a conditional sub-check, asked only when a plan carries an unresolved `## Spec Delt
Полный SKILL.md на GitHub

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

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

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

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

  • assets/templates/adr.md
  • assets/templates/discussion.md
  • assets/templates/goal.md
  • assets/templates/plan.md
  • assets/templates/research.md
  • assets/templates/spec.md
  • references/audit.md

FAQ

Что делает скилл hex-init?

Initialize or reconfigure a project for the hex swarm - audits project context (CLAUDE.md/AGENTS.md) for the knowledge the orchestrators need (how to verify, spec/plan conventions), provisions what is missing into project context, optionally seeds default templates, and bootstraps the AI-maintained swarm memory at .agents/memory/hex.md (cached pointers, orchestration preferences, perspectives of interest). Re-entrant - run again anytime to re-audit pointers or change the setup.

Как установить скилл hex-init?

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

Скилл hex-init запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить hex-init с