# sap-cap-capire

Build SAP CAP applications with help on CDS models, services, databases, and deployment. Use the skill when implementing or troubleshooting a CAP project.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 1100 installs · ★ 475
- Author: secondsky
- License: GPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/secondsky/sap-skills/tree/HEAD/plugins/sap-cap-capire/skills/sap-cap-capire/SKILL.md
- Updated: 2026-10-21
- HTML: https://affpapa.org/en/nevibecode/skills/sap-cap-capire

## What it does

The skill covers CDS models and services, Node.js and Java event handlers, OData, authorization, multitenancy, and messaging. It also assists with SAP HANA, SQLite, and PostgreSQL persistence, plus deployment to SAP BTP Cloud Foundry or Kyma.

CAP MCP integration provides `search_model` for finding entities and services in a project model, and `search_docs` for locating CAP documentation. Model searches run locally; documentation searches use cached material. For Codex, OpenCode, and other LSP-capable clients, configure the launch command yourself. The `.lsp.json` sidecar targets Claude integration, so other clients should not be expected to load it automatically.

## Requirements
- Works with: PostgreSQL

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add secondsky/sap-skills --skill sap-cap-capire -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/sap-cap-capire/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/sap-cap-capire/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add secondsky/sap-skills --skill sap-cap-capire -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/sap-cap-capire/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add secondsky/sap-skills --skill sap-cap-capire -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/sap-cap-capire/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install secondsky/sap-skills sap-cap-capire
```

2. **Manually: put the files in place**
- File: `.github/skills/sap-cap-capire/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add secondsky/sap-skills --skill sap-cap-capire -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/secondsky/sap-skills --path plugins/sap-cap-capire/skills/sap-cap-capire
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/sap-cap-capire/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add secondsky/sap-skills --skill sap-cap-capire -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/secondsky/sap-skills/tree/HEAD/plugins/sap-cap-capire/skills/sap-cap-capire/SKILL.md

## When to use it
- Model CDS entities and their relationships
- Implement a CAP service with event handlers
- Configure persistence with SAP HANA or SQLite
- Prepare a project for Cloud Foundry or Kyma deployment
- Find entities and services in the compiled model with MCP

## Example prompts
- Create a CDS model for a book catalog with authors and their relationships.
- Implement a Node.js CAP event handler for submitting an order.
- Use CAP MCP to find a service and its related entities in this project.

## Similar
- [mcp-builder](https://affpapa.org/en/nevibecode/skills/mcp-builder.md) — skill · 130949 installs
- [claude-api](https://affpapa.org/en/nevibecode/skills/claude-api.md) — skill · 74198 installs
- [lark-im](https://affpapa.org/en/nevibecode/skills/lark-im.md) — skill · 472900 installs
- [lark-event](https://affpapa.org/en/nevibecode/skills/lark-event.md) — skill · 466800 installs
- [caveman-discover](https://affpapa.org/en/nevibecode/skills/caveman-discover.md) — skill · 104400 installs
- [migration](https://affpapa.org/en/nevibecode/skills/migration.md) — skill · 103900 installs

From the same set: [secondsky/sap-skills](https://affpapa.org/en/nevibecode/by/secondsky/sap-skills.md) — 40 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
