ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

web-bundling

Bundle web applications into single HTML files for distribution. Use when creating self-contained HTML games, artifacts, or demos that need to be shared as a single file. Covers React+Vite+Parcel bundling pattern.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/kjaylee/web-bundling
Or

Web Bundling (Single HTML)

React/Vite 앱을 단일 HTML 파일로 번들링.

언제 사용

  • 텔레그램 Mini App으로 배포할 게임
  • itch.io에 올릴 HTML5 게임
  • 단일 파일 데모/프로토타입
  • 포트폴리오 아티팩트

번들링 패턴

간단한 게임 (프레임워크 없음)

이미 단일 HTML로 작성된 경우 번들링 불필요. CSS/JS를 <style>/<script> 태그 안에 인라인. 이미지는 base64 data URI로 임베드.

React 앱 → 단일 HTML

스택: React 18 + TypeScript + Vite + Parcel (번들링) + Tailwind CSS

# 1. Vite로 프로젝트 빌드
npm run build

# 2. Parcel로 단일 파일 번들
npx parcel build dist/index.html --no-source-maps

# 3. html-inline으로 에셋 인라인
npx html-inline dist/index.html -o bundle.html

에셋 인라인 팁

<!-- 이미지 → base64 -->
<img src="data:image/png;base64,iVBOR..." />

<!-- 폰트 → base64 @font-face -->
<style>
@font-face {
  font-family: 'GameFont';
  src: url(data:font/woff2;base64,...) format('woff2');
}
</style>

<!-- 오디오 → base64 (작은 효과음만) -->
<audio src="data:audio/mp3;base64,..."></audio>

게임 배포 체크리스트

  • 단일 HTML 파일로 번들됨
  • 외부 CDN 의존성 없음 (오프라인 작동)
  • 모바일 터치 지원 (텔레그램 Mini App)
  • safe-area 고려 (WebView 환경)
  • 파일 크기 최적화 (이미지 압축, 코드 minify)
  • 콘솔 에러 없음

배포 경로

  1. 텔레그램 Mini App → eastsea.monster에 호스팅
  2. itch.io → HTML 파일 직접 업로드
  3. GitHub Pages → 레포에 push
  4. CrazyGames/Poki → 플랫폼 요구사항 확인

Metadata

Author@kjaylee
Stars1776
Views0
Updated2026-03-02
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-kjaylee-web-bundling": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.

Related Skills

ui-ux-pro-max

UI/UX design intelligence and implementation guidance for building polished interfaces. Use when the user asks for UI design, UX flows, information architecture, visual style direction, design systems/tokens, component specs, copy/microcopy, accessibility, or to generate/critique/refine frontend UI (HTML/CSS/JS, React, Next.js, Vue, Svelte, Tailwind). Includes workflows for (1) generating new UI layouts and styling, (2) improving existing UI/UX, (3) producing design-system tokens and component guidelines, and (4) turning UX recommendations into concrete code changes.

kjaylee 1776

ralph-loop

AI 자율 구현 방법론. 구현/개발/코딩 요청 시 자동 적용. 메인은 마더 서브에이전트를 spawn하고, 마더가 워커들을 관리. specs/ → IMPLEMENTATION_PLAN.md → 1태스크씩 구현 → 2단계 리뷰 → 테스트 → 반복.

kjaylee 1776

game-dev-rust-godot

Game development workflow using Rust+WASM or Godot 4.x for HTML5 games. Use when creating new games, implementing game mechanics, or porting existing games. Follows TDD-based production pipeline v3.1 with asset-first approach. Covers Rust(Macroquad/Bevy), Godot HTML5 Export, asset acquisition, test case writing, and QA automation. Master directive (2026-02-06) - ONLY Rust+WASM or Godot allowed, JS/TS frameworks prohibited.

kjaylee 1776

subagent-dev

Execute implementation plans using fresh subagents per task with two-stage review (spec compliance + code quality). Use when executing multi-task plans with independent work units. Enhances ralph-loop methodology.

kjaylee 1776

systematic-debugging

Root-cause-first debugging methodology. Use when encountering any bug, test failure, or unexpected behavior BEFORE proposing fixes. Prevents random fix attempts that waste time and create new bugs.

kjaylee 1776