Logo di Create Object

Create Object

Community
babamba2
create-object

ABAP object creation workflow — confirm transport+package, auto-create and activate

Panoramica

Pubblicato dababamba2
Repositorysuperclaude-for-sap
Nome della skillcreate-object
Stelle
69
Fork
26
File inclusi
5
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 5

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da babamba2 su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Create Object in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/babamba2/superclaude-for-sap/tree/main/skills/create-object
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

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/create-object .claude/skills/create-object
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Create Object in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Create Object non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Create Object non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

SC4SAP Create Object

Guided ABAP object creation workflow. Hybrid mode: confirms transport and package interactively, then auto-creates, writes initial code, and activates the object.

<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>

<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. </Phase_Banner>

<Use_When>

  • User says "create", "new class", "new program", "create object", "add a function module", "new table", etc.
  • A new ABAP development artifact needs to be created from scratch
  • User knows what they want to build but needs the creation scaffolded correctly </Use_When>

<Do_Not_Use_When>

  • Modifying an existing object -- use direct MCP Update* tools (UpdateClass, UpdateProgram, UpdateInclude, etc.)
  • Creating multiple interdependent objects -- use /sc4sap:create-program for a full program with includes
  • User just wants to understand what type to use -- ask a module consultant agent directly </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:create-object to pre-grant all MCP tool + file-op permissions for this session (eliminates per-tool "Allow this tool?" prompts during Create* + activation flow).

  • 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>

<Supported_Object_Types>

TypeMCP Create ToolDescription
ClassCreateClassABAP OO class (local or global)
InterfaceCreateInterfaceABAP OO interface
ProgramCreateProgramExecutable program (report)
Function ModuleCreateFunctionModule + CreateFunctionGroupRFC-capable function module
TableCreateTableTransparent database table
StructureCreateStructureABAP structure (type definition)
Data ElementCreateDataElementDomain-based data element
DomainCreateDomainValue domain with fixed values or ranges
CDS ViewCreateViewCore Data Services view
Service DefinitionCreateServiceDefinitionOData service definition
Service BindingCreateServiceBindingOData service binding (UI5/API)
Behavior DefinitionCreateBehaviorDefinitionRAP behavior definition
ScreenCreateScreenDynpro screen (selection screen or dialog)
GUI StatusCreateGuiStatusPF-Status (menu bar, toolbar, function keys)
</Supported_Object_Types>

<ECC_DDIC_Fallback> MANDATORY: Read ../../common/ecc-ddic-fallback.md before creating any Table / Data Element / Domain. It defines when the ECC branch triggers, the helper-program naming rules, the strict template format (mirroring the files under ecc/), and the hard constraints ($TMP only, no activate, no CTS). </ECC_DDIC_Fallback>

<Field_Typing_Rule> MANDATORY for every Table / Structure / Table Type field-type decision (standard MCP flow and ECC helper-program fallback): read ../../common/field-typing-rule.md.

Priority: Standard DE (1) → existing CBO DE (2) → new CBO DE (3) → Data Type + Length (4, last resort). Raw primitives like LIFNR CHAR 10 / MATNR CHAR 40 / BUKRS CHAR 4 are forbidden when an authoritative SAP data element exists. Before each field, run SearchObject against DTEL and check .sc4sap/cbo/<MODULE>/<PACKAGE>/inventory.json. </Field_Typing_Rule>

<Function_Module_Rule> MANDATORY for every UpdateFunctionModule source emission: read ../../common/function-module-rule.md.

FM signature is stored inline in the FUNCTION statement source (SAP parses it on write and updates TFDIR/FUPARAREF automatically). There is no separate "parameters" endpoint. Every FM source MUST declare IMPORTING / EXPORTING / CHANGING / TABLES / EXCEPTIONS clauses directly between FUNCTION {name} and the first .. Never emit the placeholder " You can use the template 'functionModuleParameter' ... line, never use *"*"Local Interface: blocks as a substitute, never declare shadow locals like lv_iv_xxx TYPE ... to stand in for missing parameters.

Remote-Enabled (RFC) flag is a separate concern — stored in TFDIR.FMODE, not in source. Currently requires manual SE37 Properties update; flag this in the completion report. </Function_Module_Rule>

<Hybrid_Mode> Confirm (interactive):

  • Object name (enforce Z/Y prefix, max 30 chars, uppercase)
  • Package assignment (search with GetPackage if unsure)
  • Transport number (list open transports via ListTransports, or create new)
  • Short description

Auto-execute (after confirmation):

  • Create object via appropriate MCP Create* tool
  • Generate initial implementation (skeleton with proper structure)
  • Activate the object
  • Verify activation via GetInactiveObjects </Hybrid_Mode>

<Workflow_Steps> MANDATORY: Follow the step sequence defined in workflow-steps.md.

Per-step model allocation (the main thread follows the session model — model: inherit; creation delegates to sap-executor; the report is rendered on main):

StepOwnerModelRole
0 Trustskill-to-skillSonnetpermission bootstrap
1 ClassifymainSonnetkeyword → object type
2 MetadatamainSonnetname / package / transport / description (Q&A + SearchObject + ListTransports + naming validation)
3 Pre-Creation CheckmainSonnetSearchObject (name-exists guard)
3.5 Version BranchmainSonnetSAP_VERSION ECC vs S/4 routing
4 + 5 + 6 Create + Implement + Activate (standard flow)sap-executor with model: "opus" overrideOpusOne dispatch covers: CreateClass/CreateProgram/... → UpdateClass/UpdateProgram/... with initial implementation code → ActivateObjects → GetInactiveObjects verify. The Opus override is justified because Step 5 is novel code generation (common/model-routing-rule.md § Tier 1 (Opus)) — field typing priority 1–4, class constructor + method signatures, FM inline parameter declarations, etc.
4-ECC DDIC Helper Program (ECC fallback)sap-executor with model: "opus" overrideOpusECC-only branch for Table/DTEL/DOMA. Executor picks the matching template from skills/create-object/ecc/, substitutes names, fills the field list per common/field-typing-rule.md, and CreateProgram + UpdateProgram + ActivateObjects the helper into $TMP.
7 Completion ReportmainSonnetPure formatting from the executor's structured return — no agent dispatch. Localizes to the user's current conversation language. Render rules: dispatch-prompts.md § Step 7. For ECC fallback, use the mandatory report format there verbatim (do NOT rephrase the ⚠ header + 3-step SE38/SE11 checklist).

At Step 2 (metadata collection) — when the object belongs to a specific SAP module (MM table, SD structure, PS data element, …) — the main thread reads SAP_ACTIVE_MODULES from sap.env / config.json and consults ../../common/active-modules.md. If companion modules are active, proactively suggest integration fields (e.g., creating an MM CBO table in a landscape with PS active → suggest adding PS_POSID / AUFNR). Do NOT add silently — propose to user and let them accept/decline, then pass the confirmed field list through to the executor dispatch. </Workflow_Steps>

<Naming_Convention_Enforcement> MANDATORY: Always read configs/common/naming-conventions.md for the complete, authoritative ABAP naming conventions reference before creating any object.

The reference file covers:

  • General rules (prefix, case, character set, length limits)
  • Module codes (SD/MM/FI/CO/...) for the Z{MODULE}_... pattern
  • Object-specific patterns — Classes (ZCL_/ZIF_/ZCX_), Programs (ZR_), Function Groups/Modules, Data Dictionary (ZT_/ZDE_/ZDO_), UI (Dynpro/GUI Status), OData/RAP (Z_I_/Z_C_/Z_BP_/Z_SB_), Enhancements, IDoc/ALE
  • Code-level naming (variables: LV_/LS_/LT_/IV_/EV_/MV_; constants GC_/LC_; types TY_; methods)
  • Validation rules (uppercase, Z/Y prefix, character set, max length, non-generic)

Quick validation checklist (applied before every create):

  1. Starts with Z or Y (customer namespace)
  2. UPPERCASE only, characters in [A-Z0-9_]
  3. Within max length (30 chars for most objects)
  4. Not generic (ZTEST/ZTEMP/ZDUMMY forbidden)
  5. Object-type prefix follows the reference (e.g., ZCL_ for classes, ZIF_ for interfaces)
  6. Screen = 4-digit number (e.g., 0100); GUI Status = uppercase identifier (e.g., STATUS_0100) — both require a parent program

If the user-provided name violates any rule, suggest a compliant alternative based on configs/common/naming-conventions.md before proceeding. </Naming_Convention_Enforcement>

<MCP_Tools_Used>

  • SearchObject — check for existing objects
  • ListTransports — list available transports
  • GetPackage — verify package existence
  • CreateClass / CreateInterface / CreateProgram / CreateFunctionGroup / CreateFunctionModule / CreateTable / CreateStructure / CreateDataElement / CreateDomain / CreateView / CreateServiceDefinition / CreateServiceBinding / CreateBehaviorDefinition / CreateScreen / CreateGuiStatus
  • UpdateClass / UpdateProgram / UpdateScreen / UpdateGuiStatus / etc. — write initial implementation
  • GetInactiveObjects — verify activation
  • ECC DDIC fallback: only CreateProgram + UpdateProgram (target $TMP). CreateTable / CreateDataElement / CreateDomain must NOT be attempted when SAP_VERSION = ECC. </MCP_Tools_Used>

Task: $ARGUMENTS

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA Create Object?

ABAP object creation workflow — confirm transport+package, auto-create and activate

Perché usare Create Object su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Create Object è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Create Object in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/babamba2/superclaude-for-sap/tree/main/skills/create-object. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Create Object?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Create Object?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Create Object: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Create Object è gratuita?

Sì. È pubblicata su GitHub da babamba2 con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇