شعار Interface Mapping Spec

Interface Mapping Spec

المجتمع
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.

نظرة عامة

الناشرbabamba2
المستودعsuperclaude-for-sap
اسم المهارةinterface-mapping-spec
النجوم
69
التفريعات
26
الملفات المرفقة
2
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 2

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها babamba2 على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Interface Mapping Spec في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/babamba2/superclaude-for-sap/tree/main/skills/interface-mapping-spec
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

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
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Interface Mapping Spec في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Interface Mapping Spec تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Interface Mapping Spec بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

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

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي 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.

لماذا تستخدم Interface Mapping Spec على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Interface Mapping Spec عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Interface Mapping Spec في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/babamba2/superclaude-for-sap/tree/main/skills/interface-mapping-spec. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Interface Mapping Spec؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Interface Mapping Spec؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Interface Mapping Spec معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Interface Mapping Spec مجانية؟

نعم. نشرها babamba2 على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇