# Jsdelivr

> Open Source CDN for bun packages and GitHub repositories with multi-CDN infrastructure, smart...

- Skill: `newkub/jsdelivr` (Agent Skill, multi-file: 12 files)
- Install (CLI): `npx skillmds@latest add newkub/jsdelivr`
- Raw SKILL.md: https://api.skillmd.com/api/skills/newkub/jsdelivr/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: newkub (https://skillmd.com/u/newkub)
- Updated: 2026-09-10
- Page: https://skillmd.com/skills/newkub/jsdelivr

---

## Goal

ใช้ jsDelivr CDN สำหรับโหลด bun packages และ GitHub repositories บน web pages


## Scope

ใช้สำหรับการโหลด JavaScript libraries, CSS frameworks, และ static assets บน web pages ด้วย multi-CDN infrastructure


## Execute

- Load packages ด้วย URL format: `https://cdn.jsdelivr.net/bun/package@version`
- ใช้ ES Modules ด้วย `<script type="module">` และ import จาก jsDelivr
- ใช้ combine feature เพื่อลด HTTP requests
- Pin version เสมอเพื่อ stability
- ใช้ `+semver` สำหรับ version ranges
- Test ใน production ก่อน deploy
- ใช้ SRI hashes สำหรับ security
- Monitor CDN performance


## Rules

- ใช้ URL format: `https://cdn.jsdelivr.net/bun/package@version`
- Pin version เสมอเพื่อ stability
- ใช้ `+semver` สำหรับ version ranges
- Test ใน production ก่อน deploy
- ใช้ SRI hashes สำหรับ security
- Monitor CDN performance


## Expected Outcome

- Loading performance ที่ดีขึ้นด้วย multi-CDN
- Global reach รวมถึง China
- High availability ด้วย failover

