mcpbeat Sign in

Dt Js Runtime Agent Skill

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

40k tokens
context cost
the whole folder, loaded on every use
124
files
instructions only
0
copies elsewhere
how many repositories repackaged it
118
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/Dynatrace/dynatrace-for-ai --skill dt-js-runtime

What comes with it

49 746 bytes besides the instruction
references/apis-and-modules.md
references/fetch.md
references/limits-and-restrictions.md
references/sdk.md
references/sdks/app-engine-registry/README.md
references/sdks/app-engine-registry/appEngineRegistryAppsClient.md
references/sdks/app-engine-registry/appEngineRegistrySchemaManifestClient.md
references/sdks/app-engine-registry/types.md
references/sdks/app-environment/README.md
references/sdks/app-environment/functions.md
references/sdks/app-environment/types.md
references/sdks/app-settings-v1/README.md
references/sdks/app-settings-v1/appSettingsObjectsClient.md
references/sdks/app-settings-v1/types.md
references/sdks/app-settings-v2/README.md
references/sdks/app-settings-v2/appSettingsObjectsClient.md
references/sdks/app-settings-v2/types.md
references/sdks/app-utils/README.md
references/sdks/automation-utils/README.md
references/sdks/automation-utils/constants.md
references/sdks/automation-utils/functions.md
references/sdks/automation-utils/types.md
references/sdks/automation/README.md
references/sdks/automation/actionExecutionsClient.md
references/sdks/automation/actionsSampleResultClient.md
references/sdks/automation/businessCalendarsClient.md
references/sdks/automation/eventTriggersClient.md
references/sdks/automation/executionsClient.md
references/sdks/automation/schedulesClient.md
references/sdks/automation/schedulingRulesClient.md
references/sdks/automation/settingsClient.md
references/sdks/automation/types.md
references/sdks/automation/versionClient.md
references/sdks/automation/webhookHandlersClient.md
references/sdks/automation/workflowsClient.md
references/sdks/bucket-management/README.md
references/sdks/bucket-management/bucketDefinitionsClient.md
references/sdks/bucket-management/types.md
references/sdks/classic-environment-v1/README.md
references/sdks/classic-environment-v1/cluster.md

The instruction itself

4 sections, as written by the author

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 — 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.

Other skills for the same job

different authors, same section of the catalogue
MCP Builder
by anthropics
vendor ×13

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

30k tokens scripts
Changelog Generator
by frostant
×9

Automatically creates user-facing changelogs from git commits by analyzing commit history, categorizing changes, and transforming technical commits into clear, customer-friendly release notes. Turns hours of manual changelog writing into minutes of automated generation.

774 tokens
Finishing A Development Branch
by ZhanlinCui
×7

Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for merge, PR, or cleanup

1k tokens
MCP Builder
by JayZeeDesign
×7

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

37k tokens scripts
Vercel React Native Skills
by vercel-labs
vendor ×6

React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.

39k tokens
Vercel React Best Practices
by ratacat
×5

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

34k tokens
Next Best Practices
by vercel-labs
vendor ×4

Next.js best practices - file conventions, RSC boundaries, data patterns, async APIs, metadata, error handling, route handlers, image/font optimization, bundling

20k tokens
Using Git Worktrees
by ZhanlinCui
×4

Use when starting feature work that needs isolation from current workspace or before executing implementation plans - creates isolated git worktrees with smart directory selection and safety verification

1k tokens

How to use it

Copy the folder

Take dynatrace/dt-js-runtime from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.