شعار Compare Programs

Compare Programs

المجتمع
babamba2
compare-programs

Business-angle comparison of 2–5 ABAP programs that share the same business scenario but diverge by module (MM vs CO), country (KR vs EU), persona (controller vs warehouse), or time horizon — one editable, versioned HTML report (verdict matrix, field differences, screens side by side, decision guide) plus an English companion. Reader = functional consultant.

نظرة عامة

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

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

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

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

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

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

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

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

التثبيت

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

1

التثبيت في TypingMind

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

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/babamba2/superclaude-for-sap/tree/main/skills/compare-programs
  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/compare-programs .claude/skills/compare-programs
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

SC4SAP Compare Programs

Reads 2–5 ABAP programs that implement the same business scenario but in different variants, analyzes them across 10 business dimensions, and emits one editable HTML report targeted at functional consultants (not developers): a coloured verdict matrix with a Differences only switch, field-by-field differences of the selection screens and output lists, the screens drawn side by side, and a decision guide — versioned and editable like the program-to-spec and program-to-manual pages, with an English companion.

This skill crystallizes why each variant exists so a consultant can:

  • pick the right program for a new requirement instead of creating a 4th,
  • map fit/gap across localizations,
  • brief a handover or knowledge transfer without reading ABAP.

<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> Multi-phase skill. 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: auto (default) uses the model below/in the rule; user-defined asks the user Opus / Sonnet / Haiku (recommended one first) before each dispatch group. Resolve the cost mode too per ../../common/cost-mode.md (standard default; eco → pass BOTH model and effort on every Agent(...) call per its lever-A table (omitting effort silently runs the agent at its frontmatter effort, usually high), Skill("sc4sap:eco", "--attach") first and on every continuation turn, and this skill's eco recipe). </Phase_Banner>

<Team_Mode> Step 4b is the integration point for Type A teamMode (Cross-Module Consultant Panel). When module_set ≥ 2 (existing Step 4b gate), Round 1 runs always — positions are parsed for ownership conflicts (same program claimed PRIMARY by 2+ modules). On conflict, escalate to Rounds 2-3 per team-mode.md. No conflict → positions pass directly to Step 5 writer render (legacy path). Base protocol: ../../common/team-consultation-protocol.md. </Team_Mode>

<Use_When>

  • User says "compare programs", "what's the difference between A and B", "MM vs CO version", "country-specific programs", or equivalent in the user's language
  • Consultant handover / AMS transition — need to document "when to use which"
  • Fit/Gap analysis across country rollouts — same flow, different programs
  • Rationalization / decommissioning — considering whether to merge duplicates </Use_When>

<Do_Not_Use_When>

  • Only one program → use /sc4sap:program-to-spec instead
  • User wants code quality review (not business intent) → /sc4sap:analyze-code
  • User wants to build a new program → /sc4sap:create-program
  • More than 5 programs — break into multiple comparison sessions </Do_Not_Use_When>

<Session_Trust_Bootstrap> MANDATORY — runs as Step 0 before any MCP call or user interaction.

Invoke /sc4sap:trust-session with parent_skill=sc4sap:compare-programs to pre-grant MCP tool + file-op permissions (eliminates per-tool prompts during parallel program reads).

  • If .sc4sap/session-trust.log already has a line within the last 24h, skip silently.
  • Otherwise run it and surface the one-line confirmation.

Full spec: see ../trust-session/SKILL.md. </Session_Trust_Bootstrap>

<Companion_Files> MANDATORY: Read the companion files below before executing. Each covers a self-contained section:

CompanionScope
comparison-scope.md10 business comparison dimensions + default scope + scope-selection prompt template
workflow.md6-step execution flow (Input → Scope → Facts × N → Analyze → Render → Follow-up)
dispatch-prompts.mdFull Agent(...) prompt bodies for Steps 3, 4, 4b, 5, 5.3 (kept out of workflow.md to honor the 200-line cap)
render-steps.mdNames and versions, screen drawing, the editable HTML build, review loop, English companion, import of an edited page
report-template.mdReport skeleton (fact card → Summary → Decision guide → Matrix → Field differences → Screens → Per-program → Risks → Appendix) + comparison markup
</Companion_Files>

<Agent_Composition> Per-step model allocation. The main thread follows the session model (model: inherit); each Agent(...) carries its own model (frontmatter or explicit override).

  • Main orchestrator (session model) — Steps 1, 2, 6: intake, scope confirmation, follow-up menu. Holds NO source code / AST / screens in its own context; all MCP-heavy work runs inside agents.
  • Facts extraction (sap-checker × N, Haiku) — Step 3. Each checker reads ONE program (or one include batch of a large program) itself — source / screens / GUI status / text elements / where-used — and returns verbatim FACT lines only: no scoring, no narrative. Read-and-copy work belongs on Haiku per common/model-routing-rule.md § Tier 3; the Opus analyst does every interpretation.
  • Analysis + narrative (sap-analyst × 1, Opus) — Step 4: a SINGLE dispatch covering module classification + dimension scoring + executive summary + recommendation. Keeps the analyst's context continuous across reasoning layers instead of fragmenting into 4 chained calls.
  • Module specialists (conditional, sap-{module}-consultant × K, Opus) — Step 4b: when programs span 2+ modules (MM+CO, SD+FI, etc.), each distinct module gets a consultant dispatch to explain "what would a {module} user use this for". The analyst's scoring consumes these in its narrative.
  • Rendering (sap-writer × 1, model: "sonnet" override) — Step 5: writes the per-program screen specs (selection / ALV), renders them, and writes the report .md from report-template.md. Sonnet because the screen specs must be transcribed 1:1 and the decision guide is consultant prose.
  • English companion (sap-writer × 1, Sonnet override) — Step 5.3, when the report language is not English (default on; the user can opt out).
  • Main thread builds the HTML page with scripts/spec/md-to-html.mjs --editable (Step 5.1), the optional Excel copy with scripts/spec/md-to-xlsx.mjs (Step 5.1b), and runs the review loop.

SAP MCP permission prompts are auto-approved by the sc4sap permission-approver PreToolUse hook. </Agent_Composition>

<Language_Policy> Report language mirrors the user's current conversation language.

  • User writes in Korean → report in Korean (section headers + body).
  • User writes in English → report in English.
  • User writes in Japanese → report in Japanese.
  • If mixed or unclear, default to the user's last full sentence language.
  • Do not ask — detect and proceed. Only ask if the user explicitly requests a specific language. </Language_Policy>

<Output_Location> <base>/comparisons/<NAME>-v<ver>-<lang>.html (the page), .xlsx when excel was chosen, and .md (its source — kept for rebuilds and imports), <NAME>-<lang>.history.json, screen pictures under _assets/<NAME>-<lang>/<PROG>/, plus the same with -en for the English companion. <base> per ../../common/multi-profile-artifact-resolution.md.

  • <NAME> = the program names joined by __vs__ (uppercase, / → _); over 120 characters → compare-<hash6> (rule in render-steps.md § Names).
  • Versions 1.0, 1.1, … as in program-to-spec: a re-run of the same programs is the next minor version; a page edit by a reader comes back as its own version. </Output_Location>

<Execution_Summary>

  1. Load dimension catalog from comparison-scope.md.
  2. Execute the 6 steps in workflow.md in order.
  3. Render the artifact using report-template.md.

Do not skip the companion-file reads — the dimension list, step order, and report schema all live there. </Execution_Summary>

<Data_Extraction_Safety> This skill reads source code + DDIC metadata + where-used + screen/GUI-status/text-element metadata only. It does NOT call GetTableContents; its one GetSqlQuery is the T100 lookup of the message texts the programs use (workflow Step 3b: fields SPRSL, ARBGB, MSGNR, TEXT, only the classes and numbers in the facts, logon language + E). Sample rows in the drawn screens are invented — never business data, never real customer, vendor or company names. If the user asks for sample row data to illustrate a difference, refuse per common/data-extraction-policy.md and document the request in the report's Risk & Open Questions section instead. </Data_Extraction_Safety>

<Related_Skills>

  • /sc4sap:program-to-spec — single-program reverse-engineering (vertical depth)
  • /sc4sap:analyze-code — quality review (what's wrong, not what's different)
  • /sc4sap:analyze-cbo-obj — CBO package inventory (complementary context for dimension 8) </Related_Skills>

Task: $ARGUMENTS

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

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

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

ماذا تفعل مهارة الذكاء الاصطناعي Compare Programs؟

Business-angle comparison of 2–5 ABAP programs that share the same business scenario but diverge by module (MM vs CO), country (KR vs EU), persona (controller vs warehouse), or time horizon — one editable, versioned HTML report (verdict matrix, field differences, screens side by side, decision guide) plus an English companion. Reader = functional consultant.

لماذا تستخدم Compare Programs على TypingMind؟

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

كيف أثبّت Compare Programs في TypingMind؟

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

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Compare Programs؟

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

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Compare Programs؟

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

هل مهارة الذكاء الاصطناعي Compare Programs مجانية؟

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

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

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

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

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

عرض الكل

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

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