Command Palette

Search for a command to run...

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

deft-directive-cost

Pre-build cost & budget transparency phase. Use after the project SPECIFICATION is approved and before the build skill kicks off, to produce a plain-English…

БесплатноБез исполняемых скриптов
deftaiот deftai★ 32 звезды на GitHub

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

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

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

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

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

Deft Directive Cost

Plain-English cost & budget transparency phase between SPECIFICATION approval and build kickoff. Closes the adoption-blocker surfaced by issue #739 (and issue #151 umbrella) where users finished the spec flow and stopped at build because deft offered no cost signal.

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

When to Use

  • After skills/deft-directive-setup/SKILL.md Phase 3 has produced either greenfield authority (xbrief/PROJECT-DEFINITION.xbrief.json plus lifecycle scopes) or an approved full-spec compatibility artifact
  • Before skills/deft-directive-build/SKILL.md kicks off
  • When the user says "cost", "budget", "pre-build cost", "how much will this cost", or asks to estimate cost before building

Audience & Voice

  • ! Non-technical users. Voice is plain English, dollars, and whole numbers. No spreadsheets, no scientific notation, no industry jargon.
  • ! Loose ranges, not single point estimates. Express bands as low / typical / high.
  • ⊗ Use jargon like "TCO", "burn rate", "p50", "OPEX vs CAPEX", "amortised", "blended rate", "unit economics", "FTE", or any other term a non-technical user is unlikely to know.

Methodology lives in references/cost-models.md. The canonical body of the artifact lives in templates/COST-ESTIMATE.md.

Platform Detection

! Before resolving any config paths, detect the host OS from your environment context and resolve the USER.md path:

Platform USER.md default path
Windows %APPDATA%\deft\USER.md (e.g. C:\Users\{user}\AppData\Roaming\deft\USER.md)
Unix (macOS/Linux) ~/.config/deft/USER.md
  • ! If $DEFT_USER_PATH is set, it takes precedence on any platform.

Path resolution mirrors skills/deft-directive-build/SKILL.md so the two skills agree on the user's preferences file.

Inputs

  • ! Resolve the same two-path authority used by task project:export-spec: prefer an existing full-spec artifact, otherwise use xbrief/PROJECT-DEFINITION.xbrief.json plus lifecycle scopes.
  • ! For full-spec authority, require its existing approval contract. For greenfield authority, require the setup approval decision and at least one lifecycle scope; do not require plan.status = "approved" on PROJECT-DEFINITION.
  • ⊗ Require or create xbrief/specification.xbrief.json solely to estimate a greenfield project.
  • ~ templates/COST-ESTIMATE.md (canonical artifact body).
  • ~ references/cost-models.md (methodology).

Phases

Phase 1 -- Read the spec & detect categories

  • ! Read the resolved authority: the full-spec artifact when present, otherwise PROJECT-DEFINITION plus relevant lifecycle scopes.
  • ! Walk the resolved narratives and scope requirements to identify which cost categories apply for this project: hosting / infrastructure, API / third-party fees, pre-flight account sign-ups, build & maintenance time. Drop categories that do not apply.
  • ~ State each category's relevance to the user in one sentence (e.g. "Because the spec says we will use an LLM, the AI / LLM row applies and is usually the largest swing factor").

Phase 2 -- Draft COST-ESTIMATE.md

  • ! Copy templates/COST-ESTIMATE.md into the project root as COST-ESTIMATE.md.
  • ! Fill in each category with a low - typical - high plain-English band. Use whole numbers where the precision does not matter.
  • ! State the scale assumption beside the typical band (e.g. "About 100 active users per day, each doing 5 main actions"). The same project shape can be $10 / month or $10,000 / month depending on traffic, so the assumption is required.
  • ! Roll up into a monthly band (low / typical / high). Keep the roll-up loose -- adding a range to a range gives a range; do NOT collapse to a single number.
  • ! When the high band is more than ~10x the typical band, surface a scale considerations note explaining what would push the project from typical to high (e.g. "media-heavy traffic blows up egress").
  • ! USD-only first pass. The artifact MUST say "USD" up top so international users know to convert.
  • ⊗ Quote single-point estimates ("this will cost $47.12 / month").
  • ⊗ Cite live vendor pricing as if it were a guarantee. The artifact is a snapshot; vendor pricing changes.

Phase 3 -- Read it back to the user

  • ! Show the user the TL;DR, the monthly band (low / typical / high), and the scale considerations note (
Полный SKILL.md на GitHub

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

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

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

FAQ

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

Pre-build cost & budget transparency phase. Use after the project SPECIFICATION is approved and before the build skill kicks off, to produce a plain-English COST-ESTIMATE.md the user can read, react to, and explicitly accept, rescope, no-build, or skip with a recorded reason. Audience is non- technical users; voice is dollars and whole-number bands, not spreadsheets.

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

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

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

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

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

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