Skip to content
Development
Skill

/sap-cutover-runbook

Turn a 200-step cutover Excel into a crash-safe, evidence-stamped tracker — the cutover lead stops doing 3am bookkeeping and answers "are we on the critical path?" instantly. `init` parses the runbook into a draft ledger behind a mandatory human-curation gate; `record` stamps

From plugin
sap-dev
9123 skills3 agents

Claude Code

$ npx -y skills add sapdev-ai/sap-dev --skill sap-cutover-runbook --agent claude-code

SKILL.md

sap-cutover-runbook.SKILL.md
name: sap-cutover-runbook
description: |
  Turn a 200-step cutover Excel into a crash-safe, evidence-stamped tracker — the cutover
  lead stops doing 3am bookkeeping and answers "are we on the critical path?" instantly.
  `init` parses the runbook into a draft ledger behind a mandatory human-curation gate;
  `record` stamps start/done/fail events with machine-read RFC evidence (transport import
  return code from TPALOG, job status from TBTCO, table row counts) — never a screenshot;
  `report` renders the live board with per-phase progress, blockers, and the critical path
  over the remaining dependency DAG; `checkpoint --health` composes an advisory go/no-go with
  a tri-state system-health snapshot (dumps, update backlog, qRFC/tRFC queues, locks, running
  imports). v1 is read-only toward SAP (reads only); `run` auto-execution is v2. Prerequisites:
  /sap-login profiles (one per system named in the plan); SAP NCo 3.1 (32-bit). No Z-object,
  no dev-init — safe to point at a PRD/QAS cutover target.
argument-hint: "init <runbook.xlsx|.docx|.tsv> [--commit --cutover <id>]  |  record <id> <step> <start|done|fail|skip|block|reopen> [--verify]  |  report <id> [--live]  |  checkpoint <id> <name> [--health]"

SAP Cutover Runbook — Tracker-First, Evidence-Stamped

Run the cutover off a crash-safe ledger instead of a hand-typed Excel: parse → curate → stamp events with machine-read RFC evidence → live board with critical path → advisory go/no-go at each checkpoint. **v1 never writes to SAP** (it only reads to verify); execution stays with the existing gated skills (v2 `run`).

Task: $ARGUMENTS

---

Shared Resources

| File | Token / call | Purpose | |---|---|---| | `<SAP_DEV_CORE_SHARED_DIR>/rules/skill_operating_rules.md` | *(rule)* | Mandatory operating rules — read-only here | | `<SKILL_DIR>/references/sap_cutover_ledger.ps1` | `-Action parse\|commit\|record\|state` | Local crash-safe ledger (draft, plan, append-only events, derived state) | | `<SKILL_DIR>/references/sap_cutover_verify.ps1` | `-StepType … [-System …]` | Read-only RFC step verifier (TPALOG / TBTCO / TABLE_CHECK) | | `<SKILL_DIR>/references/sap_cutover_health.ps1` | `-System … -OutDir` | Read-only RFC health snapshot (8 signals) | | `<SKILL_DIR>/references/sap_cutover_report.ps1` | `-OutDir` | Local board + critical path | | `<SKILL_DIR>/references/runbook_column_map.tsv` | map | Customer heading → canonical field synonyms; override `{custom_url}\runbook_column_map.tsv` | | `<SKILL_DIR>/references/cutover_health_defaults.json` | thresholds | Health warn/crit thresholds; override `{custom_url}\cutover_health.json` | | `/sap-login` (Skill tool) | profiles | One RFC profile per `system` named in the plan | | `<SAP_DEV_CORE_SHARED_DIR>/scripts/sap_artifact_lib.ps1` | Step 7 | Artifact index for /sap-evidence-pack |

The **ledger directory `{artifact_dir}\cutover\<id>\` is a deliberate stable-path (Bucket-A) exception**: a different Claude session hours into the flight must find it by predictable path. That is the point — do not relocate it under `{RUN_TEMP}`.

Step 0 — Resolve Work Dir + Ledger Root

powershell -NoProfile -ExecutionPolicy Bypass -Command ". '<SAP_DEV_CORE_SHARED_DIR>\scripts\sap_settings_lib.ps1'; . '<SAP_DEV_CORE_SHARED_DIR>\scripts\sap_connection_lib.ps1'; . '<SAP_DEV_CORE_SHARED_DIR>\scripts\sap_artifact_lib.ps1'; Write-Output ('WORK_DIR=' + (Get-SapWorkDir)); Write-Output ('RUN_TEMP=' + (Get-SapRunTemp))"

Ledger dir `{LEDGER}` = `{artifact_dir}\cutover\<cutover-id>`. Set `{RUN_TEMP}` = the `RUN_TEMP=` value printed above (`Get-SapRunTemp` mints + creates the per-run scratch dir holding the log state file) — for scratch; mint it once here and reuse (re-minting breaks the `-Action end` state-file lookup).

Step 0.5 — Start Logging

powershell -ExecutionPolicy Bypass -File "<SAP_DEV_CORE_SHARED_DIR>\scripts\sap_log_helper.ps1" -Action start -StateFile "{RUN_TEMP}\sap_cutover_runbook_run.json" -Skill sap-cutover-runbook -ParamsJson "{}"

Step 1 — Mode Dispatch

First token = `init` | `record` | `report` | `checkpoint` | `run`. Resolve `<cutover-id>` → `{LEDGER}`. Every mode except `init` hard-fails `CUTOVER_LEDGER_NOT_FOUND` if `cutover.json` is absent (curation not committed → `CUTOVER_CURATION_PENDING`). `run` → **v2**: say `NOT_YET_IMPLEMENTED — auto-execution ships in v2` and STOP.

Step 2 — init (parse → curate → commit)

**Parse.** Read the workbook/doc yourself (the /sap-docs-extract precedent: open the xlsx/docx, dump the raw grid to a TSV under `{RUN_TEMP}` preserving the header row). For a `.tsv` input, use it directly. Then:

C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -File "<SKILL_DIR>\references\sap_cutover_ledger.ps1" -Action parse -Grid "{RUN_TEMP}\grid.tsv" -ColumnMap "<SKILL_DIR>\references\runbook_column_map.tsv" -OutDir "{LEDGER}"

Parse writes `runbook_draft.tsv` + `gaps.md`. Step type is a **PROPOSAL, MANUAL by default, never guessed upward** (a TR key → TRANSPORT_IMPORT, job/report/table tokens → the matching type). **Present the draft + gaps to the user and STOP for curation** — nothing is committed in the same run. The user reviews/corrects step types, owners, dependencies, checkpoints, and sets `auto_ok=YES` on any step they will let v2 auto-run.

**Commit** (only after the user confirms the curated draft):

… -Action commit -Draft "{LEDGER}\runbook_draft.tsv" -CutoverId "<id>" -OutDir "{LEDGER}"

Commit validates: unique ids, deps resolve, **no cycle** (`CUTOVER_DEP_CYCLE`), ≥1 checkpoint (`CUTOVER_PARSE_FAILED reason=no_checkpoint`), and downgrades any automatable step still missing its verify params to MANUAL with a WARN (never a silent automatable-without-params). Writes immutable `cutover.json` + empty `events.jsonl`. Register `cutover.json` (kind `cutover_plan`).

Step 3 — record

… -Action record -OutDir "{LEDGER}" -StepId "<step>" -Event "<start|done|fail|skip
Read more
@sapdev-ai
Ships withsap-dev

SAP development automation skills for AI coding assistants. Windows-only — the skills drive SAP GUI for Windows via GUI Scripting (plus optional RFC via SAP NCo); there is no macOS/Linux path.

9123 skills3 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
9
Star history of sapdev-ai/sap-dev on GitHub, a chart by star-history.com

Other skills on sap-dev.

sap-activate-object

sap-activate-object

Activates an inactive SAP repository object via SAP GUI Scripting. Routes to the correct transaction by object type: SE38 for…

@sapdev-ai@sapdev-aiInstall Skill
sap-api-advisor

sap-api-advisor

Natural-language SAP API discovery over RFC (no GUI): turn a goal like "create a sales order" or "post a goods movement" into a…

@sapdev-ai@sapdev-aiInstall Skill
sap-atc

sap-atc

Runs the SAP ABAP Test Cockpit (ATC) end-to-end as a quality gate: builds an SCI Object Set scoped to the target object(s),…

@sapdev-ai@sapdev-aiInstall Skill
sap-call-bdc

sap-call-bdc

Executes BDC (Batch Data Communication) sessions in SAP via RFC. Reads SHDB recording files from the bdc/ folder, connects via…

@sapdev-ai@sapdev-aiInstall Skill
sap-change-package

sap-change-package

Changes the package (TADIR-DEVCLASS) assignment of an SAP repository object via the "Object Directory Entry" dialog (Goto >…

@sapdev-ai@sapdev-aiInstall Skill
sap-check-abap

sap-check-abap

Validates ABAP source (report / program / FM / class / include) before deployment — one skill, dimension-dispatched: naming…

@sapdev-ai@sapdev-aiInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills12d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc13d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react3d252k
@facebook@facebookInstall Skill

Questions about sap-cutover-runbook.

Which coding agents can use sap-cutover-runbook?
sap-cutover-runbook installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.