WebGPU 씬 스캐폴딩
언제 쓸까: 야크 쉐이빙 없이 WebGPU + Three.js 스타터를 원할 때.
흐름
-
브리프씬을 설명; 스킬이 초안 작성.✓ 복사됨→ 파일 작성됨
-
반복셰이더 조정; 스킬이 적용✓ 복사됨→ 시각적 출력
결과: 브라우저에서 빠르게 실행되는 WebGPU 씬.
제작: dgreenheck · dgreenheck/webgpu-claude-skill
Claude로 WebGPU + Three.js 프로젝트 시작 — 보일러플레이트, 셰이더 패턴, 성능 검사, 모두 하나의 스킬로.
WebGPU는 충분히 새로워서 Claude가 API를 자주 환각합니다. 이 스킬이 그것을 잡아줍니다: 동작하는 Three.js + WebGPU 스캐폴드, 일반 셰이더 패턴, 브라우저 성능 휴리스틱.
%APPDATA%\Claude\claude_desktop_config.json{
"mcpServers": {
"webgpu-claude-skill": {
"command": "git",
"args": [
"clone",
"https://github.com/dgreenheck/webgpu-claude-skill"
],
"_inferred": true
}
}
}
Claude Desktop → Settings → Developer → Edit Config 열기. 저장 후 앱 재시작.
{
"mcpServers": {
"webgpu-claude-skill": {
"command": "git",
"args": [
"clone",
"https://github.com/dgreenheck/webgpu-claude-skill"
],
"_inferred": true
}
}
}
Cursor는 Claude Desktop과 동일한 mcpServers 스키마 사용. 프로젝트 설정이 전역보다 우선.
{
"mcpServers": {
"webgpu-claude-skill": {
"command": "git",
"args": [
"clone",
"https://github.com/dgreenheck/webgpu-claude-skill"
],
"_inferred": true
}
}
}
Cline 사이드바의 MCP Servers 아이콘 클릭 후 "Edit Configuration" 선택.
{
"mcpServers": {
"webgpu-claude-skill": {
"command": "git",
"args": [
"clone",
"https://github.com/dgreenheck/webgpu-claude-skill"
],
"_inferred": true
}
}
}
Claude Desktop과 같은 형식. Windsurf 재시작 후 적용.
{
"mcpServers": [
{
"name": "webgpu-claude-skill",
"command": "git",
"args": [
"clone",
"https://github.com/dgreenheck/webgpu-claude-skill"
]
}
]
}
Continue는 맵이 아닌 서버 오브젝트 배열 사용.
{
"context_servers": {
"webgpu-claude-skill": {
"command": {
"path": "git",
"args": [
"clone",
"https://github.com/dgreenheck/webgpu-claude-skill"
]
}
}
}
}
context_servers에 추가. 저장 시 Zed가 핫 리로드.
claude mcp add webgpu-claude-skill -- git clone https://github.com/dgreenheck/webgpu-claude-skill
한 줄 명령. claude mcp list로 확인, claude mcp remove로 제거.
언제 쓸까: 야크 쉐이빙 없이 WebGPU + Three.js 스타터를 원할 때.
결과: 브라우저에서 빠르게 실행되는 WebGPU 씬.
| 도구 | 입력 | 언제 호출 | 비용 |
|---|---|---|---|
| scaffold / shade | (문서 참조) | 두 가지 플로우 | 호출 1회 |
WebGPU 사용 불가스킬이 요청 시 WebGL 폴백을 방출합니다
| 대안 | 언제 쓰나 | 단점/장점 |
|---|---|---|
| 직접 Three.js 문서 | WebGPU를 잘 알 때 | 더 느린 부트스트랩 |