Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

dt-js-runtime

БесплатноБез исполняемых скриптовНе проверен

Dynatrace server-side JS runtime — function contract, runtime limits, Web APIs, Node.js modules, fetch with credential vault, and the @dynatrace-sdk/* catalog.

Dynatraceот Dynatrace★ 190 звёзд на GitHub

Об этом скилле

Dynatrace JavaScript Runtime

The Dynatrace JS runtime is a server-side AppEngine sandbox that executes JavaScript/TypeScript.

Function contract

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.

References

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

Running a function with dtctl

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 — the parsed object is the function's argument
dtctl exec function -f script.js --payload '{"key":"value"}'

The function may accept an optional parameter. --payload is parsed and passed as that argument directly — it is not wrapped in an event.payload field:

export default async function(payload) {
  // with --payload '{"key":"value"}', payload is {"key": "value"}
  return payload.key;
}

Load the dynatrace-control skill for authentication setup, context switching, and the full exec function reference.

Установить dt-js-runtime в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

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.mdreferences/sdks/automation-utils/functions.mdreferences/sdks/automation-utils/types.mdreferences/sdks/automation/README.mdreferences/sdks/automation/actionExecutionsClient.mdreferences/sdks/automation/actionsSampleResultClient.mdreferences/sdks/automation/businessCalendarsClient.mdreferences/sdks/automation/eventTriggersClient.mdreferences/sdks/automation/executionsClient.mdreferences/sdks/automation/schedulesClient.mdreferences/sdks/automation/schedulingRulesClient.mdreferences/sdks/automation/settingsClient.mdreferences/sdks/automation/types.mdreferences/sdks/automation/versionClient.mdreferences/sdks/automation/webhookHandlersClient.mdreferences/sdks/automation/workflowsClient.mdreferences/sdks/bucket-management/README.mdreferences/sdks/bucket-management/bucketDefinitionsClient.mdreferences/sdks/bucket-management/types.mdreferences/sdks/classic-environment-v1/README.mdreferences/sdks/classic-environment-v1/cluster.md

FAQ

Что делает скилл dt-js-runtime?

Dynatrace server-side JS runtime — function contract, runtime limits, Web APIs, Node.js modules, fetch with credential vault, and the @dynatrace-sdk/* catalog.

Как установить скилл dt-js-runtime?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл dt-js-runtime запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить dt-js-runtime с