From dynatrace
Documents the Dynatrace server-side JS runtime including function contract, runtime limits, available Web APIs, Node.js modules, fetch with credential vault, and the @dynatrace-sdk/* catalog.
How this skill is triggered — by the user, by Claude, or both
Slash command
/dynatrace:dt-js-runtimeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
The Dynatrace JS runtime is a server-side AppEngine sandbox that executes JavaScript/TypeScript.
references/apis-and-modules.mdreferences/fetch.mdreferences/limits-and-restrictions.mdreferences/sdk.mdreferences/sdks/app-engine-registry/README.mdreferences/sdks/app-engine-registry/appEngineRegistryAppsClient.mdreferences/sdks/app-engine-registry/appEngineRegistrySchemaManifestClient.mdreferences/sdks/app-engine-registry/types.mdreferences/sdks/app-environment/README.mdreferences/sdks/app-environment/functions.mdreferences/sdks/app-environment/types.mdreferences/sdks/app-settings-v1/README.mdreferences/sdks/app-settings-v1/appSettingsObjectsClient.mdreferences/sdks/app-settings-v1/types.mdreferences/sdks/app-settings-v2/README.mdreferences/sdks/app-settings-v2/appSettingsObjectsClient.mdreferences/sdks/app-settings-v2/types.mdreferences/sdks/app-utils/README.mdreferences/sdks/automation-utils/README.mdreferences/sdks/automation-utils/constants.mdThe Dynatrace JS runtime is a server-side AppEngine sandbox that executes JavaScript/TypeScript.
Every entry point must export a default async function:
export default async function () {
// ...
return result;
}
ES module syntax required. TypeScript accepted (type annotations, interfaces, generics). No other export shape is supported.
Start here, then load only the file you need.
| File | When to load |
|---|---|
| references/limits-and-restrictions.md | Timeout / memory / I/O quotas; what's forbidden (eval, WebSocket, sockets, filesystem) |
| references/apis-and-modules.md | Which Web APIs and Node.js compat modules are available (fetch, crypto, streams, buffer, …) |
| references/fetch.md | Calling internal /platform/... APIs or external URLs, credential vault, outbound allowlist |
| references/sdk.md | Any @dynatrace-sdk/* package — the index routes you to the right per-SDK file |
Use dtctl exec function to run JS runtime code without deploying an app.
# Run inline code
dtctl exec function --code 'export default async function() { return "hello" }'
# Run from file
dtctl exec function -f script.js
# Pass JSON input — accessed as event.payload inside the function
dtctl exec function -f script.js --payload '{"key":"value"}'
The function may accept an optional event parameter:
export default async function(event) {
const { payload } = event; // from --payload
// event.environmentId also available
return payload;
}
Load the dynatrace-control skill for authentication setup, context switching, and the full exec function reference.
npx claudepluginhub dynatrace/dynatrace-for-ai --plugin dynatraceBuilds serverless Go or Python functions for Falcon Foundry apps using CrowdStrike SDKs. Helps with function creation, FDK handler patterns, testing, and collection integration.
Guides developers in configuring, debugging, and optimizing server-side code running on Vercel — including Serverless Functions, Edge Functions, Fluid Compute, streaming, Cron Jobs, and runtime configuration.
Covers JavaScript/Node.js async patterns, module systems (ESM/CJS/dual), event loop internals, streams, worker threads, and ES2024+ features.