Logo von Clean Core Check

Clean Core Check

Community
matt1as
clean-core-check

Check an ABAP object or package for clean core compliance — unreleased APIs, direct SELECT on SAP-owned tables, classic constructs disallowed in ABAP Cloud, modifications to SAP standard. Use when the user asks to audit, verify, or check clean core compliance, ABAP Cloud compatibility, released API usage, or extension point usage. Produces a categorised report with hard violations and soft warnings. Read-only — never writes back. Targets BTP ABAP Environment and S/4HANA on-prem in the ABAP Cloud development model.

Übersicht

Herausgebermatt1as
Repositoryclaude-abap-skills
Skill-Nameclean-core-check
Sterne
34
Forks
5
Mitgelieferte Dateien
Nur Anweisungen
LizenzApache-2.0
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • In sich abgeschlossen

    Alles, was das Modell braucht, steht in den Anweisungen — keine zusätzlichen Dateien zum Synchronisieren.

  • Open Source

    Von matt1as auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Clean Core Check in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/matt1as/claude-abap-skills/tree/main/abap-cloud-rap/clean-core-check
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/matt1as/claude-abap-skills.git /tmp/claude-abap-skills
mkdir -p .claude/skills
cp -r /tmp/claude-abap-skills/abap-cloud-rap/clean-core-check .claude/skills/clean-core-check
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Clean Core Check in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Clean Core Check automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Clean Core Check nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

abap-cloud-rap:clean-core-check

Check an ABAP object or package for clean core compliance. Pulls the source from the connected system and produces a categorised compliance report with concrete remediation steps.

What this command does

You are auditing one or more ABAP objects for compliance with the clean core principles enforced by ABAP Cloud development model. The rules in ../CLAUDE.md define what is allowed; this command finds what is not. Output is a structured report — read-only, no writes back.

Tool routing. Read the ## Tooling section in ../CLAUDE.md before the first tool call. This skill is read-heavy, so most of its work lands on arc-1:

StepPrimaryFallback
List the objects in scopearc-1 SAPRead type=DEVC (package) or SAPSearchask the user for the object list
Read each object's sourcearc-1 SAPReadask the user to paste it
Decide whether a consumed SAP API is releasedarc-1 SAPRead type=API_STATE — the authoritative C0–C4 contract stateATC evidence below, else flag as unverified
Corroborate with tool findingsabap-adt abap_atc_run + abap_atc_get_result, variant ABAP_CLOUD_DEVELOPMENT_DEFAULTarc-1 SAPDiagnose action="atc"
Trace what a custom CDS view sits onarc-1 SAPContext action="deps" / action="impact"read the source and follow select from by hand

SAPRead type=API_STATE replaces guesswork: never assert that an SAP object is or is not released from memory — check it, or mark the finding unverified and say so.

Inputs

If not provided, ask. Defaults to the narrowest scope.

  • An ABAP object name (class, function group, program, include, CDS entity, BDEF)
  • A package name
  • A transport request — check every object in the transport

What to check

For each object in scope, look for the following. Each maps to a rule in CLAUDE.md.

Hard violations — never allowed in either BTP or S/4HANA on-prem Cloud development

CheckSource rule
Use of an SAP class/interface/FM with no C1 releasereleased-apis-only
Direct SELECT from a SAP-owned database tableno-direct-select-on-sap-owned-tables
Classic dynpro (CALL SCREEN, screen exits)abap-cloud-language-scope-only
SUBMIT, CALL TRANSACTION, LEAVE TOabap-cloud-language-scope-only
FORM / PERFORMabap-cloud-language-scope-only
CALL FUNCTION ... DESTINATION 'NONE' for internal logicabap-cloud-language-scope-only
Modification of SAP standard objectsno-modification-of-sap-standard
Use of an SAP enhancement point that is not releasedno-modification-of-sap-standard
define view (legacy DDL view) instead of define view entityinterface-entity-required-annotations

Soft warnings — allowed in S/4HANA on-prem Cloud development for transitional reasons, never allowed in BTP

CheckNote
Use of a SAP API released only with Use System-Internally contractAllowed on-prem during migration, hard-blocked on BTP
Released-API use that is deprecated and slated for removalWill become a hard violation in a future release
Custom CDS view selecting from another unreleased custom viewAllowed today, but introduces a chain that will break

Procedure

  1. Get the source. Resolve the scope and read every object per the tool-routing table above. The official abap-adt server has no source-read tool, so this step runs on arc-1 SAPRead; if arc-1 is not connected, ask the user to paste the source from ADT. Do not paraphrase or imagine source code.
  2. For each object, walk the hard checks. Record every hit with: object, line/element, check name, root-cause rule, and a concrete remediation.
  3. Then walk the soft checks for objects targeting S/4HANA on-prem. Skip soft checks if the target is BTP — every soft finding is hard there.
  4. For every finding, propose a concrete fix. Examples:
    • Direct SELECT vbak → "use released I_SalesOrder; field VBELN becomes SalesOrder, NETWR becomes TotalNetAmount"
    • Unreleased FM call → "use released class <X> instead; signature: <methods>"
    • define view ZX_... → "migrate to define view entity ZX_...; remove @AbapCatalog.sqlViewName"
    • PERFORM process_order → "move logic to a method on a FINAL class; declare per Clean ABAP methods-do-one-thing-and-stay-small"
  5. Do not write changes. This command is read-only. The user runs /abap-cloud-rap:atc-remediation or fixes by hand.

Output format

# Clean Core Compliance Report — <SCOPE>

Target system: BTP | S/4HANA on-prem
Objects audited: <N>
Hard violations: <N>
Soft warnings: <N>

## Hard violations
(Listed by object, then by check.)

### Object: <name>
#### HV-001 — <one-line violation>
- **Where:** <file> line <N>
- **Check:** <check name from the hard table above>
- **Rule:** <rule-name from CLAUDE.md>
- **Found:**
` ` `abap
<offending code>
` ` `
- **Fix:**
` ` `abap
<concrete replacement, ready to paste>
` ` `
- **Notes:** <e.g. field-name mapping when migrating from a table to a released CDS view>

(repeat per finding)

## Soft warnings (S/4HANA on-prem only)
(Same structure as hard violations; only emitted when target is S/4HANA on-prem.)

## Summary
| Object                | Hard | Soft | Clean core compliant? |
|-----------------------|------|------|-----------------------|
| <name>                | N    | N    | yes / no              |
...

## Recommended next actions
1. Fix the hard violations first — they prevent activation on BTP.
2. For ATC-checkable findings, run `/abap-cloud-rap:atc-remediation` to apply mechanical fixes in batches.
3. For semantic migrations (e.g. `vbak → I_SalesOrder` with field renames), do them by hand and re-run this command to confirm.
4. Re-run this command after fixes to confirm.

Hard rules for this command

  • Read-only. No writes back. Ever. Only read/diagnose tools from either server.
  • Always state the target system. Hard vs soft violation depends on it.
  • Verify release state, never recall it. A released-apis-only finding must cite SAPRead type=API_STATE output or an ATC finding. Otherwise mark it unverified.
  • Always cite the check name and the source rule. Never present a finding without both.
  • Always show a concrete remediation. A finding without a fix is not useful.
  • For field-name migrations (e.g. vbak.vbeln → I_SalesOrder.SalesOrder), list every renamed field used in the surrounding code — not just the table swap. Half a migration is worse than none.
  • Pseudo-comment suppression is not a remediation. If the user wants to ignore a finding, they should justify it through /abap-cloud-rap:atc-remediation, not here.
  • Do not include findings that have no rule in CLAUDE.md. This is a compliance check against the library, not a free-form code review.

Häufig gestellte Fragen

Was macht der KI-Skill Clean Core Check?

Check an ABAP object or package for clean core compliance — unreleased APIs, direct SELECT on SAP-owned tables, classic constructs disallowed in ABAP Cloud, modifications to SAP standard. Use when the user asks to audit, verify, or check clean core compliance, ABAP Cloud compatibility, released API usage, or extension point usage. Produces a categorised report with hard violations and soft warnings. Read-only — never writes back. Targets BTP ABAP Environment and S/4HANA on-prem in the ABAP Cloud development model.

Warum Clean Core Check in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Clean Core Check besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Clean Core Check in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/matt1as/claude-abap-skills/tree/main/abap-cloud-rap/clean-core-check ein. TypingMind liest die Datei SKILL.md und installiert den Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Clean Core Check nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Clean Core Check verwenden?

So viele Sie möchten. In TypingMind können Sie Clean Core Check mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Clean Core Check kostenlos?

Ja. Der Skill wird von matt1as auf GitHub unter der Lizenz Apache-2.0 veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇