hoc-deployment-document
Write a deployment runbook through conversation with whoever will run it, for a server you manage, a managed container service or a serverless function. Use…
от openreachtech★ 17 звёзд на GitHub
Установить hoc-deployment-document в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Deployment Document
A skill for writing a deployment runbook, through conversation with the person who will run it.
The output is not a description of the finished server. It is a document someone follows line by line, on a system that is already serving real traffic. Each line says what to run, what the right output looks like, and what to do when the output is something else.
Core principle: the document protects every moment in between, not the end state
A deployment is not a jump from one good state to another. It is a sequence of steps, and a running system passes through every state in between. After any step, the code that is live right now and the data that exists right now must still work.
Everything else in this skill comes from that:
- Write a schema change so that the code already deployed still works afterwards.
- When you rotate a secret, accept both the old and the new one for a while.
- Mark every step you cannot undo, and put a backup step right before it.
- A release with no way back is not finished.
A runbook that only works when every step succeeds is not a runbook. It describes the happy path, and nobody opens the document when things are going well.
The skill is not finished until the operator approves
The document has two states, recorded in its header.
| State | Meaning |
|---|---|
DRAFT |
Written, but not yet confirmed by the person who will run it. Do not deploy from it. |
APPROVED |
They have read it and confirmed it. It may be followed. |
- Never mark a document
APPROVEDfor them. - A document with an open question cannot be
APPROVED. Either answer the question, or drop the step and record it as out of scope.
Procedure
Work through the five phases in order. Do not skip to drafting.
| # | Phase | What happens |
|---|---|---|
| 1 | Settle the profile | Ask what the target actually is: hosting, what runs the application (a server you manage, a managed container service or a serverless function), then the rows that follow from it. Those are OS, edge and process manager for a server, and database, secrets and TLS for all. See interview.md. |
| 2 | Read what exists | If the system is already running, read its current unit files, edge configuration, applied migrations and deployed tag before asking about them. |
| 3 | Design for compatibility | Decide, per step, whether it is reversible, whether it interrupts service, and whether it can coexist with the code already deployed. See compatibility.md. |
| 4 | Draft | Produce the document from the template. See document-template.md. |
| 5 | Approve | Present it, ask for confirmation, then set the state to APPROVED. |
- Phase 2 keeps phase 1 short. If you can read it off the server or out of the repository, do not ask. Asking spends the operator's attention on something you could have looked up.
- Phases 1 and 3 repeat. Two or three rounds is normal.
Rules for the conversation
- Group questions by topic and ask about five at a time. A list of twenty gets one answer.
- Give every question a suggested answer, so the operator can agree instead of writing. This
skill assumes a server you manage with Ubuntu LTS, nginx, systemd, git on the server, a
.envfile and Let's Encrypt, see interview.md. - Always ask two questions, because no default is safe for either. Is this a first build, or a release onto a system already running? And how much downtime is allowed?
- If you ask something and get no answer, put it in the document as an open question. Never write a guess as though it were decided.
Every step states how it is verified
If you cannot confirm a step worked, it is not a step. Every step carries all seven of these:
| Field | Why it is not optional |
|---|---|
| Purpose | One line. If nobody can say why a step is there, nobody can safely skip it or move it. |
| Preconditions | What must already be true. This is what lets someone check the order is right. |
| Command | Exactly what to run. Chapter 0 lists what every placeholder means. |
| Expected output | What the screen shows when it worked. Without it, people read "it ran" as "it worked". |
| On failure | What to do. Not "investigate" — which log to open, and which step to go back to. |
| Rollback | How to undo it. If it cannot be undone, say so in those words. |
| Interrupts service? | Yes or no. The operator needs to know before running it, not after. |
The document is in two parts
Building the server the first time and releasing to it are different jobs. People read them at different times, in a different frame of mind. Put them in one sequence and the person doing their fortieth release has to scroll past thirty steps that ran once, a year ago.
| Part | Read | Holds |
|---|---|---|
| I — first-time build | Once | The instance, |
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/cloud-and-network.md
- references/compatibility.md
- references/document-template.md
- references/interview.md
- references/ubuntu-nginx-profile.md
FAQ
Что делает скилл hoc-deployment-document?
Write a deployment runbook through conversation with whoever will run it, for a server you manage, a managed container service or a serverless function. Use when the user asks for deployment steps, a release procedure or a hosting setup document. Executing the deployment and building the CI/CD pipeline are out of scope.
Как установить скилл hoc-deployment-document?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл hoc-deployment-document запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
AnthropicUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
xlsx
AnthropicUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
pptx
AnthropicUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…