adt-reverse-engineering
БесплатноБез исполняемых скриптовНе проверенReverse-engineer SAP ADT REST endpoints using discovery, open source projects, and Sourcegraph code search. USE WHEN the user wants to understand an unknown…
от abapify★ 20 звёзд на GitHubОб этом скилле
ADT Reverse Engineering
This skill guides the systematic reverse engineering of SAP ADT REST endpoints. Use it when you need to understand an undocumented endpoint's behavior, request/response format, content types, or URL patterns before implementing support via $add-endpoint or $add-object-type.
When to Use This Skill
- Before
$add-endpoint— to gather endpoint details when no documentation exists - Before
$add-object-type— to understand the full ADT surface for an object type - When the user asks "what endpoints exist for X?" or "how does Y work in ADT?"
- When you need to find content-types, XML namespaces, or URL patterns for an endpoint
Skill Chain
$adt-reverse-engineering → Research & discover endpoint details
↓
$add-endpoint → Create schema + contract + fixture
↓
$add-object-type → Full ADK model + abapGit handler (if applicable)
Overview of Research Sources
| Priority | Source | Best For | Tool |
|---|---|---|---|
| 1 | Live SAP system (discovery) | Definitive URL paths, content-types, XML structure | adt discovery CLI |
| 2 | This repo (abapify/adt-cli) |
Existing patterns, schemas, contracts | Local grep/read |
| 3 | Open source projects | Implementation patterns, undocumented behaviors | Sourcegraph src CLI |
| 4 | SAP documentation | Official API specs (often incomplete) | Web search |
| 5 | Eclipse ADT network capture | Full HTTP request/response details | Web search / community |
Step 1: Start with Discovery (Live System)
The ADT discovery endpoint is the authoritative source for available services.
1a: Fetch the discovery document
# Using adt-cli (preferred)
npx adt discovery -o tmp/discovery.json
npx adt discovery -o tmp/discovery.xml
# Filter to a specific area
npx adt discovery --filter "CDS"
npx adt discovery --filter "programs"
npx adt discovery --filter "objects"
1b: Understand the discovery structure
The discovery document is an AtomPub service document:
service
└── workspace[]
├── title → Service area name (e.g., "Object Inspector")
└── collection[]
├── title → Collection name (e.g., "Classes")
├── href → Base URL path (e.g., "/sap/bc/adt/oo/classes")
├── category → Object type terms (e.g., "CLAS/OC")
└── templateLinks
└── templateLink[]
├── template → URL template with {placeholders}
├── rel → Link relation type
└── type → Content-Type for the response
1c: Key things to extract from discovery
For each endpoint you're researching, extract:
| Field | Where to Find | Example |
|---|---|---|
| Base URL | collection.href |
/sap/bc/adt/oo/classes |
| Content-Type | templateLink.type or collection.accept |
application/vnd.sap.adt.oo.classes.v4+xml |
| URL template | templateLink.template |
/sap/bc/adt/oo/classes/{objectName} |
| Object type | category.term |
CLAS/OC |
| Link relations | templateLink.rel |
http://www.sap.com/adt/relations/source |
1d: Make actual requests to the endpoint
# Fetch a specific object and save response
npx adt get ZCL_MY_CLASS -o tmp/class.xml
# Or use curl directly for raw HTTP inspection
curl -u "$SAP_USER:$SAP_PASSWORD" \
"https://$SAP_HOST/sap/bc/adt/oo/classes/zcl_my_class" \
-H "Accept: application/vnd.sap.adt.oo.classes.v4+xml" \
-v 2>tmp/headers.txt >tmp/response.xml
Save ALL raw responses to tmp/ (see tmp-folder-testing) — they become fixtures later.
Step 2: Search Open Source Projects
When no live system is available, or to understand implementation patterns and edge cases, search these open source projects that implement SAP ADT clients.
Reference Projects
| Project | Language | Strength | Repository |
|---|---|---|---|
| **vscode_abap_re |
Установить adt-reverse-engineering в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл adt-reverse-engineering?
Reverse-engineer SAP ADT REST endpoints using discovery, open source projects, and Sourcegraph code search. USE WHEN the user wants to understand an unknown ADT endpoint, figure out request/response formats, find content-types, discover URL patterns, or research how other tools integrate with SAP ADT. Trigger words - reverse engineer, discover endpoint, what does this endpoint return, ADT API research, find ADT endpoint, how does SAP ADT work, sniff endpoint, endpoint investigation.
Как установить скилл adt-reverse-engineering?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл adt-reverse-engineering запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic