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.
소스 정보
- 저장소
- SAP-samples/cloud-cap-hana-swapi
- 최근 소스 활동
- 2026년 3월 13일 21:33
- 감지된 SKILL.md 언어
- 영어
- 스타
- 89
- 포크
- 45
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
파일 탐색기
2 개 파일SKILL.md 표시 중
SKILL.md
소스 지침 · 읽기 전용 미리보기- name
- cap-change-workflow
- description
- Use for end-to-end CAP change workflows: modify CDS/handlers, regenerate artifacts, and run a short verification checklist for this repository.
- argument-hint
- Describe the CAP change to implement and verify
- user-invocable
- true
- disable-model-invocation
- false
# 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.
3. 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
4. Rebuild artifacts in `cap/` (`npm run build`) when CDS changed.
5. Run a compact verification checklist and report outcomes.
6. 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`.
GitHub에서 보기