/sap-project:sap-transport-sequencer sequence <TR1,TR2,…|--file=<path>> [--target=<profile>] [--max=200] [--skip-missing] | freeze-audit --from=YYYYMMDD --to=YYYYMMDD [--policy=<path>]from sap-project
Orders SAP transport requests into a safe import sequence by building an object-overlap graph and audits code freezes for violations. Read-only, never imports or releases.
Ships in sap-project. 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 turn the release manager's hand-sorted import spreadsheet into a computed,
explained sequence — and turn "the freeze was enforced by email and hope" into an
audit trail. Read-only. This skill never imports and never releases — the ordered
/sap-stms import lines are text the operator runs.
Task: $ARGUMENTS
Detect-only by design. No import, release, or enforce verb exists here.
Execution stays with /sap-stms and its typed production gates (a human decision).
| 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_seq_read.ps1 | -Trs -MaxTrs [-SkipMissing] -OutDir | Source reads: headers/objects (normalized)/reverse-overlap/tasks |
<SKILL_DIR>/references/sap_seq_graph.ps1 | -InDir -OutDir | Offline order + conflict graph |
<SKILL_DIR>/references/sap_seq_target.ps1 | -Against -ObjectsTsv -OverlapsTsv -OutDir | Target predecessor + first-time-delivery check |
<SKILL_DIR>/references/sap_freeze_audit.ps1 | -From -To -PolicyJson -OutDir | Freeze-window violation audit |
<SKILL_DIR>/references/sap_seq_vrsd.ps1 | dot-source | VRSD materiality (Get-VrsdInWindow) |
<SKILL_DIR>/references/freeze_policy_template.json | template | Freeze policy shape; override at {custom_url}\freeze_policy.json |
<SAP_DEV_CORE_SHARED_DIR>/scripts/sap_connection_lib.ps1 / sap_rfc_lib.ps1 / sap_artifact_lib.ps1 | dot-sourced / Step 5 | RFC, profile resolution, artifact index |
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 ('CUSTOM_URL=' + (Get-SapSettingValue 'custom_url' ((Get-SapWorkDir) + '\custom')))"
Set {RUN_TEMP} via Get-SapRunTemp. {OUT} = Get-SapArtifactDir -ScopeKey TRSET_<8-char hash of sorted TR list> -Skill sap-transport-sequencer (sequence) or
FREEZE_<SID>_<from>_<to> (audit).
powershell -ExecutionPolicy Bypass -File "<SAP_DEV_CORE_SHARED_DIR>\scripts\sap_log_helper.ps1" -Action start -StateFile "{RUN_TEMP}\sap_transport_sequencer_run.json" -Skill sap-transport-sequencer -ParamsJson "{}"
First token sequence | freeze-audit; a bare TR list implies sequence. Validate:
--max (default 200, hard cap 500) else
SEQ_INPUT_INVALID. --file=<path> reads a newline/comma TR list. --skip-missing
demotes an unknown TR from hard error to a WARN finding.FREEZE_WINDOW_UNBOUNDED.--keys (E071K key-level overlap) and --deep (TMS queue + VRSD downgrade) are
NOT_YET_IMPLEMENTED (v1.5 / v2) → say so and STOP.No write modes exist → no confirm-gate step.
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -File "<SKILL_DIR>\references\sap_seq_read.ps1" -Trs "<TR1,TR2,...>" -SharedDir "<SAP_DEV_CORE_SHARED_DIR>" -OutDir "{OUT}"
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -File "<SKILL_DIR>\references\sap_seq_graph.ps1" -InDir "{OUT}" -OutDir "{OUT}"
Parse the read's STATUS: — SEQ_TR_NOT_FOUND (exit 1, unless --skip-missing) →
list the MISSING: TRs, STOP. The graph writes sequence.tsv + conflicts.tsv and
emits SEQ:/CONFLICT:/STATUS: OK ordered=.. unimportable=.. conflicts=...
With --target=<profile>, run the target check (a second /sap-login profile,
read-only):
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -File "<SKILL_DIR>\references\sap_seq_target.ps1" -Against "<profile>" -ObjectsTsv "{OUT}\objects.tsv" -OverlapsTsv "{OUT}\overlaps.tsv" -OutDir "{OUT}"
SEQ_TARGET_UNREACHABLE → ask the user: continue source-only (target rows
COULD_NOT_CHECK, verdict capped at GO_WITH_WARNINGS) or abort. Never silently degrade.
Write sequence_narrative.md into {OUT} from sequence.tsv + conflicts.tsv
(+ target_check.tsv). Grounding rule: every constraint traces to a shared object.
constrained_by; explain WHY each is placed there ("must follow S4DK902334 because
both touch ZCL_GOLDEN_TAX")./sap-stms import <TR> --to <SID> lines, prefixed
with an explicit "run these yourself — this skill never imports" note. Suggest
/sap-transport-readiness <TR> for each HIGH-conflict TR (do not auto-invoke).
State that v1 customizing overlap is table-level (disjoint E071K keys not yet
distinguished — conservative, never unsafe).C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -File "<SKILL_DIR>\references\sap_freeze_audit.ps1" -From <YYYYMMDD> -To <YYYYMMDD> -PolicyJson "<{custom_url}\freeze_policy.json|template>" -SharedDir "<SAP_DEV_CORE_SHARED_DIR>" -OutDir "{OUT}"
Policy resolves --policy → {custom_url}\freeze_policy.json → the template; CLI
--from/--to override the window. Parse FREEZE:/VIOLATION:/STATUS:. Write
freeze_annex.md: each violation (severity, RELEASED vs CHANGED, user, date, VRSD
version count = did the object really change in-window), exceptions applied, and the
honest caveat: "E070 stores no creation date — AS4DATE is last-change/release date;
released-after-window edits are caught by VRSD evidence, not this pass."
Register sequence.tsv (kind transport_sequence), conflicts.tsv (kind
transport_conflicts, Verdict via Get-SapVerdict), sequence_narrative.md, or
violations.tsv + freeze_annex.md (kind freeze_audit) via Register-SapArtifact.
Echo:
SEQ: trs=<n> ordered=<n> unimportable=<n> conflicts=<n> verdict=<..>
FREEZE: window=<from>..<to> violations=<n> verdict=<..>
powershell -ExecutionPolicy Bypass -File "<SAP_DEV_CORE_SHARED_DIR>\scripts\sap_log_helper.ps1" -Action end -StateFile "{RUN_TEMP}\sap_transport_sequencer_run.json" -Status SUCCESS -ExitCode 0
Refusals end -Status SKIPPED -ErrorClass <SEQ_*/FREEZE_*>; infra failures FAILED.
sequence (source read + offline overlap graph + order +
--target predecessor/first-time cross-check) and freeze-audit (windowed E070 +
policy exceptions + VRSD materiality). LIMU→R3TR object fold (REPS→PROG, class parts→
CLAS, FUNC→FUGR via ENLFDIR). Read-only; never imports/releases.--target
UNIMPORTED_PREDECESSOR / FIRST_TIME_DELIVERY.SEQ_TR_NOT_FOUND (hard, unless --skip-missing); an
unreachable target is an explicit continue/abort choice with COULD_NOT_CHECK rows;
row caps surface as >N; an empty freeze window states "no violations FOUND in
" with the E070-creation-date caveat.--keys E071K key-level customizing overlap (v1.5 — v1 customizing
overlap is table-level, conservative); --deep TMS import-queue read (wrapper-routed +
domain-controller-bound) and per-object VRSD downgrade compare (v2);
--since-last-run freeze ledger (v1.5).README.md (opens in a new tab)references/freeze_policy_template.json (opens in a new tab)references/sap_freeze_audit.ps1 (opens in a new tab)references/sap_seq_graph.ps1 (opens in a new tab)references/sap_seq_read.ps1 (opens in a new tab)references/sap_seq_target.ps1 (opens in a new tab)references/sap_seq_vrsd.ps1 (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
40 skills in this plugin
/sap-auth-diagnoseDiagnoses "no authorization" failures deterministically over RFC and proposes the
exact PFCG fix — no more pasting an SU53 screenshot and hand-searching SUIM. Given
the failed authorization object (+ optional field values, read off SU53 / an ST22
dump / an application-log message), it evaluates the target user against the
AUTHORITATIVE runtime user buffer (`SUSR_USER_AUTH_FOR_OBJ_GET`, remote-enabled on
S/4HANA 1909 + ECC 6) with faithful AUTHORITY-CHECK semantics — one authorization
instance must satisfy every field, '*' matches anything, VON..BIS ranges honoured —
so the verdict can never disagree with the real kernel check the way a hand-rolled
AGR_1251/UST12 join can. It then classifies each failure (`MISSING_OBJECT` /
`MISSING_VALUE` / `BUFFER_STALE`) plus user-level `USER_LOCKED` / `USER_EXPIRED` /
`ROLE_EXPIRED`, names the closest role the user already has (with what it currently
grants), and writes a diagnosis TSV + fix-proposal + ready-to-send security request.
Read-only toward roles and users — the fix is always a proposal, never a write.
Prerequisites: SAP profile via /sap-login (RFC); SAP NCo 3.1 (32-bit). su53 (GUI
auto-scrape of the failed objects) and trace (STAUTHTRACE) modes are the documented
next phase — until then the operator supplies the failed object (Claude decodes a
pasted SU53 into the check input).
/sap-auth-requirementsDerives the SAP authorization requirements a custom development actually needs — the
deliverable Z-transactions never hand the security team. derive reads a program/FM source over
RFC, extracts the EXPLICIT AUTHORITY-CHECK surface plus the IMPLICIT one (CALL TRANSACTION ->
S_TCODE, SUBMIT -> S_PROGRAM, OPEN/DELETE DATASET/TRANSFER -> S_DATASET, CALL FUNCTION
DESTINATION -> S_RFC, DDIC table writes -> S_TABU_DIS incl. dynamic MODIFY (var)), traces each
value to its nearest literal, and validates every object/field/activity against the live
catalog (TOBJ / TACTZ) — emitting a required-auth matrix with per-row CONFIRMED / INFERRED
honesty plus an SU24 proposal draft. su24-audit lists Z/Y tcodes against USOBX_C / USOBT_C and
flags the real gap: NO_PROPOSAL / CHECK_DISABLED / ONLY_S_TCODE / PROPOSAL_PRESENT with a
staleness date. Pure RFC + offline extraction (no wrapper FM, no dev-init, runs on a bare
security profile); a static value that cannot be resolved is INFERRED, never silently
CONFIRMED. Class/interface source needs an SE24 GUI download (pass --source-files) or degrades
to COULD_NOT_CHECK. Owns the AUTHREQ_* finding namespace so it never double-reports with
/sap-review-abap's security dimension. v2: su24-maintain / su21-create (confirm-gated GUI).
Prerequisites: pinned /sap-login RFC profile; NCo 3.1 (32-bit).
npx claudepluginhub sapdev-ai/sap-dev --plugin sap-projectOther plugins' skills for the same job