sap-activate-object
Activates an inactive SAP repository object via SAP GUI Scripting. Routes to the correct transaction by object type: SE38 for reports/programs/function- group…
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
$ npx -y skills add sapdev-ai/sap-dev --skill sap-cutover-runbook --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/sap-cutover-runbookContext preview
The summary Claude sees to decide when to auto-load this skill.
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
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]"
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
---
| 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}`.
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).
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 "{}"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.
**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`).
… -Action record -OutDir "{LEDGER}" -StepId "<step>" -Event "<start|done|fail|skipSAP 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.
Repo: sapdev-ai/sap-dev
Activates an inactive SAP repository object via SAP GUI Scripting. Routes to the correct transaction by object type: SE38 for reports/programs/function- group…
Natural-language SAP API discovery over RFC (no GUI): turn a goal like "create a sales order" or "post a goods movement" into a ranked, trap-annotated,…
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), creates an ATC Run Series bound to…
Executes BDC (Batch Data Communication) sessions in SAP via RFC. Reads SHDB recording files from the bdc/ folder, connects via SAP NCo 3.1, calls…
Changes the package (TADIR-DEVCLASS) assignment of an SAP repository object via the "Object Directory Entry" dialog (Goto > Object Directory Entry). Routes by…
Validates ABAP source (report / program / FM / class / include) before deployment — one skill, dimension-dispatched: naming (variable conventions), type (DDIC…