sap-samples/cloud-cap-hana-swapi · Archived

cap-change-workflow

Use for end-to-end CAP change workflows: modify CDS/handlers, regenerate artifacts, and run a short verification checklist for this repository.

First seen Apr 24, 2026

Installation

$ npx skills add sap-samples/cloud-cap-hana-swapi --skill cap-change-workflow

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from sap-samples/cloud-cap-hana-swapi.

npx skills add sap-samples/cloud-cap-hana-swapi

Browse all from sap-samples/cloud-cap-hana-swapi

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 89
License LICENSES
Default branch main
Open issues 0
Status Archived

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,606 B
  • docs SUMMARY.md 170 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 2 installs

SKILL.md

CAP Change Workflow

Use this skill when implementing non-trivial CAP changes (CDS, services, handlers, annotations) and you want a consistent implementation + verification flow.

When to use

  • Adding/changing entities, associations, projections, or service exposure
  • Updating cap/srv/*.js handlers or event hooks
  • Regenerating build artifacts and validating basic runtime behavior

Procedure

  1. Clarify requested behavior and impacted files.
  2. If CDS is involved:

- Resolve definitions with cds-mcp first. - Check CAP docs with cds-mcp before proposing CAP API/CLI syntax.

  1. Implement minimal changes in appropriate layer:

- cap/db for domain model - cap/srv/-service.cds for contracts - cap/srv/-fiori.cds for UI annotations - cap/srv/*.js for runtime logic

  1. Rebuild artifacts in cap/ (npm run build) when CDS changed.
  2. Run a compact verification checklist and report outcomes.
  3. Document risks, assumptions, and follow-ups.

Repository gotchas

  • After HANA deployment, generated folders can be cleared; run npm run build again.
  • SQLite local loading may hit SQLITE_BUSY with parallel loading.

Checklist template

Use this checklist after implementation: assets/change-checklist.md.