Skip to main content
skill CX Codex

sap-api-style — Claude Code skill: what it does, how to install

Guides developers in documenting REST, OData, and native code APIs using SAP API Style Guide rules. Useful when preparing specs for SAP API Business Hub.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add secondsky/sap-skills --skill sap-api-style -a claude-code
Open on GitHub

What sap-api-style does

This skill integrates official SAP API Style Guide standards across REST, OData (v2.0, v3.0, v4.01), and native libraries in Java, JavaScript, .NET, and C/C++. It covers code documentation standards using Javadoc, JSDoc, XML comments, and Doxygen.

It provides naming conventions and structural templates. REST templates follow a two-level structure, while OData uses a three-level hierarchy. The guidelines enforce strict character limits: 80 characters for the API title, 180 for x-sap-shortText, and 255 for operation summaries. Deprecation workflows demand x-sap-stateInfo metadata along with a minimum 12-month support commitment. All texts must be written in American English.

What it helps with

  • format OpenAPI 3.0.3 specifications for SAP API Business Hub
  • audit endpoint and parameter names against SAP naming conventions
  • write standardized code comments using Javadoc or JSDoc
  • document API deprecation using x-sap-stateInfo
  • generate three-level documentation templates for OData services

Example prompts for the agent

  • Review this OpenAPI specification against sap-api-style guidelines
  • Generate JSDoc comments for this JavaScript library following SAP standards
  • Check if my OData resource names comply with SAP API style rules

How to install sap-api-style

1Skills CLI (Vercel)

npx skills add secondsky/sap-skills --skill sap-api-style -a claude-code

2Manually: put the files in place

~/.claude/skills/sap-api-style/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/sap-api-style/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about sap-api-style

How to install sap-api-style in Claude Code?

Run npx skills add secondsky/sap-skills --skill sap-api-style -a claude-code in your terminal.

What is the sap-api-style skill?

It provides formatting standards, templates, and naming rules for documenting SAP REST, OData, and native APIs.

What are the lifecycle rules for deprecated APIs in this guide?

The guidelines require tracking lifecycle states with x-sap-stateInfo metadata and supporting deprecated endpoints for at least 12 months.

Similar skills

All skills for Backend and APIs →

From the same set24

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor