# Install "De-AI Game UI (remove the generic AI look from menus and HUDs, checked by a lint)"

A GameSkill original that strips the tells of AI-made game UI (purple-blue gradients, glass panels, neon glows, emoji icons, one big radius, everything centred, identical buttons, epic-journey copy) and rebuilds the screen from the game's own world. Ships a 12-rule lint that reads computed styles in headless Chrome for any framework, a before/after pause menu and a mutation test proving every rule can fail.

- Source: GameSkill original, hosted only on https://gameskill.dev/skills/game-ui-de-ai
- Based on (ideas only, code is ours): game-slop-purge (idea only) https://github.com/Mutakisa/game-slop-purge by Mutakisa (no licence, idea only, no code, text, rules or images used)
- License: MIT
- By: GameSkill
- Works with: Claude Code, Codex, Cursor, OpenCode
- Engines: Engine-agnostic, Web (Phaser / Three.js), Godot, Unity

## Prerequisites

- Node 18+ with npm (puppeteer-core from package-lock.json, dev only)
- Google Chrome or Chromium; set CHROME_PATH if it is not found
- The rules themselves (tools/rules.js) run inside any page with no dependencies

## Install GameSkill's tested copy (recommended)

GameSkill wrote this skill for gameskill.dev and hosts it here (MIT). The ZIP holds SKILL.md, SKILL.zh.md, scripts, a runnable example, tests, CHECKLIST.md, LICENSE, CREDITS.md, ATTRIBUTION.md and a `gameskill/` folder (test report, self-check list, Chinese guide).

- ZIP: https://gameskill.dev/dl/skills/game-ui-de-ai.zip (629 KB, sha256 f7a39081abb819bb61ca7f790ddd863dd589e9fbb803b6d63ac94446fabbb8f8)
- Version: 1.0.0 (2026-11-03). Latest version and changes: https://gameskill.dev/skills/game-ui-de-ai/version.json
- Tested by GameSkill on HTML/CSS lint in Chrome headless (computed styles, keyboard focus), 2026-11-03: 32/32 checks passed. Report: https://gameskill.dev/dl/skills/game-ui-de-ai/test-report.json

The ZIP holds one folder, `game-ui-de-ai/`, with SKILL.md directly inside it.

Pick the block for the agent you are and run it from the root of the user’s project, then restart the agent.

### Claude Code (`.claude/skills/game-ui-de-ai/`)

```bash
mkdir -p .claude/skills
curl -fsSL https://gameskill.dev/dl/skills/game-ui-de-ai.zip -o /tmp/gameskill-game-ui-de-ai.zip
unzip -oq /tmp/gameskill-game-ui-de-ai.zip -d .claude/skills
rm /tmp/gameskill-game-ui-de-ai.zip
```

### Codex, Gemini CLI, OpenCode (`.agents/skills/game-ui-de-ai/`)

```bash
mkdir -p .agents/skills
curl -fsSL https://gameskill.dev/dl/skills/game-ui-de-ai.zip -o /tmp/gameskill-game-ui-de-ai.zip
unzip -oq /tmp/gameskill-game-ui-de-ai.zip -d .agents/skills
rm /tmp/gameskill-game-ui-de-ai.zip
```

### Cursor (`.cursor/skills/game-ui-de-ai/`)

```bash
mkdir -p .cursor/skills
curl -fsSL https://gameskill.dev/dl/skills/game-ui-de-ai.zip -o /tmp/gameskill-game-ui-de-ai.zip
unzip -oq /tmp/gameskill-game-ui-de-ai.zip -d .cursor/skills
rm /tmp/gameskill-game-ui-de-ai.zip
```

### GitHub Copilot (`.github/skills/game-ui-de-ai/`)

```bash
mkdir -p .github/skills
curl -fsSL https://gameskill.dev/dl/skills/game-ui-de-ai.zip -o /tmp/gameskill-game-ui-de-ai.zip
unzip -oq /tmp/gameskill-game-ui-de-ai.zip -d .github/skills
rm /tmp/gameskill-game-ui-de-ai.zip
```

### Windsurf (`.windsurf/skills/game-ui-de-ai/`)

```bash
mkdir -p .windsurf/skills
curl -fsSL https://gameskill.dev/dl/skills/game-ui-de-ai.zip -o /tmp/gameskill-game-ui-de-ai.zip
unzip -oq /tmp/gameskill-game-ui-de-ai.zip -d .windsurf/skills
rm /tmp/gameskill-game-ui-de-ai.zip
```

### Self-check after using the skill

- 改之前先跑 lint 并截图 / Run the lint and take a screenshot before changing anything
- 先写三行世界设定：材质、强调色、文案口吻 / Write three lines about the world first: material, accent colour, voice
- 内容不变：所有按钮和数字都保留 / Same content: keep every action and number
- 12 条全过再交付，豁免要写理由 / Ship only when all 12 pass; any waiver needs a written reason
- 不抄别的游戏的 UI / Never copy another game's UI
- 把 lint 留在项目测试里 / Keep the lint in the project's test run

## Verify

- `game-ui-de-ai/SKILL.md` exists in the skills folder above.
- Try a request like: "Our trading game's pause menu looks AI-generated. Run the de-AI UI lint on ui/pause.html, write three lines about our world, then rebuild it with the same buttons and numbers until all 12 rules pass, and show me before and after."
- Tell the user what you installed and where.

## Attribution

"De-AI Game UI (remove the generic AI look from menus and HUDs, checked by a lint)" is a GameSkill original (https://gameskill.dev/skills/game-ui-de-ai), licensed under MIT. CREDITS.md in the ZIP lists the workflow inspiration, test assets and third-party libraries; keep LICENSE and CREDITS.md with any copy.
