Abapgitのロゴ

Abapgit

コミュニティ
likweitan
abapgit

リポジトリのセットアップ、クローン、シリアライズ、ブランチ戦略、トランスポートとGitのワークフロー、CI/CD統合、.abapgit.xmlの設定など、abapGitのワークフローを支援します。abapGit、ABAP向けGit、ABAPのバージョン管理、abapGitのクローン・プル・プッシュ、ABAPのブランチ戦略、abapGitの設定、シリアライズ、デシリアライズ、トランスポートとGitの比較、gCTS、abapGitのCI/CD、GitリポジトリでのABAPコード管理についてユーザーから質問された場合に使用します。「abapGitをセットアップして」「リポジトリをクローンして」「ABAPをGitにプッシュして」「abapGitのブランチ戦略」「abapGitの設定」「.abapgit.xml」「トランスポートとGitの比較」「ABAP向けCI/CD」などの依頼が対象です。

Add to TypingMind

概要

公開者likweitan
リポジトリabap-skills
スキル名abapgit
スター
64
フォーク
15
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    likweitanがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Abapgit」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/likweitan/abap-skills/tree/main/skills/abapgit
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/likweitan/abap-skills.git /tmp/abap-skills
mkdir -p .claude/skills
cp -r /tmp/abap-skills/skills/abapgit .claude/skills/abapgit
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでAbapgitを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にAbapgitを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Abapgitは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

abapGit Workflows

Guide for managing ABAP development objects in Git repositories using abapGit.

Workflow

  1. Determine the user's goal:

    • Setting up abapGit for the first time
    • Cloning an existing repository
    • Pushing ABAP code to a Git repository
    • Configuring branching or transport strategies
    • Setting up CI/CD pipelines for ABAP
    • Troubleshooting abapGit issues
  2. Identify the environment:

    • On-premise SAP system with abapGit standalone
    • SAP BTP ABAP Environment (abapGit integration in ADT)
    • gCTS (Git-enabled Change and Transport System)
  3. Guide implementation with best practices for ABAP-specific Git workflows

abapGit Overview

AspectDescription
WhatOpen-source Git client for ABAP, runs inside the SAP system
SerializationConverts ABAP objects to file-based format for Git storage
DeserializationImports file-based format back into ABAP objects in the system
Supported ObjectsClasses, interfaces, CDS, function groups, programs, tables, etc.
InstallationVia abapGit standalone report or Eclipse plugin

Setup

Installing abapGit Standalone (On-Premise)

  1. Create report ZABAPGIT_STANDALONE or ZABAPGIT_FULL
  2. Download latest version from https://raw.githubusercontent.com/abapGit/build/main/zabapgit_standalone.prog.abap
  3. Copy content into the report and activate
  4. Run the report via SE38 or transaction ZABAPGIT

abapGit in ADT (BTP ABAP Environment)

  1. In ADT: Window → Show View → Other → abapGit Repositories
  2. Link repository using HTTPS URL
  3. Requires communication arrangement for Git service

SSL Certificates

  • Download GitHub/GitLab root certificates
  • Import via STRUST (transaction) → SSL Client (Anonymous) or (Standard)
  • Required for HTTPS connections to Git providers

Core Operations

Clone a Repository

1. Open abapGit (standalone or ADT)
2. Click "+ Clone" / "Link abapGit Repository"
3. Enter repository URL (HTTPS)
4. Select target package (create if needed)
5. Select branch (default: main)
6. Pull objects into the system

Push Changes to Git

1. Stage changed objects (select what to include)
2. Write a meaningful commit message
3. Push to remote branch
4. Resolve conflicts if any

Pull Updates from Git

1. Open the repository in abapGit
2. Click "Pull"
3. Review incoming changes
4. Activate pulled objects

.abapgit.xml Configuration

The .abapgit.xml file in the repository root controls serialization settings:

xml
<?xml version="1.0" encoding="utf-8"?>
<asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">
 <asx:values>
  <DATA>
   <MASTER_LANGUAGE>E</MASTER_LANGUAGE>
   <STARTING_FOLDER>/src/</STARTING_FOLDER>
   <FOLDER_LOGIC>PREFIX</FOLDER_LOGIC>
   <IGNORE>
    <item>/.gitignore</item>
    <item>/LICENSE</item>
    <item>/README.md</item>
    <item>/package.json</item>
    <item>/.travis.yml</item>
   </IGNORE>
   <REQUIREMENTS/>
  </DATA>
 </asx:values>
</asx:abap>

Key Settings

SettingValuesDescription
MASTER_LANGUAGEE, D, etc.Master language for texts
STARTING_FOLDER/src/Root folder for serialized objects
FOLDER_LOGICPREFIX / FULLHow package hierarchy maps to folders
IGNOREFile patternsFiles to exclude from deserialization
REQUIREMENTSSoftware componentsDependencies that must be present before import

Folder Logic

  • PREFIX: Package name prefix is removed. Z_PKG_SUB under Z_PKG → sub/ folder
  • FULL: Full package name becomes folder. Z_PKG_SUB → z_pkg_sub/

Branching Strategy

Recommended: Trunk-Based for ABAP

main (production-ready)
  └── feature/add-validation
  └── feature/new-report
  └── bugfix/fix-calculation
  • Keep main branch stable and deployable
  • Create short-lived feature branches
  • Merge via pull requests with code review
  • One SAP system per branch for development

Transport-Based Strategy

DEV system ←→ feature branches
QAS system ←→ release branch
PRD system ←  main branch (tags for releases)

Transport vs. Git Workflows

AspectTransport-BasedGit-Based (abapGit)
VersioningTransport requestsGit commits with full history
CollaborationTransport of copiesBranches, pull requests, code review
RollbackDifficultgit revert or checkout previous commit
CI/CDLimitedFull integration with pipelines
Multi-systemTransport routesClone/pull to each system
Conflict resolutionManualGit merge tools

Hybrid Approach

Many teams use abapGit for version control while retaining transports for deployment:

  1. Develop in DEV system
  2. Commit changes to Git (abapGit push)
  3. Use transport requests to move to QAS/PRD
  4. Git serves as source of truth and backup

CI/CD Integration

abaplint in CI Pipeline

yaml
# .github/workflows/abaplint.yml
name: abaplint
on: [push, pull_request]
jobs:
  abaplint:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: niclas-timm/abaplint-action@main

abaplint.json Configuration

json
{
  "global": {
    "files": "/src/**/*.*"
  },
  "syntax": {
    "version": "Cloud",
    "errorNamespace": "^(Z|Y|LCL_|LIF_)"
  },
  "rules": {
    "description": "ABAP lint configuration"
  }
}

Troubleshooting

IssueSolution
SSL handshake errorImport SSL certificates via STRUST
Authorization errorCheck S_DEVELOP authorization object
Object locked by transportRelease or remove transport lock
Serialization errorCheck object type support in abapGit
Namespace conflictsEnsure unique naming conventions
Large repository slowUse shallow clone or split into sub-packages

Output Format

When helping with abapGit topics, structure responses as:

markdown
## abapGit Guidance

### Context

- Environment: [On-premise / BTP / gCTS]
- Operation: [Clone / Push / Pull / Setup]

### Steps

[Step-by-step instructions]

### Configuration

[Relevant .abapgit.xml or abaplint settings]

References

Related Skills

  • abap: Use for abaplint integration with abapGit repositories
  • btp-abap-environment: Use for abapGit setup in BTP ABAP Environment
  • abap-cloud: Use for ensuring abapGit repositories are ABAP Cloud compliant

よくある質問

AIスキル「Abapgit」では何ができますか?

リポジトリのセットアップ、クローン、シリアライズ、ブランチ戦略、トランスポートとGitのワークフロー、CI/CD統合、.abapgit.xmlの設定など、abapGitのワークフローを支援します。abapGit、ABAP向けGit、ABAPのバージョン管理、abapGitのクローン・プル・プッシュ、ABAPのブランチ戦略、abapGitの設定、シリアライズ、デシリアライズ、トランスポートとGitの比較、gCTS、abapGitのCI/CD、GitリポジトリでのABAPコード管理についてユーザーから質問された場合に使用します。「abapGitをセットアップして」「リポジトリをクローンして」「ABAPをGitにプッシュして」「abapGitのブランチ戦略」「abapGitの設定」「.abapgit.xml」「トランスポートとGitの比較」「ABAP向けCI/CD」などの依頼が対象です。

TypingMindでAbapgitを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Abapgitはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにAbapgitをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/likweitan/abap-skills/tree/main/skills/abapgitを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Abapgitを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Abapgitで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもAbapgitを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Abapgit」は無料ですか?

はい。likweitanがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇