Command Palette

Search for a command to run...

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

deft-directive-sync

БесплатноБез исполняемых скриптовНе проверен

Session-start framework sync and upgrade handoff. OVPR path: npm i -g @deftai/directive then directive install / upgrade / install --repair / doctor…

deftaiот deftai★ 32 звезды на GitHub

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

Deft Directive Sync

Session-start framework sync and upgrade handoff -- OVPR install management via the global launcher + project verbs, validate xBRIEF lifecycle structure, detect stale origins (RFC D12), then finish SCM release handoff in a named terminal state (#1604 / #5490).

Canonical bootstrap / update path (OVPR / AC10.10 / #5490): Install the global launcher once: npm i -g @deftai/directive (or @latest when refreshing the launcher). Node >= 20 is required (22/24 supported). From the project root: directive install (first pin + setup; alias init), directive upgrade (move pin / migrate data; alias update), directive install --repair when wiring is broken but the pin should stay (AC9.7: npm i -g @deftai/directive then directive install --repair), directive uninstall, and directive doctor. There is no copied .deft/core/ deposit — pointers resolve under node_modules/@deftai/directive-runtime/. The Go installer (cmd/deft-install/, deft-install, platform install-*) is deleted — do not download or run it (AC10.10). Legacy Python-launcher / task upgrade are metadata-only. Git-submodule / task framework:doctor paths are back-compat only — Phases 1-2 below are the legacy update flow. Install success is not upgrade released; Phase 8 records one terminal state: released | pr-open | blocked:<reason>. See UPGRADING.md / README.

Legend (from RFC2119): !=MUST, ~=SHOULD, ≉=SHOULD NOT, ⊗=MUST NOT, ?=MAY.

Platform Requirements

! This skill requires GitHub as the SCM platform and the GitHub CLI (gh) to be installed and authenticated for origin freshness (Phase 5) and for the PR path of Phase 8 SCM release handoff. Origin freshness checks fetch issue data via REST-equivalent gh surfaces (prefer gh api repos/<owner>/<repo>/issues/<N> over GraphQL-heavy forms when under rate pressure; #954).

When to Use

  • User says "good morning", "update deft", "update directive", "upgrade framework", "update xbrief", or "sync frameworks"
  • Beginning of a new session where framework updates may be available
  • After a known upstream deft / @deftai/directive release
  • After a successful local deposit when the default branch still lacks the framework update

Missing CLI / PATH remediation

! When directive, deft, or the global npm bin is missing from PATH (or npm i -g @deftai/directive@latest has not been run), surface actionable install remediation first:

npm i -g @deftai/directive@latest

(or the pnpm equivalent: pnpm add -g @deftai/directive@latest). Then re-run directive install --repair / directive upgrade / directive doctor as appropriate (AC9.7).

⊗ Send the operator to manual GitHub release-asset archaeology or the deleted Go installer (deft-install) as a current path — OVPR npm + directive install / upgrade / install --repair is the only remediation (AC10.10 / #5490).

Session orientation — unmanaged header (#2065)

! The region of AGENTS.md above the <!-- deft:managed-section ... --> marker is project-owned, preserved verbatim on refresh, and not freshness-checked by deft doctor.

  • ! Do NOT treat that unmanaged header as the work queue — consult deft triage:queue, xbrief/ lifecycle, GitHub issues, and PROJECT-DEFINITION.xbrief.json instead (#1149, #2065 Option A).
  • ⊗ Do NOT add or revive Status, Next:, or Known Issues blocks in AGENTS.md — they duplicate authoritative sources and rot silently while the managed section stays current.

Framework Events Emitted Here

! When this skill responds to a context-window shift or an explicit "are you using Deft?" probe (per AGENTS.md Deft Alignment Confirmation), emit the paired session:interrupted -> session:resumed framework events via task lifecycle:event so observability of agent-runtime state transitions is structural, not prose-only:

  • ! Before re-confirming alignment: task lifecycle:event -- emit session:interrupted --session-id <id> --reason <enum>
  • ! Immediately after the alignment confirmation line: task lifecycle:event -- emit session:resumed --session-id <id> --interrupted-id <id-from-prior-emit>
  • ⊗ Emit a session:resumed whose interrupted_id does not reference a prior session:interrupted -- such records are orphan and rejected by task lifecycle:event -- validate-pairing (#635 events behavioral wiring)

Pre-Cutover Detection Guard

! Before proceeding with sync, detect whether the project uses the pre-v0.20 document model and report model state.

Detection Criteria

A project is pre-cutover if ANY of the following are true. This prose mirrors th

Полный SKILL.md на GitHub

Установить deft-directive-sync в Claude Code и Claude Desktop

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

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

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

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

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

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

FAQ

Что делает скилл deft-directive-sync?

Session-start framework sync and upgrade handoff. OVPR path: npm i -g @deftai/directive then directive install / upgrade / install --repair / doctor; validates xBRIEF lifecycle, detects stale origins (RFC D12), and finishes SCM release handoff in released | pr-open | blocked:<reason> (#1604 / #5490).

Как установить скилл deft-directive-sync?

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

Скилл deft-directive-sync запускает скрипты?

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

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

Сравнить deft-directive-sync с