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★ 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@latestwhen refreshing the launcher). Node >= 20 is required (22/24 supported). From the project root:directive install(first pin + setup; aliasinit),directive upgrade(move pin / migrate data; aliasupdate),directive install --repairwhen wiring is broken but the pin should stay (AC9.7:npm i -g @deftai/directivethendirective install --repair),directive uninstall, anddirective doctor. There is no copied.deft/core/deposit — pointers resolve undernode_modules/@deftai/directive-runtime/. The Go installer (cmd/deft-install/,deft-install, platforminstall-*) is deleted — do not download or run it (AC10.10). Legacy Python-launcher /task upgradeare metadata-only. Git-submodule /task framework:doctorpaths 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/directiverelease - 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, andPROJECT-DEFINITION.xbrief.jsoninstead (#1149, #2065 Option A). - ⊗ Do NOT add or revive
Status,Next:, orKnown Issuesblocks 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:resumedwhoseinterrupted_iddoes not reference a priorsession:interrupted-- such records are orphan and rejected bytask 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
Установить 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), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic