사용 방법
- 설치 명령을 복사하고 자신의 에이전트 환경에 설치하기 전에 소스 패키지를 확인하세요.
- 필요한 도구, 인증 정보, 지원 환경은 원본 문서에서 확인하세요.
- 입력과 원하는 산출물을 설명하고 출처와 결과를 대조하세요.
npx skills add https://github.com/nonaxanon/r3f-skills --skill r3f-debug-profiler시작 전 확인
- 설치에는 모델 구독, API 한도, 파일 접근 권한이 포함되지 않습니다.
- 별점 수와 설치 수는 활동 지표이며 독립적인 품질·보안 검증이 아닙니다.
원본 저장소의 제목, 예시, 코드, 표, 링크, 이미지를 유지해 표시합니다.
r3f-debug-profiler · STUB
State
This skill is a stub. The seam is defined; the harness and checklists are not written yet. Do not present its output as a completed profiling phase. If you must measure now, read gl.info directly from a useFrame and report the raw numbers, and note in the director's risk ledger that this skill was unbuilt.
Intended purpose
Make scene problems measured, not guessed. Two halves:
- Correctness triage — a runbook for the blank/black canvas (first console error, render loop
running, canvas drawing-buffer size vs CSS size, camera framing/near-far, lights/material side, asset URLs/CORS) and for resize/mobile/DPR bugs.
- Performance profiling — a self-reporting diagnostics global populated from a
useFrame
hook (gl.info.render.calls/triangles, gl.info.memory.geometries/textures, frame time, canvas size/DPR) so an out-of-process script can read the scene's vitals, plus a headless canvas inspector that screenshots the <canvas>, proves it isn't blank by pixel variance, captures console/page errors, and waits for real frame progress before asserting.
Intended references / scripts (to author)
references/checklists/scene-debugging.md— the black-canvas runbook.references/checklists/performance-profile.md— the measurement recipe and what to capture.scripts/inspect-r3f-canvas.mjs— headless Chromium canvas-pixel + diagnostics-global reader.- A
useFramediagnostics-publisher snippet writingwindow.__R3F_DIAGNOSTICS__.
Dependency
Can run after any frame-budget-moving change (it is "measure now," not a single slot). Pairs with r3f-scene-architect (leak/draw-call findings) and r3f-graphics-builder (perf-safe detail).