/cap-developer:cap-check-setupfrom cap-developer
Checks and validates a CAP development environment by inspecting Node.js, npm, @sap/cds-dk, Java, Maven, and optional tools like CF CLI, kubectl, and pack. Reports installed, outdated, and missing components with remediation steps.
Ships in cap-developer. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Run a structured health check of the local CAP development environment and produce a clear status report with actionable remediation steps.
Run all of the following commands (ignore errors for optional tools — just report them as not installed):
node --version
npm --version
cds --version
java --version
mvn --version
cf --version
kubectl version --client --short 2>/dev/null || kubectl version --client
pack --version
docker --version
git --version
Also check the globally installed cds-dk version:
npm list -g @sap/cds-dk --depth=0 2>/dev/null
And check the npm registry for the latest published version:
npm view @sap/cds-dk version
For every component, classify the result as one of:
Use the reference table below to evaluate.
Present a summary table, then a detailed section for any item that is OUTDATED or MISSING.
CAP requires an LTS Node.js release — even-numbered major versions (20, 22, 24). As of mid-2026:
| Node.js version | Status | CAP support |
|---|---|---|
| 24.x | Active LTS | Supported (recommended) |
| 22.x | Active LTS | Supported |
| 20.x | End of Life | Not supported (EOL Apr 2026) |
| 18.x | End of Life | Not supported (CAP v9+) |
| < 18 | EOL | Not supported |
Minimum: Node 22. Recommended: Node 24 LTS.
DO NOT recommend a developer on Node 24 to switch back to 22. Your training data cutoff might contain outdated information, don't rely on it.
Similarly, MCP search results from release notes (e.g. "May 2025: recommended Node.js 22") reflect
what was accurate at the time of that release. Prefer live signals (node --version, npm view,
the Getting Started page) — see the caveat in cap-developer.
Use nvm or fnm to manage Node versions. Do not use OS-shipped Node — it
is usually too old.
npm 10.x is shipped with Node 22. npm 11.x with Node 24. Both are acceptable.
npm < 9 is outdated. Recommend upgrading with npm install -g npm@latest.
This is the primary CAP developer toolkit (the cds CLI). It must be
installed globally:
npm install -g @sap/cds-dk
CAP releases monthly minor versions. Anything more than 1-2 minor versions behind the latest is worth upgrading. A major version behind is a problem.
To upgrade:
npm update -g @sap/cds-dk
The installed version is reported by cds --version. The latest is available
via npm view @sap/cds-dk version.
Download from SapMachine (SAP's recommended JDK distribution) or Eclipse Temurin.
Check: java -version (note: java uses -version, not --version)
Install via Homebrew (brew install maven) or download from
https://maven.apache.org.
| Tool | Purpose | Install |
|---|---|---|
cf CLI | Deploy to BTP Cloud Foundry | https://github.com/cloudfoundry/cli |
kubectl | Deploy to Kyma / K8s | https://kubernetes.io/docs/tasks/tools/ |
pack | Build container images (Cloud Native Buildpacks) | https://buildpacks.io/docs/tools/pack/ |
docker | Build and run containers | https://docs.docker.com/get-docker/ |
git | Version control | https://git-scm.com |
mbt | Build MTA archives for CF deployment | npm install -g mbt |
Check for mbt separately:
mbt --version 2>/dev/null || npm list -g mbt --depth=0 2>/dev/null
CAP Environment Check
=====================
Component Installed Latest/Required Status
--------- --------- --------------- ------
Node.js 24.x.x 22.x / 24.x OK
npm 11.x.x 11.x OK
@sap/cds-dk 9.6.0 9.8.0 OUTDATED
java 17.0.x 21 (LTS) OK (consider upgrading)
maven - 3.6+ MISSING (Java projects only)
cf CLI - any OPTIONAL / NOT INSTALLED
kubectl - any OPTIONAL / NOT INSTALLED
docker - any OPTIONAL / NOT INSTALLED
git 2.x.x any OK
Issues found: 1 outdated, 1 missing (optional)
Remediation
-----------
@sap/cds-dk is outdated (9.6.0 → 9.8.0):
npm update -g @sap/cds-dk
maven not installed (needed for CAP Java projects):
brew install maven
or download from https://maven.apache.org
cds --version shows a local project version that differs from the
global one, flag that too — a local @sap/cds in node_modules may
shadow the global one in some setups..nvmrc or .node-version is present in the project, check whether
the active Node version matches it.package.json is present, check the engines.node field and compare
against the active Node version.mvn --version reports the Java it uses internally, which may differ from
java -version. If they differ, flag it.java -version may point to a system JVM. Check echo $JAVA_HOME
if the Java version is unexpected.pack is only needed for Kyma / container-based deployments; its absence
is normal for CF-only projects.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
cap, sap-cap, environment-check, onboarding, setup-validation
npx claudepluginhub capire/skills --plugin cap-developer10 skills in this plugin
/cap-add-remote-serviceAdd a remote service integration to an existing CAP Node.js application using the Calesi pattern. Imports external APIs (from other CAP apps or OData/S4 sources), creates consumption views, wires up delegation and data federation handlers, and validates the result with cds watch. Use when a developer wants to consume an external service in their CAP app./cap-cds-reviewReview and assess CDS data models in CAP applications for correctness, best practices, and potential issues. Produces a structured report with severity-rated findings covering naming conventions, associations/compositions, annotations, reuse patterns, service projections, and performance considerations. Use this skill whenever a developer asks to review, audit, or improve their CDS model, or proactively when you notice potential modeling issues while working on a CAP project./cap-Other plugins' skills for the same job