/sc4sap:uat-scenariosfrom sc4sap
Builds and maintains UAT and integration test (SIT) scenarios per module or process area with editable step rows, T-code validation, cycle tracking, and Excel export. Accepts user edits item-by-item.
Ships in sc4sap. 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.
Offline profile (
common/offline-mode.md): full — the consultant's proposals work without a connection; T-codes are marked unchecked.
Builds and maintains one UAT scenario set per module or process area as JSON (scripts/uat/build-uat.mjs). The set is a working document: the consultant drafts it, the user edits it, test results are recorded per cycle, and every change the AI suggests arrives as a list of operations the user accepts or rejects one by one — never as a rewrite of the whole set.
<Response_Prefix>Every response triggered by this skill MUST begin with [Model: <main-model> · Dispatched: <sub-summary>] per ../../common/model-routing-rule.md § Response Prefix Convention.</Response_Prefix>
<Team_Mode>No teamMode integration. One module consultant dispatch per proposal round.</Team_Mode>
<Use_When>
defects.mdcheck.md
</Use_When><Do_Not_Use_When>
/sc4sap:create-program QA phase/sc4sap:module-to-process<Decisions_Fixed>
| Topic | Decision |
|---|---|
| Model | set → scenarios → steps, plus an issue list (scripts/uat/uat-model.mjs); step IDs STEP-001… renumbered after every change (issues follow their step); scenarios carry company / channel / product group / lead module / key check point / earlier scenario ID / planned and actual date / result; steps carry a phase (section) and the cycles they run in |
| Kind | uat (user acceptance, one module or process area) or sit (integration test: end-to-end across modules — every step carries its module, a scenario must cross modules, and the step where the work changes hands checks what arrived: a document, a posting, a status) |
| Proposals | Patch operations set-scenario, set-step, add-step, remove-step, add-scenario, add-issue, set-issue, remove-issue (proposal-prompt.md); shown as a numbered list, applied only for the numbers the user accepts; an operation that names something missing is skipped with its reason |
| T-codes | Every SAP step's T-code is checked with GetTransaction; unknown ones are reported, never replaced on a guess. Customer programs and RFC entry points may stand in a T-code column — checked with SearchObject |
| Cycles | Default 1st, 2nd, 3rd; results pass / fail / blocked / n/a per cycle; a step may run in some cycles only |
| Issues | ISS-0001… per set: scenario, step, module, type, text, raised on / by, follow-up, state open / waiting / done / n/a, owner, fixing requests (transports, <SID>K<6>), retest cycle; a failed step without a follow-up or a logged issue is flagged, a closed defect without a fixing request too |
| Dashboard | Per lead module and per company: planned, due by today, tested, pass, fail; steps per cycle; open issues; module participation matrix — in show / check and as the first sheet of both exports (plus Scenario List and Issue List sheets) |
| Test data | Inputs name the fields and the kind of value ("a vendor with a release strategy"), not real business partners. Real document or master data numbers only when the user gives them |
| People | Owner and consultant are typed by the user; test users are user IDs — never names |
| Output | <artifact-base>/uat/<ID>/<ID>-uat.json (the set), <ID>-uat.html (the editable page — the main deliverable; uat-page.mjs), exports <ID>-uat-A.xlsx (integrated test: schedule, activities, one sheet per scenario) / <ID>-uat-B.xlsx (flat list + test-user IDs) |
| </Decisions_Fixed> |
Step 1 — Which set. An existing set named with an action already stated (results to record, steps to fill, a check, defects) → straight to that step (5, 9 or 8); named without an action → Step 4. A new set asked for → new set, no chooser. Otherwise, sets found under <dir> → AskUserQuestion with the sets (newest first, at most 3) and New set. New set — one AskUserQuestion with only what ARGUMENTS left open:
UAT (Recommended): user acceptance of one module or process area · Integration test (SIT): end to end across modules, every hand-off checked.config.json), at most 4 options. When SIT was chosen, ask the crossed modules afterwards in plain text.1st / 2nd / 3rd (Recommended) · 1st / 2nd · 1st only.
Then in plain text the process scope, with an example ("purchase requisition to invoice", "order to cash for domestic sales"); a process map under processes/<MODULE>/ (module-to-process) → offer it as the scope first. Propose the set ID yourself (<MODULE>-<scope>, e.g. MM-PTP, ≤ 30 letters, digits, _ -) and the language from config.json (default ko) in the same message — the user changes them only if they want.Step 2 — Draft. Dispatch sc4sap:sap-<module>-consultant with proposal-prompt.md § Draft. It returns the set as JSON (scenarios with steps). Write it to <dir>/_answers/<ID>.json and run <B> init --answers <that file> --dir <dir> — it writes the set, the editable page <ID>-uat.html (dashboard, scenarios by phase, results per cycle, issues, checks — edit mode, Save downloads the edited page) and both workbooks (<ID>-uat-A.xlsx, <ID>-uat-B.xlsx) next to it; give the page first, then the workbooks, in the first report. Say in the same report how the page comes back: Edit → change scenarios, steps, results → Save downloads <ID>-uat-edited.html; send that file's path and it goes into the set (Step 6).
Step 3 — T-codes. For each distinct T-code of an SAP step: GetTransaction. Unknown → collect. Report the unknown ones in one line and offer: replace (the consultant proposes the system's one), keep (marked), or remove the step. Offline: skip, and say the T-codes are unchecked.
Step 4 — Review. <B> check --dir <dir> --id <ID> → show the progress line and the issues (≤ 15, grouped by scenario). Then one AskUserQuestion for what next: Fill the gaps with a proposal (Step 5) · Record test results (Step 5, the user states them) · Check the steps against the system (Step 9) · Link defects to their fixing requests (Step 8, when issues exist). Editing by hand on the page and the Excel files are always available — say so in one line instead of an option.
Step 5 — Proposal round. The user names what to improve ("suggest the missing steps of MM02", "fill expected outputs", "record 1st cycle results: STEP-003 failed — release strategy not triggered"). Results and edits the user states are written as operations directly; anything to invent goes to the consultant with proposal-prompt.md § Patch and <B> show as context. Show the operations as a numbered list (one line each: scenario · step · field · new value), ask which to apply, write the accepted ones to <dir>/_patch/<ID>-<n>.json, run <B> patch (it rewrites the page and both workbooks). Report applied / skipped, the new issue count and that the Excel files are up to date.
Step 6 — An edited page comes back. A page saved from its edit mode: <B> import <edited.html> --dir <dir> — the set, page and workbooks are rewritten; report the new issue count.
Step 7 — Export elsewhere. The workbooks are already next to the set (Step 2 / 5). Into another folder: <B> export --dir <dir> --id <ID> --layout A|B|both --out-dir <folder>. Give the paths.
Step 8 — Defects and fixes (defects.md): fixing request, its CTS verdict and the retest per defect, plus the dashboard feed.
Step 9 — Scenario check (check.md): every SAP step against the connected system, read-only — OK / check / mismatch per step with its evidence, kept on the set (lastCheck, a badge column on the page); proposed fixes go through Step 5.
<Web_Intake>
The web's UAT workbench (/uat) sends Mode: draft|patch, Kind:, Module:, Request: and the set as JSON in Set:, and parses a JSON answer — no questions there; the defects run sends Mode: defects and fixes (defects.md).
</Web_Intake>
<Output_Format>
UAT set MM-PTP · 6 scenarios · 41 steps · cycles 1st / 2nd / 3rd
Excel: uat/MM-PTP/MM-PTP-uat-A.xlsx (integrated test) · MM-PTP-uat-B.xlsx (list)
1st: 30 pass · 4 fail · 1 blocked · 6 open
Issues (5): MM02/STEP-004 SAP step without a T-code · MM03/STEP-002 failed without a follow-up · …
Proposal (7): 1. MM02 · after STEP-003 · add "Release purchase order" (ME29N) …
Apply which? (e.g. "1-4, 6" / all / none)
Reply in the user's language. </Output_Format>
<MCP_Tools_Used>
GetTransaction, SearchObject (T-code and program checks). Scenario check (Step 9): GetSqlQuery key reads of the tables in check.md and GetTcodeUsage — through build-uat.mjs check-sap, one row per key. No writes.
</MCP_Tools_Used>
<Related_Skills>
/sc4sap:module-to-process — the process map a scenario set can start from/sc4sap:ops-health-check — dumps during a test cycle/sc4sap:analyze-symptom — root cause of a failed step's dump
</Related_Skills>Task: $ARGUMENTS
What SKILL.md sets; muted values are Claude Code's defaults
inheritnpx claudepluginhub babamba2/superclaude-for-sap --plugin sc4sap31 skills in this plugin
/adobe-from-pdfBuild an Adobe form (SFP — interface, context and XDP layout) from a PDF of the printed form, the way smartform-from-pdf builds a SmartForm, upload it to the DEV system, print it there and score the print against the source page. Awaiting approval — not runnable yet./adobe-previewDraw the expected print of an Adobe form (SFP, S/4HANA) as HTML pages in mm (plus JPG / PDF with a local browser) — the XFA layout with its master pages, flowed tables with repeated headers, page breaks, captions, pictures (dates, numbers, currency shifts), rich text with embedded fields, rounded boxes and images — filled with invented sample values sized to the interface's DDIC types. On a development system it can print SAP's example forms through ADS and score the preview against SAP's own PDF./analyze-codeABAP code analysis — size-gated review (one Opus sap-code-reviewer, or Haiku sap-checker detectors + Opus judge for large objects), Haiku evidence check on every finding, then a canned report or a richer briefing on the main thread/analyze-symptomRead-only, step-by-step root cause analysis for SAP operational errors. Reads the dump summary and failing source via MCP (known-issue web lookup only when the failure is in standard SAP code), widens to transports and where-used only when the clues call for it, narrows hypotheses with minimal user questions, and provides SAP Note search keywords. Never changes code or data./ask-consultantDirect operational Q&A with a SAP module consultant agent. Auto-routes the question to the matching sap-{module}-consultant and answers against the configured SAP environment (version, industry, country, active modules)./assistBusiness assistant for the connected SAP system — looks up and changes specific documents through the installed business actions (query → preview → user confirm → execute), one confirmed step at a time. Use for requests about concrete SAP data such as open purchase orders, goods receipt, delivery complete, PO release, production order release / confirmation / TECO, sales order create or change, delivery / billing block, post goods issue, billing, FI document display or reversal, payment block, G/L posting, internal order status, cost center actuals, cost repost or activity allocation, document output status or reprint, shipments, picking, packing / handling units, shipment costs, warehouse transfer orders and requirements, bin and warehouse stock (ECC LE / WM), maintenance notifications and orders, equipment, functional locations and maintenance plans (ECC PM), EWM warehouse tasks, warehouse orders, bins, stock locations, handling units and delivery warehouse progress (S/4 EWM, lookups only). Korean requests too — 미결 PO, 입고, 완결, 납기 변경, 승인, 생산오더, 실적 등록, 기술적 완료, 판매오더, 출하 보류, 청구 보류, 출고 전기, 청구 생성, 전표 조회, 역분개, 지급보류, 분개 전기, 내부오더, 코스트센터 실적, 비용 재전기, 활동 배부, 출력 상태, 재출력, 운송/선적 생성, 피킹, 포장, HU, 운송비, 이전오더(TO) 생성/확정/취소, 이전요청(TR), 저장빈, 창고 재고, 재고실사, 보전오더, 보전통지, 고장 통지, 설비, 기능위치, 보전계획, 보전오더 기술적 완료, 미결 창고작업, 창고작업 조회, 창고오더, 빈 저장빈, 재고 위치, 납품 창고 진행, 검사로트, 사용결정, 검사결과 입력, 품질통지. Not for how / why / configuration questions (ask-consultant).Other plugins' skills for the same job