/sap-dev-core:sap-transport-readiness <TR> | --current [--strict] [--run-atc] [--include-unit-tests] [--brief <path>]from sap-dev-core
Release gate for ABAP transport requests — checks structural safety (unreleased child tasks, inactive objects, local/$TMP objects, multi-package notes) and optionally chains ATC and ABAP Unit verdicts before QA/production release.
Ships in sap-dev-core. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You run a release gate over a transport request and report GO / NO-GO with
the evidence. You are read-only — you NEVER release the TR. Release is a
deliberate, separate /sap-se01 release step the user takes after a GO.
Task: $ARGUMENTS
This skill is the first of the delivery-assurance family and is built on the Phase-0 primitives: the object resolver (TR → E071 inventory), the finding model
| File | Token / call | Purpose |
|---|---|---|
<SAP_DEV_CORE_SHARED_DIR>/rules/skill_operating_rules.md | (rule) | Mandatory operating rules — read-only here, no writes to SAP |
<SKILL_DIR>/references/sap_transport_readiness.ps1 | -Tr -SharedDir [-Strict] [-AtcVerdict] [-UnitVerdict] [-BriefPath] | The RFC readiness engine |
<SAP_DEV_CORE_SHARED_DIR>/scripts/sap_object_resolver.ps1 | dot-sourced by the engine | TR --Expand → E071 object inventory |
<SAP_DEV_CORE_SHARED_DIR>/scripts/sap_finding_lib.ps1 | dot-sourced by the engine | Reconciled finding model + verdict roll-up |
<SAP_DEV_CORE_SHARED_DIR>/scripts/sap_gate_policy.ps1 | dot-sourced by the engine | Gate computation from customer_brief.md §6 |
<SAP_DEV_CORE_SHARED_DIR>/scripts/sap_artifact_lib.ps1 | dot-sourced by the engine | Registers outputs for /sap-evidence-pack |
/sap-atc | sub-skill | Optional ATC run (--run-atc) |
/sap-run-abap-unit | sub-skill | Optional ABAP Unit run (--include-unit-tests) |
Resolve work_dir via the env-aware helper (do NOT read settings.json
directly — that ignores SAPDEV_AI_WORK_DIR and userconfig.json):
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))"
Set {WORK_TEMP} = {work_dir}\temp; ensure it exists:
cmd /c if not exist "{WORK_TEMP}" mkdir "{WORK_TEMP}"
Set {RUN_TEMP} = the per-run scratch dir (Get-SapRunTemp mints + creates {work_dir}\temp\run_<id>):
powershell -NoProfile -ExecutionPolicy Bypass -Command ". '<SAP_DEV_CORE_SHARED_DIR>\scripts\sap_connection_lib.ps1'; Write-Output ('RUN_TEMP=' + (Get-SapRunTemp))"
Per the CLAUDE.md "Two-bucket temp model" write this skill's _run.json log state under {RUN_TEMP}.
powershell -ExecutionPolicy Bypass -File "<SAP_DEV_CORE_SHARED_DIR>\scripts\sap_log_helper.ps1" -Action start -StateFile "{RUN_TEMP}\sap_transport_readiness_run.json" -Skill sap-transport-readiness -ParamsJson "{}"
Parse $ARGUMENTS for the TR and flags:
DEVK900123, S4DK900123) → use it.--current → read sap_dev_transport_request (per-connection first:
connections.json[pinned].dev_defaults, then the two-file settings merge per
shared/rules/settings_lookup.md). If blank → tell the user to pass an
explicit TR or run /sap-transport-request, and STOP.--strict (promote warnings to blockers), --run-atc,
--include-unit-tests, --brief <path> (override the customer brief).Prerequisite check: a SAP RFC profile must be pinned (/sap-login). The engine
self-connects via the pinned profile (no creds needed on the command line).
These are opt-in because they are slower / heavier than the RFC structural checks. Run them BEFORE the engine so their verdicts can be folded into one unified readiness verdict.
--run-atc: run /sap-atc PACKAGE <pkg> (or per object) over the TR's
scope. Capture its pass/fail as a single verdict string: GO (within the
brief's MAX_PRIORITY) or NO_GO. If ATC could not run, use ERROR.--include-unit-tests: run /sap-run-abap-unit over the TR's
programs / classes. Capture GO / NO_GO / ERROR.If a flag is not given, pass nothing for that verdict — the engine records it as "not run" (no finding), and you note it in the report under not run.
Do NOT invent these verdicts. Only pass
GO/NO_GOwhen the sub-skill actually produced a result; passERRORif it failed; pass nothing if you did not run it.
Run via 32-bit PowerShell (NCo 3.1 is in GAC_32). Pass the resolved TR,
the shared dir, and any flags / sub-skill verdicts:
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -File "<SKILL_DIR>\references\sap_transport_readiness.ps1" -Tr "THE_TR" -SharedDir "<SAP_DEV_CORE_SHARED_DIR>"
Append, as applicable: -Strict, -AtcVerdict GO|NO_GO|ERROR,
-UnitVerdict GO|NO_GO|ERROR, -BriefPath "<path>". Creds are resolved from
the pinned profile automatically.
The engine prints a parseable summary and writes the report files:
READINESS: tr=<TR> verdict=<GO|GO_WITH_WARNINGS|NO_GO> block=<n> warn=<n> info=<n> objects=<n>
REPORT_MD: <path> FINDINGS_TSV: <path>
FINDINGS_JSON: <path> INVENTORY_TSV: <path>
Exit code: 0 = GO / GO_WITH_WARNINGS · 1 = NO_GO · 2 = TR not found /
RFC failure.
Read the READINESS: line for the verdict, then read REPORT_MD for the
detail. Present to the user:
COULD_NOT_CHECK, say so
explicitly. The report does NOT certify those areas clean (honesty contract)./sap-evidence-pack <TR> can collect them later).Default gate behaviour (overridden by customer_brief.md §6 and --strict):
| Finding | Default gate |
|---|---|
Inactive object, unreleased child task, $TMP/local object in transport | BLOCK |
| ATC (severity ≥ HIGH per brief), failed ABAP Unit (if brief = mandatory) | BLOCK |
| Object locked by other user, dependency outside TR | WARN (BLOCK under --strict) |
| Multi-package note | INFO |
| Could-not-check (auth / RFC) | WARN — never a silent pass |
/sap-activate-object <obj>,
/sap-change-package <obj> <pkg>, /sap-se01 release <child-task>), then
suggest re-running /sap-transport-readiness <TR> --strict./sap-se01 release <TR> — and that release is the user's explicit action.
Do NOT release the TR yourself.powershell -ExecutionPolicy Bypass -File "<SAP_DEV_CORE_SHARED_DIR>\scripts\sap_log_helper.ps1" -Action end -StateFile "{RUN_TEMP}\sap_transport_readiness_run.json" -Status SUCCESS -ExitCode 0
For NO-GO use -Status SUCCESS -ExitCode 0 (the gate ran fine; NO-GO is a valid
result). For TR-not-found / RFC failure use -Status FAILED -ExitCode 2 -ErrorClass RFC_LOGON_FAILED (or TR_NOT_FOUND).
$TMP/local-in-transport, multi-package note,
plus folded-in ATC / ABAP-Unit verdicts./sap-impact-analysis), customizing-key client
review (E071K), transport-sequence analysis, import simulation.COULD_NOT_CHECK rather than guessing when a read is denied.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub sapdev-ai/sap-dev --plugin sap-dev-core61 skills in this plugin
/sap-activate-objectActivates an inactive SAP repository object via SAP GUI Scripting. Routes to
the correct transaction by object type: SE38 for reports/programs/function-
group main programs, SE37 for function modules, SE24 for classes/interfaces
/methods, SE11 for DDIC objects (table, view, dataelement, structure,
tabletype, typegroup, domain, searchhelp, lockobject). Handles the
"inactive objects worklist" popup that SAP shows when there are multiple
inactive objects of the same locality (transportable vs. local — SAP filters
the popup by package locality of the triggering object). Verifies activation
via PROGDIR (programs/FMs include) and DWINACTIV.
Prerequisites: Active SAP GUI session (use /sap-login first).
/sap-api-advisorNatural-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,
paste-ready shortlist of BAPIs / function modules / classes — with released
state (S/4), interface + documentation for the top candidates, the team's known
traps inlined, and a ready-to-paste CALL FUNCTION snippet. Reads the BAPI
catalog (BAPI_MONITOR_GETLIST), TFDIR/TFTIT name+text, SEOCLASS, ARS_W_API_STATE
(S/4 released state), FUPARAREF/FUNCT + DOCU_GET. HARD rule: it never test-calls
a candidate — snippets are text only. Read-only; deploys nothing.
Use for: "which BAPI/FM for X", find an API, is this BAPI released, API to
create/read/post <object>, discover function module, released API S/4.
`successor` (released→sanctioned replacement) is phase 2; `scan` is phase 3.
Prerequisites: an RFC-capable connection profile (/sap-login). No dev-init, no GUI.
Other plugins' skills for the same job