cap-change-workflow

Automate CAP change workflows for CDS definitions, handlers, and artifact regeneration.

89|47|Updated Dec 1, 2020
One-click install
npx skills add https://github.com/SAP-samples/cloud-cap-hana-swapi --skill cap-change-workflow
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cap-change-workflow
Source: https://github.com/SAP-samples/cloud-cap-hana-swapi/tree/main/.github/skills/cap-change-workflow
Command: npx skills add https://github.com/SAP-samples/cloud-cap-hana-swapi --skill cap-change-workflow

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) components.

What problem does it solve?

CAP changes across CDS, services, and artifacts are error-prone and time-consuming without a repeatable workflow.

Core Features & Use Cases

  • End-to-end CAP change workflow to standardize edits to CDS definitions, handlers, and regenerated artifacts.
  • Built-in verification checklist (assets/change-checklist.md) to validate results before deployment.
  • Supports incremental changes and rollback guidance with minimal diffs.

Quick Start

Follow the CAP change workflow to implement and verify a modification in CDS/handlers and regenerated artifacts.

Frequently Asked Questions about cap-change-workflow

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate CAP change workflows for CDS definitions and handlers?

The workflow requires standard CAP tooling, including cds and npm commands, to execute build steps and regenerate artifacts. You need a local CAP project environment with these CLI tools installed to run the automated validation process.

How do I verify CDS entity and service changes before deployment?

You verify CDS entity and service changes by running through a built-in verification checklist. This validation step ensures that incremental changes to your CAP project are correctly applied and artifacts are properly rebuilt before deployment.

What is the best way to handle incremental CAP changes with minimal diffs?

Handling incremental CAP changes with minimal diffs is best achieved through a standardized end-to-end workflow. This approach applies targeted modifications to CDS definitions and includes rollback guidance to safely manage artifacts.

Can I use this CAP workflow for rolling back service changes?

Yes, the CAP workflow supports rollback guidance for service changes. It provides a structured approach to revert modifications using minimal diffs, ensuring your CDS definitions and regenerated artifacts remain consistent.

Why are my regenerated CAP artifacts out of sync after CDS edits?

Regenerated CAP artifacts become out of sync after CDS edits when changes are applied without a standardized workflow. Using an automated end-to-end process with a verification checklist ensures artifacts match your updated CDS definitions.