Логотип Deployment

Deployment

Сообщество
nahid-sparktales
deployment

Prepare and run a release you can explain and undo — exact artifact identity, environment parity, config and secrets, a rollout strategy matched to blast radius, and a preflight that names the abort condition in advance. Use when planning or performing a deploy, building a release path, or when someone says "ship it" and the steps are not written down anywhere. Not for proving the deployed thing is healthy (release-verification) or for getting back out (rollback), and it never treats a green build or an approved plan as permission to deploy.

Обзор

Издательnahid-sparktales
Репозиторийagent-dispatcher
Название навыкаdeployment
Звёзды
58
Форки
5
Файлы в комплекте
1
ЛицензияMIT
Ссылки
  • Инструкции в формате Markdown

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

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

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

  • Файлы в комплекте: 1

    Скрипты, шаблоны и справочные материалы, которые модель может читать во время работы. Файлы доступны только для чтения и никогда не выполняются.

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

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

Установка

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

1

Установка в TypingMind

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

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

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/nahid-sparktales/agent-dispatcher.git /tmp/agent-dispatcher
mkdir -p .claude/skills
cp -r /tmp/agent-dispatcher/skills/devops/deployment .claude/skills/deployment
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

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

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

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

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

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

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

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

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

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

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

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

Deployment

A release has two halves that get conflated constantly: preparing it, which you can do freely, and executing it, which is an outward-facing action against a system other people depend on. This skill covers both and keeps the line between them visible.

When this fires

A change is heading for an environment other people use, or the path that takes it there is being built or changed. It does not fire for running something locally, and it does not fire while an incident is in progress — restoring service outranks release process.

Procedure

  1. Name the artifact exactly. A commit SHA, an image digest, a build number — something that resolves to one immutable thing. "main", "latest" and "the current branch" are not artifact identities; they are queries whose answer changes while you work. Everything downstream, from the rollback target to the verification, depends on this being pinned.

  2. Read the delivery path that already exists before designing one. CI config, deploy scripts, the platform's own project settings, and however the last release actually went out. Most "we need a deploy pipeline" tasks are really "the existing one has one gap."

  3. Write down how the target environment differs from where you tested. Data volume and shape, scale and replica count, feature-flag values, external dependencies and their credentials, network egress, region. Parity is never total — the value is in naming the deltas, because every deploy surprise lives in one of them.

  4. Reconcile configuration and secrets against the target. Every config key the new revision reads must already exist in that environment, with a value that is valid there. A missing variable typically fails at boot, which is after traffic has been pointed at it. Secrets stay references — never inline in a manifest, a log line, a commit, or your report. If a secret needs to be created or rotated, that is the user's action, not yours; say which one is missing.

  5. Order the steps that cannot be reordered. Schema before code, and backward-compatible in both directions so old and new run side by side during the rollout; feature flag off before the code that reads it ships; a consumer that understands a new message shape before the producer emits it. Expand, migrate, contract — in separate releases. See migrations for the schema half.

  6. Pick the rollout strategy the blast radius justifies, and know what each one costs:

    • Replace in place — simplest, has a real gap of downtime, fine for internal or low-traffic.
    • Rolling — no downtime, but old and new serve simultaneously, so both must tolerate the same schema, the same cache entries and the same in-flight jobs.
    • Blue-green — a whole second environment, instant cutover, instant switch back; costs double capacity and needs shared state to work for both sides.
    • Canary — a fraction of traffic first, judged on real signals; only meaningful if you have per-revision telemetry to judge it with, and a stated threshold decided before you look.
  7. Write the preflight and the abort condition together. Preflight: build and tests green on this artifact, migrations applied and verified, config present, dependencies reachable, the rollback target named and still deployable. Abort condition: the specific signal and threshold that stops the rollout mid-flight. Decide it now — the moment to define "bad enough to stop" is never while watching it happen.

  8. Rehearse in a non-production environment whose differences from production you listed in step 3. A staging deploy proves the mechanism, not the outcome; it does not transfer to production, and saying so is part of the report.

  9. Stop at the line. Preparing is complete; executing is a separate, authorized act. Present: the artifact id, the target environment, the strategy, the steps that cannot be undone, the rollback path and its rehearsed duration, and anything you could not check. Then ask, in the same message, for explicit approval to run it. Production deploys, package publication, DNS changes and infrastructure destruction each need their own yes — an earlier "ship it" does not cover a step the user has not seen. If approval does not come, the deliverable is a prepared release, and it is reported with that word.

  10. Execute with the record open. One timestamped line per command with its actual output. Never run a deploy step whose failure mode you have not thought about. If a step fails midway, stop and reconcile what actually happened before re-running anything that could create a duplicate release, a second resource, or a half-migrated state.

  11. Hand off to verification. The deploy command exiting zero is the end of this skill, not the end of the release. Go to release-verification before the word "deployed" becomes "working".

Checklist

  • Artifact pinned to an immutable id, used everywhere downstream
  • Existing delivery path read before anything new was written
  • Environment deltas from the test environment written down
  • Every config key present in the target; secrets by reference only
  • Irreversible ordering handled — schema, flags, producers and consumers
  • Strategy chosen against blast radius, with its cost stated
  • Preflight checks and an abort threshold written before starting
  • Rollback target named, and rehearsed or explicitly marked unrehearsed
  • Execution approval asked for separately, per consequential action
  • Timestamped record of what ran and what it returned

Failure handling

  • A preflight check fails — that is the result. Report it and stop. A preflight you waive is not a preflight.
  • The rollout fails partway — do not retry blindly. Establish which instances are on which revision first; a retry over an unknown state is how you get three revisions serving at once.
  • The deploy tool reports success but you cannot confirm it — report exactly that. "The command succeeded" and "the new revision is serving" are different claims, and the second belongs to release-verification.
  • You lack access to the target environment — say so and deliver the prepared release. Do not route around missing access with credentials found in the repository.
  • Approval is ambiguous — treat it as absent. Ask once, plainly, naming the exact action.

Evidence to report

The artifact id and the environment, named together. The strategy and why that one. The preflight results, each as its own line. What ran, when, and what it returned. Which steps are irreversible and what the rollback path is. Then the honest verb: prepared, executed, or executed and handed to verification — never "deployed" as a stand-in for "working".

Файлы в комплекте

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

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

Что делает навык ИИ Deployment?

Prepare and run a release you can explain and undo — exact artifact identity, environment parity, config and secrets, a rollout strategy matched to blast radius, and a preflight that names the abort condition in advance. Use when planning or performing a deploy, building a release path, or when someone says "ship it" and the steps are not written down anywhere. Not for proving the deployed thing is healthy (release-verification) or for getting back out (rollback), and it never treats a green build or an approved plan as permission to deploy.

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

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

Как установить Deployment в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/nahid-sparktales/agent-dispatcher/tree/main/skills/devops/deployment. TypingMind прочитает файл SKILL.md, включит сопутствующие файлы в пакет и установит навык, который можно включать отдельно для каждого чата.

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

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

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

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

Бесплатен ли навык ИИ Deployment?

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

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

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

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

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

Все

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

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