sap-activate-object
Activates an inactive SAP repository object via SAP GUI Scripting. Routes to the correct transaction by object type: SE38 for…
Turns a recorded transaction walkthrough into an end-user training guide + UAT script — the unfunded rollout mandate everyone hand-makes from screenshots pasted into Word — composed from ground truth the suite already owns: /sap-gui-probe drives/records the transaction step by
Claude Code
$ npx -y skills add sapdev-ai/sap-dev --skill sap-user-guide --agent claude-code
Codex
$ npx skills add sapdev-ai/sap-dev --skill sap-user-guide -a codex -y
Cursor
$ npx skills add sapdev-ai/sap-dev --skill sap-user-guide -a cursor -y
Gemini CLI
$ npx skills add sapdev-ai/sap-dev --skill sap-user-guide -a gemini-cli -y
GitHub Copilot
$ npx skills add sapdev-ai/sap-dev --skill sap-user-guide -a github-copilot -y
OpenCode
$ npx skills add sapdev-ai/sap-dev --skill sap-user-guide -a opencode -y
Windsurf
$ npx skills add sapdev-ai/sap-dev --skill sap-user-guide -a windsurf -y
name: sap-user-guide description: | Turns a recorded transaction walkthrough into an end-user training guide + UAT script — the unfunded rollout mandate everyone hand-makes from screenshots pasted into Word — composed from ground truth the suite already owns: /sap-gui-probe drives/records the transaction step by step with full screen identity, DDIC carries the authoritative field labels and F1 documentation, and the docx skill renders Word. guide harvests a /sap-gui-probe run folder into a business-language step-by-step guide (Markdown + docx, per-step screenshots with --with-screens, field tables with DDIC labels + F1 long text), in any target language; pack batches guides into a curriculum with exercises and test-data prerequisites (mapped to /sap-bp//sap-mm01//sap-va01 as SUGGESTIONS). The same assets double as a UAT script (--uat: per-step expected result + sign-off columns). Read-only except --with-screens, which REPLAYS the recorded actions on the live GUI to capture screenshots and is confirm-gated with every write action enumerated; a replay whose live screen diverges from the recording stops REPLAY_DIVERGED (never a wrong-screen action). All DDIC text is over RFC (TSTCT/DDIF_FIELDINFO_GET/DOCU_GET — no RFC_READ_TABLE on DOKTL which is CLUSTER on ECC6). No new Z objects. Prerequisites: a /sap-gui-probe run folder (or a scenario to drive); /sap-login session for --with-screens; NCo 3.1 (32-bit). argument-hint: "guide <probe-run-folder | \"TXN: scenario\"> [--with-screens] [--lang EN|JA|ZH] [--docx] [--uat] [--no-writes] [--output <dir>] | pack <pack.tsv> [--lang ..] [--docx]"
You compose an end-user guide (and UAT script) from a recorded walkthrough: harvest the probe folder, resolve DDIC labels + F1 docs over RFC, optionally replay to capture screenshots (confirm-gated — replay executes the transaction), and write business-language step prose over the assembled skeleton.
Task: $ARGUMENTS
The harvest, DDIC texts, and skeleton are scripts; **you** write the business-language step text and narrate; the interpreter replays one action at a time.
---
| File | Token / call | Purpose | |---|---|---| | `<SAP_DEV_CORE_SHARED_DIR>/rules/safety_policy.md` + `<SAP_DEV_CORE_SHARED_DIR>/scripts/sap_safety_gate.ps1` | Rule 0 | Environment guard — Step 2.5 runs `-Action assert` before the write | | `<SKILL_DIR>/references/sap_guide_compose.ps1` | `-Action harvest\|compose` | Parse probe folder + assemble guide skeleton (local) | | `<SKILL_DIR>/references/sap_guide_ddic_texts.ps1` | `-Tcode -Fields` | DDIC labels + F1 docs over RFC | | `<SKILL_DIR>/references/sap_guide_replay.vbs` | via 32-bit cscript | Single-action replay + screen-identity verify (GUI) | | `<SKILL_DIR>/references/sap_guide_replay.screens.json` | baseline | Golden-screen baseline (generic deps only) | | `/sap-gui-probe` · `/sap-gui-inspect` | sub-skills | fresh capture / screenshot per step | | `docx` | sub-skill | `--docx` rendering | | `/sap-login` | sub-skill | Session (only for `--with-screens`) |
---
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'; Write-Output ('WORK_DIR=' + (Get-SapWorkDir)); Write-Output ('RUN_TEMP=' + (Get-SapRunTemp))"Then `sap_log_helper.ps1 -Action start -StateFile {RUN_TEMP}\sap_user_guide_run.json`.
`{OUT}` = `Get-SapArtifactDir -ScopeKey TCODE_<TXN> -Skill sap-user-guide` (from `sap_artifact_lib.ps1`; creates the dir) — the artifact output dir Steps 3–6 write to and Step 7 registers.
`guide` | `pack`. A `guide <folder>`: validate it has `sap_gui_probe_run.json` + >=1 `step_NN_action.json` (else `GUIDE_INPUT_INVALID`). A `guide "TXN: scenario"` with no folder -> delegate `/sap-gui-probe drive` first (its gates apply), then compose from the fresh folder.
**Rule 0 first** (`safety_policy.md`; `--with-screens` replay only — default `guide`, `pack`, and `--no-writes` skip it): `powershell -NoProfile -ExecutionPolicy Bypass -File "<SAP_DEV_CORE_SHARED_DIR>\scripts\sap_safety_gate.ps1" -Action assert -Skill sap-user-guide` — `SAFETY: ALLOW` (0) proceed; `TYPED_CONFIRM_REQUIRED` (3) -> the operator types the shown `PROD <SID>/<CLIENT>` token, re-run with `-ConfirmationText '<their verbatim answer>'`, proceed only on `ALLOW_CONFIRMED`; `REFUSED class=<C>` (1) / `ERROR` (2) -> **STOP**, end `FAILED` with `-ErrorClass <C>`, relay the remediation lines — never bypass or work around it manually. The typed-SID confirm below still applies after ALLOW/ALLOW_CONFIRMED.
Replay EXECUTES the transaction. Classify every recorded action READ/WRITE (verb + VKeys 11/14/27/28/33, same classifier as /sap-gui-probe); present tcode, step count, and the explicit **write-action list** for `<SID>/<CLIENT>`; proceed only on `yes` (typed `<SID>` on a non-DEV/production-grade client). `--no-writes` truncates before the first write instead of gating.
powershell -ExecutionPolicy Bypass -File "<SKILL_DIR>\references\sap_guide_compose.ps1" -Action harvest -RunFolder "<folder>" -OutDir "{OUT}"-> `steps.tsv` + `fields_request.tsv` (the (table,field) tokens from the findById paths).
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -File "<SKILL_DIR>\references\sap_guide_ddic_texts.ps1" -Tcode <TXN> -FieldsFile "{OUT}\fields_request.tsv" -Lang <L> -OutDir "{OUT}" -SharedDir "<SAP_DEV_CORE_SHARED_DIR>"-> `guide_meta.tsv` (tcode title/program/dynpro) + `guide_fields.tsv` (label, rollname, F1 doc excerpt; a field whose text can't be fetched is `COULD_NOT_CHECK`, never dropped). The wrapper-based full-dynpro enrichment (RPY_DYNPRO_READ) is v1.5 and SKIPs when the wrapper
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.
Activates an inactive SAP repository object via SAP GUI Scripting. Routes to the correct transaction by object type: SE38 for…
Natural-language SAP API discovery over RFC (no GUI): turn a goal like "create a sales order" or "post a goods movement" into a…
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),…
Executes BDC (Batch Data Communication) sessions in SAP via RFC. Reads SHDB recording files from the bdc/ folder, connects via…
Changes the package (TADIR-DEVCLASS) assignment of an SAP repository object via the "Object Directory Entry" dialog (Goto >…
Validates ABAP source (report / program / FM / class / include) before deployment — one skill, dimension-dispatched: naming…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.