.claude/skills/update-cdn/SKILL.md
Update CDN module version for session-replay dependencies. Takes a version number as argument (e.g., `/update-cdn v2.7.0`). Updates CDN URLs in cdn-module.ts, picker.ts, picker-cdn.d.ts, cdn-module-types.d.ts, temporarily disables webpack frozen flag, runs build, then restores frozen flag and cleans up webpack.lock files.
npx skillsauth add signalfx/splunk-otel-js-web update-cdnInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
When this skill is invoked, follow these steps:
/update-cdn v2.7.0)vX.Y.Z (e.g., v2.7.0)2.7.0 becomes v2.7.0)Update the version in the following files (replace old version with new version):
Update the CDN URLs:
https://cdn.signalfx.com/o11y-gdi-rum/session-replay/vX.Y.Z/session-replay.module.legacy.min.jshttps://cdn.signalfx.com/o11y-gdi-rum/session-replay/vX.Y.Z/background-service.htmlUpdate the module declaration URL:
declare module 'https://cdn.signalfx.com/o11y-gdi-rum/session-replay/vX.Y.Z/session-replay.module.legacy.min.js'Update the CDN URL:
https://cdn.signalfx.com/o11y-gdi-rum/session-replay/vX.Y.Z/picker/picker.module.min.jsUpdate the module declaration URL:
declare module 'https://cdn.signalfx.com/o11y-gdi-rum/session-replay/vX.Y.Z/picker/picker.module.min.js'Temporarily set frozen: false in:
Change:
experiments: {
buildHttp: {
allowedUris: ['https://cdn.signalfx.com/'],
cacheLocation: false,
frozen: false, // Changed from true
},
},
Change:
experiments: {
buildHttp: {
allowedUris: ['https://cdn.signalfx.com/'],
cacheLocation: false,
frozen: false, // Changed from true
},
},
Remove the old lock files that contain outdated integrity hashes:
packages/session-recorder/webpack.lockpackages/web/webpack.lockExecute the build command from the repository root:
pnpm run build
This will:
Set frozen: true back in both webpack config files:
experiments: {
buildHttp: {
allowedUris: ['https://cdn.signalfx.com/'],
cacheLocation: false,
frozen: true, // Restored
},
},
experiments: {
buildHttp: {
allowedUris: ['https://cdn.signalfx.com/'],
cacheLocation: false,
frozen: true, // Restored
},
},
Report:
packages/session-recorder/src/session-replay/cdn-module.ts - CDN URLs updatedpackages/session-recorder/src/session-replay/cdn-module-types.d.ts - Module declaration URL updatedpackages/web/src/utils/picker.ts - CDN URL updatedpackages/web/src/utils/picker-cdn.d.ts - Module declaration URL updatedpackages/session-recorder/webpack.config.js - Frozen flag toggled (ends at true)packages/web/webpack.config.js - Frozen flag toggled (ends at true)packages/session-recorder/webpack.lock - Regenerated with new hashespackages/web/webpack.lock - Regenerated with new hashes/update-cdn v2.7.0
This will update all CDN references from the current version (e.g., v2.6.4) to v2.7.0.
documentation
Generate a changelog and suggest a new version number based on git commits since the last version. Use when the user asks to generate a changelog, create a new version, or prepare a release. Optionally accepts a version number argument (e.g., `/prepare-release 2.1.0`).
development
Maintainer-only workflow for handling GitHub Secret Scanning alerts on OpenClaw. Use when Codex needs to triage, redact, clean up, and resolve secret leakage found in issue comments, issue bodies, PR comments, or other GitHub content.
development
Maintainer workflow for OpenClaw releases, prereleases, changelog release notes, and publish validation. Use when Codex needs to prepare or verify stable or beta release steps, align version naming, assemble release notes, check release auth requirements, or validate publish-time commands and artifacts.
development
Run, watch, debug, and extend OpenClaw QA testing with qa-lab and qa-channel. Use when Codex needs to execute the repo-backed QA suite, inspect live QA artifacts, debug failing scenarios, add new QA scenarios, or explain the OpenClaw QA workflow. Prefer the live OpenAI lane with regular openai/gpt-5.4 in fast mode; do not use gpt-5.4-pro or gpt-5.4-mini unless the user explicitly overrides that policy.