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★ 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:
- ! Tell the user: "Contributor setup lives in
CONTRIBUTING.mdand this repo's rootAGENTS.md. The Go installer is deleted — use the Node/pnpm maintainer workflow in CONTRIBUTING.md, notdeft-install." - ⊗ Continue the consumer USER.md / PROJECT-DEFINITION interview — the maintainer path does not use the first-session consumer flow.
- 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).
SPECIFICATION.mdexists 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 -->, andxbrief/specification.xbrief.jsonplus all five lifecycle folders exist.PROJECT.mdexists and contains neither the legacy<!-- deft:deprecated-redirect -->sentinel NOR the currentPurpose: deprecation redirectcanonical-banner marker (same one-release-cycle grace window).xbrief/specification.xbrief.jsonexists 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
Установить 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), без исполняемых скриптов.
Похожие скиллы
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