# atb-game-to-githubpage

atb-game-to-githubpage is a Claude Code skill that configures deployment of HTML5 games to GitHub Pages. It automates workflows, path audits, and asset dereferencing.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 369 repo stars
- Author: ATBPort Team
- License: GPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/atbfun/ATBGamePort/tree/HEAD/skills/atb-game-to-githubpage/SKILL.md
- Updated: 2026-10-22
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/atb-game-to-githubpage

## What it does

The skill configures GitHub Pages publishing for WebGL, Canvas, Phaser, and Pixi projects without relying on legacy `gh-pages` orphan branches. It creates `.github/workflows/deploy-pages.yml` configured with concurrency limits, required write permissions, and standard actions like `upload-pages-artifact@v3` and `deploy-pages@v4`.

Asset routing is audited to eliminate root-absolute URLs like `/assets/...`, keeping all resources relative to the GitHub Pages repository subpath. Any symbolic links pointing outside the web root are converted into concrete folders in the staged output, and `.nojekyll` is generated to stop Jekyll from ignoring engine bundles.

Execution relies entirely on the Python 3 standard library with no external pip packages, plus Git CLI configured for the remote repository. Staging simulation and bundle checks run locally through `scripts/deploy.py`.

## Requirements
- Works with: GitHub

## Install

### Claude Code (native platform)

1. **Plugin marketplace**
In the agent chat (not a shell):
```text
/plugin marketplace add atbfun/ATBGamePort
```
In the agent chat (not a shell):
```text
/plugin install atb-game-porting@atbfun
```
This installs the whole atb-game-porting plugin with all its skills

2. **Skills CLI (Vercel)**
```bash
npx skills add atbfun/ATBGamePort --skill atb-game-to-githubpage -a claude-code
```

3. **Manually: put the files in place**
- File: `~/.claude/skills/atb-game-to-githubpage/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/atb-game-to-githubpage/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add atbfun/ATBGamePort --skill atb-game-to-githubpage -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/atb-game-to-githubpage/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add atbfun/ATBGamePort --skill atb-game-to-githubpage -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/atb-game-to-githubpage/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install atbfun/ATBGamePort skills/atb-game-to-githubpage
```

2. **Manually: put the files in place**
- File: `.github/skills/atb-game-to-githubpage/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add atbfun/ATBGamePort --skill atb-game-to-githubpage -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/atbfun/ATBGamePort --path skills/atb-game-to-githubpage
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/atb-game-to-githubpage/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/atbfun/ATBGamePort/tree/HEAD/skills/atb-game-to-githubpage/SKILL.md

## When to use it
- generate GitHub Actions workflows for static web game hosting
- audit asset paths to ensure safe loading under repository subpaths
- dereference external asset symlinks into physical build directories
- create the .nojekyll file to prevent Jekyll from dropping engine files

## Example prompts
- Set up a GitHub Pages workflow for this HTML5 game and fix asset paths
- Audit subpaths and symlinks before deploying to GitHub Pages
- Run scripts/deploy.py with --dry-run to test the game staging bundle

## Similar
- [game-deploy](https://affpapa.org/en/nevibecode/skills/game-deploy.md) — skill · 1000 installs
- [deploy](https://affpapa.org/en/nevibecode/commands/deploy.md) — command · ★ 3232 repo stars
- [openai-develop-web-game](https://affpapa.org/en/nevibecode/skills/openai-develop-web-game.md) — skill · ★ 540 repo stars
- [game-assets](https://affpapa.org/en/nevibecode/skills/game-assets.md) — skill · 1700 installs
- [game-setup-and-config](https://affpapa.org/en/nevibecode/skills/game-setup-and-config.md) — skill · 1500 installs
- [game-engine](https://affpapa.org/en/nevibecode/skills/game-engine.md) — skill · 13140 installs

From the same set: [atbfun/atbgameport](https://affpapa.org/en/nevibecode/by/atbfun/atbgameport.md) — 4 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
