Command Palette

Search for a command to run...

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

deft-directive-setup

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

Set up a new project with Deft Directive framework standards. Use when the user wants to bootstrap user preferences, configure a project, or generate a…

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

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

Deft Directive Setup

Agent-driven alternative to directive init plus setup Phases 1-3 (task project:render / spec interview).

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

When to Use

  • User says "set up deft", "configure deft", or "bootstrap my project"
  • User asks to create USER.md, PROJECT-DEFINITION.xbrief.json, or a specification
  • User clones a deft-enabled repo for the first time with no config
  • User says "revisit experimental rules", "toggle experimental meta", "enable SOUL", "disable morals", or wants to change Experimental Rules after bootstrap (#46)

Opt-out flag (.no-deft-directive) (#2926)

! Before Pre-Cutover Detection Guard, Phase 1, or any install/setup step, check the project root for .no-deft-directive (exact lowercase name; presence = flag; empty or short # comment OK).

Condition Action
Flag present Stop. Tell the human: "Directive disabled via .no-deft-directive". ⊗ Offer install, session ritual, or setup interview.
Flag absent, no Directive deposit (.deft/core) ? Ask whether to use Directive. On no → create root .no-deft-directive (optional one-line rationale) and stop. On yes → continue setup and ⊗ create the flag.
Operator says stop using DD Create .no-deft-directive. ⊗ Auto-delete .deft/ (explicit cleanup only).
Operator says start using DD Remove .no-deft-directive and ensure install (directive init / deposit).

! Flag is root-only (workspace root opened). Nested monorepo package roots are out of scope for v1. ! Flag wins locally over trusted-org / product-signal force-on (v1). ! Flag + deposit = inconsistent: warn loudly; doctor diagnoses; do not silently refresh. See content/docs/no-deft-directive.md.

Consumer-first default (#1813)

! Assume the operator is using Deft in their project (consumer path). Proceed directly to the Pre-Cutover Detection Guard and Phase 1 — do NOT open with a contributor-vs-consumer fork.

~ The overwhelming majority of setup sessions are consumer installs; contributor onboarding is a separate, opt-in path (see below).

Contributor / framework-maintainer path (secondary)

? Only enter this branch when the user explicitly says they are working on Deft itself (framework source checkout, deftai/directive clone, or maintainer tooling).

When that happens:

  1. ! Tell the user: "Contributor setup lives in CONTRIBUTING.md and this repo's root AGENTS.md. The Go installer is deleted — use the Node/pnpm maintainer workflow in CONTRIBUTING.md, not deft-install."
  2. ⊗ Continue the consumer USER.md / PROJECT-DEFINITION interview — the maintainer path does not use the first-session consumer flow.
  3. Stop here unless the user explicitly asks to continue with consumer setup anyway.

Pre-Cutover Detection Guard

! Before proceeding with any setup phase, detect whether the project uses the pre-v0.20 document model and redirect to migration if so.

Detection Criteria

A project is pre-cutover if ANY of the following are true. When in doubt, run task verify:pre-cutover (the deterministic helper).

  1. SPECIFICATION.md exists and is neither a deprecation redirect nor a current generated spec export. A current generated spec export contains <!-- Purpose: rendered specification --> and <!-- Source of truth: xbrief/specification.xbrief.json -->, and xbrief/specification.xbrief.json plus all five lifecycle folders exist.
  2. PROJECT.md exists and contains neither the legacy <!-- deft:deprecated-redirect --> sentinel NOR the current Purpose: deprecation redirect canonical-banner marker (same one-release-cycle grace window).
  3. xbrief/specification.xbrief.json exists but the lifecycle folders (xbrief/proposed/, xbrief/pending/, xbrief/active/, xbrief/completed/, xbrief/cancelled/) do NOT exist

Action on Detection

! If pre-cutover state is detected, stop immediately and display an actionable message pointing at the frozen-release migration path (#2068):

"This project uses the pre-v0.20 document model. Current npm releases no longer ship in-product task migrate:vbrief. Follow UPGRADING.md § Frozen pre-v0.20 document-m

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

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

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

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

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

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

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

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

FAQ

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

Set up a new project with Deft Directive framework standards. Use when the user wants to bootstrap user preferences, configure a project, or generate a project specification. Walks through setup conversationally — no separate CLI needed.

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

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

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

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

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

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