Логотип Cdd Spec Writer

Cdd Spec Writer

Сообщество
Oscaner
cdd-spec-writer

Independent spec-writer -- Node-anchored flow with digraph as single control-flow source of truth. Consumes the /superpowers:brainstorming(pi:/skill:brainstorming) (writing-spec) design flow inline as this session's baseline, then authors the target spec (single-spec / phase-spec / overall — one parameterized flow), commits it before the review-fix loop, and runs the loop following the engine's next face — the engine's next directive carries the pipeline continuation. Callable standalone; invoke as kairos:cdd-spec-writer(pi:/skill:cdd-spec-writer).

Add to TypingMind

Обзор

ИздательOscaner
Репозиторийskills
Название навыкаcdd-spec-writer
Звёзды
63
Форки
0
Файлы в комплекте
Только инструкции
ЛицензияMIT
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Всё необходимое — в инструкциях

    Всё необходимое для модели содержится в инструкциях — никаких дополнительных файлов для синхронизации.

  • Открытый исходный код

    Издатель навыка на GitHub — Oscaner. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Cdd Spec Writer в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/Oscaner/skills/tree/main/packages/kairos/skills/cdd-spec-writer
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Oscaner/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/packages/kairos/skills/cdd-spec-writer .claude/skills/cdd-spec-writer
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Cdd Spec Writer в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Cdd Spec Writer, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Cdd Spec Writer не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

Kairos CDD-Spec-Writer

Writes the target spec from the writing-spec import — single-spec / phase-spec / overall under one parameterized flow (the schema target + scope gates + authoring differ by variant; the review-fix rhythm and the Invariants are the single shared skeleton) — commits it before reviewing under the cdd spec contract; on closure the engine's next: face carries the pipeline continuation.

Invocation discipline — every engine command runs as a background dispatch: launch it in the background and await the completion notification — never poll — then read the full output (stdout/stderr). Output filtering is forbidden — no piping to tail/head, no 2>&1 |, no EXIT=$? capture. Round rhythm — one review pass per dispatch; a fix round re-enters the review while the route is not done; commit the authored spec before the first review round; ensure the working tree is clean before entering review (dirty → BLOCKED; the orchestrator writes no tree during dispatch). Failure face — cross-node failure handling lives in the Failure Modes table below (the single source); node Fail entries keep only local behavior.

Flow Digraph

Node Definitions

run-writing-spec-session

  • Do: Import /superpowers:brainstorming(pi:/skill:brainstorming) (writing-spec import); it lands the design decisions this target spec will capture. The target (single-spec / phase-spec / overall) is the session parameter: it selects the schema target, the scope gates and the handoff of the flow
  • Read: nothing before the import; the import lands the design + the target
  • Exit: Import landed → author-spec
  • Fail: Upstream superpowers plugin missing → BLOCKED (no downgrade, no skip, no inline restatement)

author-spec

  • Do: Write the target spec document from the session output — overall lands in docs/kairos/overalls/, phase-spec and single-spec in docs/kairos/specs/ — generate the canonical skeleton first for the target type (npx -y @oscaner-skills/cdd-engine@latest schema get <overall|phase-spec|single-spec> --output skeleton <target path>) and fill its slots in place; the structure stays as generated. The landed document carries its identity in the front-matter slug: key (the engine keys the workspace and the board on it, never on the file name); a phase-spec additionally carries program: — the parent overall's slug:, the phase's attribution to its program. Per the target variant:
    • single-spec — the free-form spec form; the docs-lane doc-contract gate asserts the version-lineage on every reviewed spec
    • phase-spec — the phase scope is an increment only: when the phase scope changed vs the parent overall, sync the parent overall (Issue/Phase inventory + Dependency graph + version bump + change history) BEFORE writing (the four-table sync ordering; the sync is the registration gate, never a silent skip)
    • overall — the phase registration for a new phase is the parent's own table sync (see run-cdd-design's run-cdd-charter · sync)
  • Read: Session output + the target's structural contract (phase-spec/overall variants also read the parent overall)
  • Exit: File written → self-review
  • Fail: Session output unusable or write error → BLOCKED (missing design input)

self-review

  • Do: Review the just-written spec before committing — run five checks, substance first: (1) capture — every design decision the session landed is in the spec, every ruling recorded; (2) sufficiency — could the downstream plan author act without guessing? Name each place where a wrong guess would change what gets built; (3) consistency — doc-type / naming / cross-references agree; (4) failure modes — the design addresses the failure modes and edge conditions it implies; (5) proportion — the spec carries decisions, not a transcript of the work. Then the mechanical tail: zero leftover :::fill markers, zero angle-bracket literals outside link-anchor slots (cheap hygiene the doc-contract gate would otherwise flag). Issues found are fixed inline on the same file; this is a pre-commit self-check inside this flow, not a review round (no next: dispatch, no findings carrier).
  • Read: the written spec document + the session output it was authored from
  • Exit: Self-check clean (issues fixed inline) → commit-spec
  • Fail: Unresolvable defect needing upstream design input → BLOCKED (missing design input)

commit-spec

  • Do: git add the spec + conventional commit.
  • Read: The committed spec file path
  • Exit: Commit complete → NEXT-LOOP
  • Fail: Git error → report + fail-open (do not block user spec review)

NEXT-LOOP

  • Do: Run the review-fix rhythm for the authored spec — one review per pass. Dispatch the review round on the current ref (npx -y @oscaner-skills/cdd-engine@latest review --type spec --spec <path>); dispatch the output's next: line as written — the literal is the route: a fix dispatch consumes the findings handoff, a closure ends the flow (follow the engine's next: literal — for a phase/overall spec it routes the next pipeline entrypoint); a BLOCKED/TIMEOUT round carries no next: line — its reason rides stderr for reporting.
  • Read: the review output — its conclusion and the next: line, plus the findings handoff path
  • Exit: the next: line routes the next pipeline entrypoint (a skill ref / the pipeline terminus) → the flow ends (the engine's next: literal carries the next pipeline entrypoint when one exists); each fix pass re-enters this hub while the route is not terminal — the engine's next: literal has not yet handed the orchestrator off (the until next is terminal self-loop)
  • Fail: Re-running a review after a closure conclusion → violates Review Convergence (stop + report)

Invariants

#Invariant
I1Review Convergence (next: is the dispatch) — a review closes by its conclusion (APPROVED / CHANGES_REQUESTED / REVIEW_FIX), and the output's next: line carries the engine's default next step as a complete executable command; read the next: line and dispatch it as written — the literal is the dispatch, no kind→command mapping layer. A mid-backfill or a user adjudication that lands governs over the suggestion (current world state wins). Fixes always dispatch via the fix round, consuming the findings handoff; the orchestrator must not edit in place as a substitute; a fix commit opens a new review, never a re-run of a closed one
I2Spec commit discipline — the authored spec commits before the first review round; each fix round commits its own changes — approval closes the loop on a committed state; do not wait for dev merge
I3Mid-Flight Backfill — a user-raised backfill of overall/spec/plan docs surfaced while a dispatch is in flight lands through four ordered steps on the current call's return: (1) land immediately — hot context, no deferral; (2) commit on its own — a standalone change, never mixed with implementation commits; (3) pause the loop until clean — an uncommitted backfill trips the next review's entry gate (dirty → BLOCKED); (4) audit in-band on resume — the next review audits the backfill in-band; a backfill rewriting the current task's own plan/spec text routes through the orchestrator's plan write authority

Failure Modes

failurebehaviorreason
Upstream superpowers plugin missingBLOCKED (install superpowers — see the kairos README's installation table)Block policy: no silent fallback
review re-run after a closure conclusion (REVIEW_FIX / APPROVED)Violates I1 (Review Convergence) — stop + report to userA fix commit opens a new review, never a re-run of a closed one
Git commit errorreport + fail-openDo not block user spec review
Completed round with no next: line (not BLOCKED/TIMEOUT)HARD_ERROR — report the carried reason, re-run the same command to continueNo dispatchable next

Часто задаваемые вопросы

Что делает навык ИИ Cdd Spec Writer?

Independent spec-writer -- Node-anchored flow with digraph as single control-flow source of truth. Consumes the /superpowers:brainstorming(pi:/skill:brainstorming) (writing-spec) design flow inline as this session's baseline, then authors the target spec (single-spec / phase-spec / overall — one parameterized flow), commits it before the review-fix loop, and runs the loop following the engine's next face — the engine's next directive carries the pipeline continuation. Callable standalone; invoke as kairos:cdd-spec-writer(pi:/skill:cdd-spec-writer).

Зачем использовать Cdd Spec Writer в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Cdd Spec Writer — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Cdd Spec Writer в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/Oscaner/skills/tree/main/packages/kairos/skills/cdd-spec-writer. TypingMind прочитает файл SKILL.md и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Cdd Spec Writer?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Cdd Spec Writer?

С любым количеством. В TypingMind вы можете использовать Cdd Spec Writer с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Cdd Spec Writer?

Да. Навык опубликован на GitHub по лицензии MIT. Издатель — Oscaner. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇