Logo: Interface Mapping Spec

Interface Mapping Spec

Communautéit
babamba2
interface-mapping-spec

Write an interface mapping specification as one editable HTML page in the classic template layout — cover, revision history, header, Source → Target field grid with conversion rules and MAPPING, optional synchronous response block, extraction condition, field guide. SAP side read from DDIC (table, structure, view, function module) or, for new interfaces, from a field list or the module consultant's proposal; non-SAP side proposed; in-page checks; versioned; English companion.

Iwwersiicht

Editeurbabamba2
Repositorysuperclaude-for-sap
Skill-Numminterface-mapping-spec
Stären
69
Forks
26
Matgeliwwert Dateien
2
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 2 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    babamba2 huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Interface Mapping Spec an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/babamba2/superclaude-for-sap/tree/main/skills/interface-mapping-spec
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/babamba2/superclaude-for-sap.git /tmp/superclaude-for-sap
mkdir -p .claude/skills
cp -r /tmp/superclaude-for-sap/skills/interface-mapping-spec .claude/skills/interface-mapping-spec
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Interface Mapping Spec an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Interface Mapping Spec automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Interface Mapping Spec net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

SC4SAP Interface Mapping Specification

Interviews the consultant briefly and writes one editable HTML page per interface: cover, revision history, the mapping sheet (header, systems, Source → Target grid with R / MAPPING columns, response block for synchronous interfaces, conversion rules, extraction condition, remarks) and the field guide. The SAP side comes from the system; the other side is proposed and corrected in the page.

<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> <Target_Object>The target object is looked up on the active profile's system only. Not found → stop and ask per ../../common/multi-profile-artifact-resolution.md § Target object not on the active system — never substitute a similar name, never switch profiles on your own.</Target_Object>

<Phase_Banner>Before each Agent(...) dispatch, emit ▶ phase=<id> (<label>) · agent=<name> · model=<Opus|Sonnet|Haiku> per ../../common/model-routing-rule.md § Phase Banner Convention. Resolve the dispatch mode first per ../../common/model-dispatch-mode.md.</Phase_Banner>

<Team_Mode>No teamMode integration. Reading SAP, proposing and building are scripted; agents only propose fields (optional) and translate.</Team_Mode>

<Use_When>

  • "인터페이스 매핑 정의서", "매핑 스펙", "interface mapping spec", "I/F 정의서", "EAI 매핑", "field mapping for interface "
  • A new interface must be specified before development (the usual case)
  • An existing RFC / proxy structure / Z table needs its mapping written down
  • An edited page comes back (import), or the SAP structure changed (refresh) </Use_When>

<Do_Not_Use_When>

  • Specification of a program → /sc4sap:program-to-spec
  • Creating the Z structure / RFC itself → /sc4sap:create-object (this skill hands it the field list, Step 8)
  • An interface catalogue across many interfaces — one interface per document </Do_Not_Use_When>

<Decisions_Fixed> Settled with the user when the skill was designed — do not ask again:

TopicDecision
OutputEditable HTML only (no .xlsx); one interface per document; one page with an optional response block (B01…) for synchronous interfaces
SAP sideRead from SAP (DDIC table / DB view / structure — a proxy by its structure —, CDS by SQL view name, function module signature). New interfaces: a TABLE-FIELD / data-element list, the module consultant's proposal (checked against DDIC), Excel paste in the page, or an empty grid
CarriersThe grid is split by ▸ group rows — the unit the fields travel in, per side: name, kind (PARAMETER / STRUCTURE / TABLE), occurrence (0:1 … 1:N). A row's Table column holds only the source DDIC table. The system block's Structure / occurrence is the read-only summary of the groups. FM: scalar parameters of one direction share one PARAMETER group; each structure / table parameter is its own group
ColoursSource side blue, target side green — header, system block and grid cells
SAP typesShown as DB types of the code list (NUMC → NUMBER, DATS → DATE …); the DDIC type is the cell tooltip
Other sideProposed (same names, DB types, MAPPING 1:1), marked "Proposal" until edited or confirmed
Conversion rulesProposed from the SAP types (date, time, leading zeros / ALPHA, currency, quantity / unit) and linked in the R column
ChecksEmpty required (*) items, MAPPING to a missing row, unknown R id, size truncation, type-family mismatch, unmapped target field, key mismatch — all in the page's Checks panel
Versionsv0.1 → +0.1 per saved / imported edit, per refresh with changes; the revision-history table fills itself (author, change, optional approver)
LanguagePage language from .sc4sap/config.json (language, else ko); English companion always built unless the user opts out
Settings<base>/interfaces/project.json: cover (project name, title, document-number pattern IF-MAP-{ifId}, copyright), idPattern for IF ID numbering, code-list overrides (codes)
File namePage: <IF_ID>_<OBJECT>_<interface name>-v<ver>-<lang>.html (SAP object of the SAP side, else the object typed in the system block; empty parts left out). The model json stays <IF_ID>-v<ver>-<lang>.json
Location<base>/interfaces/<IF_ID>/ — <base> per ../../common/multi-profile-artifact-resolution.md (.sc4sap/work/<alias>/ with an active profile)
Template contentGeneric: never put customer, vendor or people names into the skill or into public docs; real names belong only in the user's project.json and documents
</Decisions_Fixed>

Entry check. If the user hands back an edited page → Step 6. "Refresh / SAP changed" → Step 7. "Z structure / create the RFC" → Step 8. Otherwise a new document: Steps 1–5.

Step 1 — Preflight and project settings. Confirm the active profile in one line. If <base>/interfaces/project.json is missing, ask once (MUST read interview.md § Project) and Write it.

Step 2 — Interview. MUST read interview.md § Interface. One AskUserQuestion round (scenario preset, where the SAP fields come from, IF ID), then one short free-text ask for name, summary, systems and the SAP object or field list. Unanswered items stay empty — the page highlights them; do not chase every field in chat.

Step 3 — Field proposal (only when the user chose "describe the business"). Dispatch the module consultant with dispatch-prompts.md § 1. Show the returned TABLE-FIELD list with one reason each and ask the user to confirm or trim it in one message; the confirmed list becomes fields.

Step 4 — Build v0.1. Write the answers to <base>/interfaces/_answers/<IF_ID>.json (shape in interview.md § Answers), then <B> init --answers <file>. Report problems (fields SAP does not have, unreadable parameter types — for those offer --line PARAM=STRUCTURE and refresh).

Step 4a — Korean polish (page language ko). Per common/humanize-korean.md, <dir> = <base>/interfaces/<IF_ID>/_humanize: texts = node scripts/lib/humanize.mjs texts-json <base>/interfaces/<IF_ID>/<IF_ID>-v<ver>-ko.json --skip desc,ddic,dom --out <dir>/texts.json (latest version; desc / ddic are SAP's DDIC texts), apply = node scripts/lib/humanize.mjs apply-json <dir>/texts.json <dir>/humanized.json (or fixed.json), then <B> build --if <IF_ID>. Runs again after an import or refresh that adds prose.

Step 5 — English companion. Skip when the page language is en or the user opted out. <B> texts --if <ID> --to en → when todo > 0, dispatch sc4sap:sap-writer with dispatch-prompts.md § 2 to write outFile; then <B> companion --if <ID> --to en. missing must be empty.

Step 6 — Import an edited page. <B> import <file> → new version with the reader's revision row; hand-typed SAP fields (EKPO-MATNR, data elements) are filled from DDIC at the same time (resolved, problems). Refusals: version already imported; the page was edited from an older version (--force only when the user says to overwrite); an English companion page (edits go into the primary-language page, the companion is rebuilt from it); a page whose ID / version / language was changed outside edit mode. Then Step 5 again.

Step 7 — Refresh from SAP. <B> refresh --if <ID> [--line PARAM=STRUCTURE] → unchanged: true, or a new version with added / changed / removed fields marked in the grid and a revision row. Only SAP facts (type, length, DDIC type) are updated; key, null and descriptions the user wrote stay. --line values are remembered for later refreshes. Then Step 5 again.

Step 8 — Hand-off to create-object (on request, or offered once the user says the mapping is agreed). <B> fields --if <ID> lists the SAP-side fields with data elements; offer /sc4sap:create-object for a Z structure (proxy / RFC) built from that list. Never create SAP objects from this skill.

Close. Report in the user's language: page path(s), version, findings (errors / warnings / to confirm) with the first few error texts, problems, and the next steps: open the page → Edit → Save → hand the file back for import.

<MCP_Tools_Used> Through the scripts only: GetTable, GetStructure, GetView, GetDataElement, GetTypeInfo, SearchObject, GetFunctionModule — DDIC metadata and source, never table contents. </MCP_Tools_Used>

Task: $ARGUMENTS

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Interface Mapping Spec?

Write an interface mapping specification as one editable HTML page in the classic template layout — cover, revision history, header, Source → Target field grid with conversion rules and MAPPING, optional synchronous response block, extraction condition, field guide. SAP side read from DDIC (table, structure, view, function module) or, for new interfaces, from a field list or the module consultant's proposal; non-SAP side proposed; in-page checks; versioned; English companion.

Firwat Interface Mapping Spec op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Interface Mapping Spec besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Interface Mapping Spec an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/babamba2/superclaude-for-sap/tree/main/skills/interface-mapping-spec an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Interface Mapping Spec benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Interface Mapping Spec benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Interface Mapping Spec domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Interface Mapping Spec gratis?

Jo. babamba2 huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇