SKILL.md
CAP MCP-First Development
Before writing, modifying, debugging, or fixing CDS entities, service definitions, or CAP service handlers, you MUST query the CAP MCP server and apply its guidance.
Tools
Use mcpcap* tools — primarily mcpcapsearchdocs and mcpcapsearchmodel.
Workflow
- Query before coding — call
mcpcapsearch_docsfor syntax, patterns, or conventions - Trust MCP over training knowledge — if guidance conflicts with what you know, follow MCP
- Prefer the simplest pattern when MCP returns multiple valid approaches
Scope
This skill covers:
- CDS entity definitions, types, aspects (
db/schema.cds) - Service definitions and projections (
srv/*.cds) - Service handlers, actions, functions, events (
srv/*.js) - CDS built-in types, key patterns, virtual fields
This skill does not cover CDS annotations (@UI, @Common, @Capabilities) or Fiori Elements configuration — those belong to the sap-fiori skill.