Skip to content
Skill

Code generation

Guides agents to write clean-core, testable SAP ABAP, CDS, RAP and CAP code

Code generation is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
14
Last commit
License
MIT
Listing updated

Similar skills

About Code generation

This skill sets rules for an AI agent producing SAP development code across ABAP, CDS, RAP, Fiori Elements and BTP CAP. It asks the agent to settle the target platform first, whether ABAP Cloud, S/4HANA on-premise or BTP CAP, and then choose the matching language subset and released APIs.

The workflow runs in ordered stages: documenting the data model and API dependencies, building interfaces and class skeletons before logic, writing ABAP Unit test classes alongside the implementation, and adding documentation headers. The skill also lists naming prefixes such as ZCL_, ZIF_ and ZI_/ZC_/ZR_ for CDS and RAP objects, and bans direct reads from SAP application tables in favour of released CDS entities.

It expects an agent working against an SAP system or a project with access to ATC checks, and it closes with a generated-code record template covering objects, dependencies and test results. The skill is written for Claude Code and is distributed as a plugin in the sap-superpowers marketplace.

When your agent uses it

Use when generating ABAP, CDS, RAP, Fiori Elements, or BTP CAP code for SAP systems. Enforces cloud-ready, clean-core-compliant, testable code generation — not quick-and-dirty prototypes.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (15 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the sap-superpowers plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add vigneshbarani24/sap-superpowers
/plugin install sap-superpowers@sap-superpowers

Or copy only this skill to ~/.claude/skills/code-generation:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vigneshbarani24/sap-superpowers.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/code-generation &&
cp -R "$tmp/skills/development/code-generation" ~/.claude/skills/code-generation &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/code-generation inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/code-generation to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vigneshbarani24/sap-superpowers.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/code-generation &&
cp -R "$tmp/skills/development/code-generation" ~/.agents/skills/code-generation &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/code-generation inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/code-generation to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vigneshbarani24/sap-superpowers.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/code-generation &&
cp -R "$tmp/skills/development/code-generation" ~/.cursor/skills/code-generation &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/code-generation inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/vigneshbarani24/sap-superpowers.git --path skills/development/code-generation

Or copy the folder to ~/.gemini/skills/code-generation yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/code-generation:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vigneshbarani24/sap-superpowers.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/code-generation &&
cp -R "$tmp/skills/development/code-generation" ~/.copilot/skills/code-generation &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/code-generation inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/vigneshbarani24/sap-superpowers.git

Then copy sap-superpowers/skills/development/code-generation into your agent's skills folder as code-generation. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Platform-first generation
Requires confirming ABAP Cloud, on-premise or CAP as the target before any code is written.
Released API enforcement
Steers data access through released CDS entities and APIs instead of physical SAP tables.
Unit test requirement
Asks for ABAP Unit test classes covering public methods alongside each generated class.
Naming convention rules
Lists Z/Y prefixes and RAP layer naming such as ZCL_, ZIF_, ZI_, ZC_ and ZR_.
Staged generation workflow
Orders work into design, interface skeleton, tests, logic and documentation steps.
ATC and error handling checks
Expects explicit error handling on external calls and ATC runs with no P1 or P2 findings.
Generated code record
Provides a template listing objects, data dependencies, ATC results and transport details.

Good for

  • Generate a CDS interface view on released journal entry data for a BTP ABAP project
  • Write an ABAP Cloud class with interface and unit tests for invoice processing
  • Build a RAP business object with behavior definition and behavior implementation class
  • Create a BTP CAP service with a CDS data model and Jest tests
  • Set up a Fiori Elements list report and object page over an OData V4 service

Code generation FAQ

Which clients can use Code generation?

The skill is listed for Claude Code and is distributed as a Claude Code plugin in the sap-superpowers marketplace.

Does Code generation need any scripts or extra tools to run?

The skill folder contains only its SKILL.md file and no scripts. It has no tool restrictions set, and it refers to SAP tools such as ATC and transaction TAANA.

Will Code generation generate code that reads from SAP tables like BSEG or VBAK?

No. Its rules say custom code must access data through released CDS entities, released function modules or released OData and RAP APIs, not physical tables.

What happens after the code is generated?

The skill names code-review as the next step, once code compiles, passes unit tests and is ATC-clean. It also points to troubleshooting, performance-tuning and development-workflow skills for related tasks.

How do I install Code generation in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/code-generation to use it in all your projects, or to .claude/skills/code-generation in one project. Or install the sap-superpowers plugin, which includes it: /plugin marketplace add vigneshbarani24/sap-superpowers, then /plugin install sap-superpowers@sap-superpowers.

Does Code generation run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Code generation?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Code generation?

The closest alternatives to Code generation are Autopilot, Code writer, Abap cloud, Code review and Writing sap skills.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from vigneshbarani24/sap-superpowers

  1. Category folder grouping nine SAP consulting sub-skills in SAP Superpowers

    • Open source
    • 14 GitHub stars
    • Enterprise it
  2. Structured SAP solution ideation with SAP standard checks, feasibility and prioritization

    • Open source
    • 14 GitHub stars
    • Developer tools
  3. Guides an agent through SAP change management: stakeholders, readiness, comms, training

    • Open source
    • 14 GitHub stars
    • Productivity
  4. Runs a structured Socratic interview to turn vague SAP project ideas into complete

    • Open source
    • 14 GitHub stars
    • Developer tools
  5. Produces range-based SAP effort estimates with work breakdown, risk buffers and timelines

    • Open source
    • 14 GitHub stars
    • Productivity
  6. Classifies SAP business requirements as fit, gap or partial fit for an Explore phase

    • Open source
    • 14 GitHub stars
    • Productivity