Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sap-engineering-skill

English | 中文

A collection of AI agent skills for SAP ABAP engineering — built by a SAP consultant for daily real-world work.


What Is This?

sap-engineering-skill is a monorepo of AI agent skills that cover the core workflow of SAP ABAP development: reading and writing source code, reviewing code quality and security before release, assessing transport requests at the gate, and answering SAP integration questions with production-ready precision.

Each skill follows the standard SKILL.md specification and works with any compatible AI agent framework — opencode, Claude Code, Cursor, or any framework that supports custom tool/skill injection.

The skills abap-code-review, sap-transport-gate, and sap-integration-wiki were previously maintained as standalone public repositories. Those repositories are now archived (read-only) - all future updates happen exclusively in this monorepo.


Skills

A command-line tool and AI agent skill for reading and writing ABAP source code, metadata, and transport requests from SAP systems via the ADT REST API.

Supports: programs, classes, function modules, function groups, interfaces, includes, CDS views, DDIC tables/structures/types, packages, transactions, SQL queries, where-used analysis, syntax checks, transport management.

Key features:

  • Read-only by default; write and transport operations require explicit capability flags + per-operation [y/N] confirmation
  • Windows one-click installer (setup-opencode-abap-cli.bat) that wires up opencode end-to-end
  • Credentials stored at ~/.sap-adt-cli/config.json; environment variable override for CI/CD

An AI agent skill for SAP ABAP pre-release code review. Performs a comprehensive security and quality assessment across 9 dimensions and produces a formal, sign-off-ready Markdown report.

# Dimension Focus
1 [SEC] Security SQL injection, code injection, hardcoded credentials
2 [AUTH] Authorization Missing AUTHORITY-CHECK, bypass patterns
3 [DATA] Data Integrity SY-SUBRC handling, locking, exception handling
4 [PERF] Performance SELECT-in-LOOP, SELECT *, full table scans
5 [STD] Code Standards Deprecated statements, oversized methods, dead code
6 [INTERFACE] Integration Dialog in RFC FMs, missing EXCEPTIONS, OData auth
7 [CHANGE] Change Impact Affected tables, SAP standard modifications
8 [COMP] Compliance PII, audit logs, SoD paths
9 [FUNC] Functional (optional) Business scenario coverage vs. requirements

Output: GO / CONDITIONAL GO / NO-GO recommendation with evidence-cited findings and a sign-off table.


An AI agent skill that performs structured, evidence-driven release readiness assessment for SAP Transport Requests. Produces an auditable GO / CONDITIONAL_GO / NO_GO / NEED_MORE_EVIDENCE decision.

Covers 10 review dimensions: code quality, performance, security, authorization, transaction consistency, integration impact, transport completeness, functional alignment, release readiness, and evidence gaps.

Three review modes:

  • Offline Package — structured Review Package exported from SAP (preferred)
  • Offline Local — partial materials (source files only)
  • Online Transport — TR ID + tr_collector.py CLI for live ADT collection

Core principle: Evidence-first. AI never invents conclusions from insufficient evidence.


A composable knowledge-base skill that turns any AI assistant into a SAP integration specialist. Covers 9 business domains and 8 integration technologies — no more generic wrong answers.

Business domains: MM (Purchasing, Inventory), SD (Sales), FI (GL, AR/AP, Asset Accounting, FSSC), Master Data, PP (Production)

Technologies: OData V2/V4, RFC/JCo, SOAP over HTTP RFC, IDoc/PI-PO, BAPI & RAP, Authentication, BTP Integration Suite, Best Practices

SAP versions: ECC 6.0 · S/4HANA On-Prem 1909–2023+ · S/4HANA Cloud (Public & Private Edition)


Repository Structure

sap-engineering-skill/
├── README.md                         ← This file (English)
├── README.zh-CN.md                   ← Chinese version
├── LICENSE
├── setup-opencode-abap-cli.bat       ← Windows one-click installer
└── skills/
    ├── sap-adt-cli/             ← ADT CLI tool & skill (source in this repo)
    ├── abap-code-review/        ← ABAP code review skill
    ├── sap-transport-gate/      ← Transport gate review skill
    └── sap-integration-wiki/    ← SAP integration knowledge base

The three skills above were historically tracked as git subtrees from standalone public repositories, which are now archived (read-only). All updates are maintained in this repo:

Standalone repository (archived) Migrated to
https://github.com/shrek-abaper/abap-code-review skills/abap-code-review/
https://github.com/shrek-abaper/sap-transport-gate skills/sap-transport-gate/
https://github.com/shrek-abaper/sap-integration-wiki skills/sap-integration-wiki/

Quick Start

Windows — sap-adt-cli one-click installer

Download setup-opencode-abap-cli.bat and double-click. The script installs opencode, clones this repo, and wires up the skill automatically.

Manual install (any OS)

# Clone the repository
git clone https://github.com/shrek-abaper/sap-engineering-skill
cd sap-engineering-skill

# Link skills into your agent's skill directory
ln -s "$(pwd)/skills/sap-adt-cli"         ~/.agents/skills/sap-adt-cli
ln -s "$(pwd)/skills/abap-code-review"    ~/.agents/skills/abap-code-review
ln -s "$(pwd)/skills/sap-transport-gate"  ~/.agents/skills/sap-transport-gate
ln -s "$(pwd)/skills/sap-integration-wiki" ~/.agents/skills/sap-integration-wiki

# Configure SAP credentials for sap-adt-cli
python3 skills/sap-adt-cli/scripts/sap_adt_cli.py configure

Compatible AI agents

Agent Notes
opencode Free, open-source. Supports 30+ model providers. Windows installer included.
Claude Code Anthropic's official CLI agent — natively supports SKILL.md
Cursor AI-powered code editor; install via MCP tool adapter

⚠️ Data compliance: ABAP source code may contain core business logic and sensitive data. Before sending code to cloud-based AI services, confirm compliance with your organization's data security policy.


Skill Reference

Skill Use When
sap-adt-cli Read/write ABAP source, run SQL, manage transports via ADT API
abap-code-review Pre-release security & quality review of a single ABAP program (9 dimensions)
sap-transport-gate TR-level release gate assessment — evidence-based GO/NO-GO decision
sap-integration-wiki SAP integration patterns, API reference, troubleshooting by scenario

License

MIT

Skills contain reference content from:

This project is not affiliated with, endorsed by, or officially supported by SAP SE.

About

AI agent skills for SAP ABAP: ADT read/write CLI, 9-dimension code review, transport release gate, integration wiki. Works with Claude Code / opencode.

Topics

Resources

Stars

31 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages