smithery/webxr-jp

webgl-debug

WebGL デバッグと GPU トレース取得。テクスチャ問題、描画異常、シェーダーバグの調査時に使用

Installation

$ npx skills add smithery/webxr-jp --skill webgl-debug

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Allowed toolsmcp__playwright__*, Bash(pnpm:*)

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,443 B
  • docs SUMMARY.md 147 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

WebGL Debug Skill

Playwright MCP と Spector.js を使った WebGL デバッグワークフロー。 debug-viewer で VRM の描画問題を調査する際に自動的に使用される。

起動条件

以下のような問題が報告されたときに使用:

  • テクスチャが正しく表示されない
  • 描画が黒い/白い/おかしい
  • シェーダーエラー
  • GPU パフォーマンス問題

クイックスタート

# 1. debug-viewer が起動しているか確認
curl -s -o /dev/null -w "%{http_code}" http://localhost:5173/ 2>/dev/null || echo "not running"
# → 200 なら起動済み、それ以外なら以下で起動

# 2. debug-viewer 起動(未起動の場合、別ターミナルで)
pnpm -F debug-viewer run dev
// 2. Playwright MCP でブラウザ操作
browser_navigate({ url: "http://localhost:5173/" })
browser_wait_for({ text: "VRM loaded" })

// 3. フレームキャプチャ
browser_evaluate({
  function: "() => { window.__spector.captureNextFrame(document.querySelector('canvas')); return 'started'; }"
})
browser_wait_for({ time: 2 })

// 4. 結果取得
browser_console_messages({ level: "debug" })

詳細は REFERENCE.md を参照