Agent skill

Improve Threejs

by millionco in millionco/react-doctor

Audit and fix Three.js and React Three Fiber apps for frame-loop performance, GPU memory leaks, scene-graph correctness, and visual defects like z-fighting, shadow acne, wrong color space, and…

Custom licenceAuto-check passedGame Development

Install Improve Threejs

skills CLI
$ npx skills add millionco/react-doctor --skill improve-threejs -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install millionco/react-doctor improve-threejs --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/millionco/react-doctor.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/improve-threejs .claude/skills/improve-threejs && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
improve-threejs
GitHub stars
15k
Token cost
~2.3k tokens
SKILL.md length
1,099 words
Files
1
Skills in repo
13
Repo updated
First seen
Licence
Custom licence

At a glance

Audit and fix Three.js and React Three Fiber apps for frame-loop performance, GPU memory leaks, scene-graph correctness, and visual defects like z-fighting, shadow acne, wrong color space, and…

  • Works in 6 steps: Recon → Scan → Triage by frame-loop leverage → …
  • The user asks to improve
  • SKILL.md covers Workflow and Checks the scanner always misses
  • Calls npx; reaches react.doctor

What it does

Improve Threejs is an agent skill from millionco/react-doctor. Audit and fix Three.js and React Three Fiber apps for frame-loop performance, GPU memory leaks, scene-graph correctness, and visual defects like z-fighting, shadow acne, wrong color space, and broken resize handling. Uses React Doctor as the scanning engine plus a visual rubric checked against rendered output. Use when the user asks to improve, audit, scan, or clean up a Three.js, R3F, react-three-fiber, drei, or WebGL app, or types /improve-threejs.

Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Game Development, covering 3D graphics and WebGL. It works with Three.js and React. The repository describes itself as: Your agent writes bad React. This catches it.

When your agent uses it

  • The user asks to improve
  • Clean up a Three.js
  • React-three-fiber
  • Types /improve-threejs

Example prompts

  • “/improve-threejs”

Requirements

  • Node.js

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Recon
  2. Scan
  3. Triage by frame-loop leverage
  4. Visual audit
  5. Fix
  6. Validate

What it can do on your machine

Read from SKILL.md and the folder at commit 3c668e1. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npx

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • react.doctor

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Improve Threejs loads about 2.3k tokens when it runs. Until then it costs about 118 tokens; SKILL.md has 1,099 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~118
When it runs · the whole SKILL.md, loaded when a task matches
~2.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 1,099 words (~2,282 tokens).

“Audits a Three.js or React Three Fiber (R3F) codebase and fixes what hurts most: work that runs every frame, GPU resources that never get disposed, scene-graph objects rebuilt on every render, and visual defects the user can see. React Doctor…”

— opening of SKILL.md by millionco, Custom licence
name
improve-threejs

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/improve-threejs of millionco/react-doctor.

Open the folder on GitHubat commit 3c668e1

Compare with similar skills

Improve Threejs next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Improve Threejs compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Improve Threejs this skillmillionco/react-doctor15k—~2.3kAutomated safety check: PassCustom licence
Web CloneJane-xiaoer/claude-skill-web-clone1k2 repos~2.7kAutomated safety check: PassMIT
Polycsslayoutit/polycss759—~2.4kAutomated safety check: PassMIT
Typegpusoftware-mansion-labs/skills2912 repos~5.6kAutomated safety check: PassNone
Pmndrs Viversepmndrs/viverse132—~1.7kAutomated safety check: PassCustom licence
3D Web Experiencedavila7/claude-code-templates32k5 repos~1.3kAutomated safety check: PassMIT

Similar skills

  • Web Clone

    Jane-xiaoer/claude-skill-web-clone

    网站复刻 / 克隆方法论。USE WHEN 用户说 复刻网站、克隆网站、clone website、抄个站、仿站、 照着这个站做一个、reproduce site、还原某个网页效果、把这个站搬下来改成我的、 复刻某个交互/WebGL/Canvas/Three.js 效果。提供「先拿真源码 → 判路径 → 逆向拆解 → 搭工程 → 替换内容」的可移植决策树,覆盖静态站 /…

    1k GitHub starsUsed in 2 repos~2.7k tokens
    Game DevelopmentAuto-check passed
  • Polycss

    layoutit/polycss

    Build PolyCSS scenes that render 3D meshes, primitive shapes, or custom polygons as DOM/CSS polygon elements.

    759 GitHub stars~2.4k tokensUpdated 1 mo ago
    Game DevelopmentAuto-check passed
  • Typegpu

    software-mansion-labs/skills

    TypeGPU is type-safe WebGPU in TypeScript. An agent skill from software-mansion-labs/skills.

    291 GitHub starsUsed in 2 repos~5.6k tokens
    Game DevelopmentAuto-check passed
  • Pmndrs Viverse

    pmndrs/viverse

    Build, modify, debug, or publish VIVERSE-ready web games and 3D apps with Three.js, React Three Fiber, @pmndrs/viverse, @react-three/viverse, VIVERSE SDK integrations, character controllers…

    132 GitHub stars~1.7k tokensUpdated 6 days ago
    Game DevelopmentAuto-check passed
  • 3D Web Experience

    davila7/claude-code-templates

    Expert in building 3D experiences for the web - Three.js, React Three Fiber, Spline, WebGL, and interactive 3D scenes.

    32k GitHub starsUsed in 5 repos~1.3k tokens
    Game DevelopmentAuto-check passed
  • Threejs R3f

    AThevon/genjutsu

    Three.js and React Three Fiber sub-skill - 3D scenes, shaders, postprocessing.

    424 GitHub starsUsed in 1 repo~2k tokens
    Game DevelopmentAuto-check passed

More from millionco/react-doctor

All 13 skills in this repo
  • Run Parity

    millionco/react-doctor

    Compare React Doctor diagnostics for a GitHub pull request (PR) with Vercel Sandbox.

    15k GitHub stars~4.1k tokensUpdated yesterday
    Auto-check passed
  • Benchmark Fp Fn Audit

    millionco/react-doctor

    Audit React Doctor against ReactBench or similar diagnostic benchmark corpora for confirmed false positives, false negatives, taxonomy gaps, and verifier artifacts.

    15k GitHub stars~2k tokensUpdated yesterday
    Auto-check passed
  • Deslop

    millionco/react-doctor

    Simplify and refine recently modified code while preserving functionality.

    15k GitHub stars~1.2k tokensUpdated yesterday
    Auto-check passed
  • Find Similar Functions

    millionco/react-doctor

    Use truffler to find similar or pre-existing JavaScript/TypeScript symbols before implementing new code, especially helpers, utilities, parsers, formatters, scanners, fuzzy matchers, and other…

    15k GitHub stars~1.2k tokensUpdated yesterday
    Auto-check passed
  • Performance

    millionco/react-doctor

    Diagnose React runtime performance with React Doctor traces, live render outlines, Long Animation Frames, interaction timing, and component render evidence.

    15k GitHub stars~1.2k tokensUpdated yesterday
    Auto-check passed
  • Product Thinking

    millionco/react-doctor

    Think like a product manager before changing React Doctor's public surface — CLI commands/flags, the 0–100 score, config (doctor.config.), the JSON report schema, package APIs…

    15k GitHub stars~3.1k tokensUpdated yesterday
    Auto-check passed

Works with

Questions about Improve Threejs

What does Improve Threejs do?

Audit and fix Three.js and React Three Fiber apps for frame-loop performance, GPU memory leaks, scene-graph correctness, and visual defects like z-fighting, shadow acne, wrong color space, and…. Improve Threejs is an agent skill from millionco/react-doctor.js and React Three Fiber apps for frame-loop performance, GPU memory leaks, scene-graph correctness, and visual defects like z-fighting, shadow acne, wrong color space, and broken resize handling.

When should I use Improve Threejs?

Improve Threejs fits situations like: the user asks to improve; clean up a Three.js; React-three-fiber; types /improve-threejs.

How do I install Improve Threejs in Claude Code?

Run `npx skills add millionco/react-doctor --skill improve-threejs -a claude-code`. Or copy the skill folder (skills/improve-threejs in millionco/react-doctor) into .claude/skills/improve-threejs in your project. Claude Code loads it when a task matches its description.

How do I install Improve Threejs in Codex?

Run `npx skills add millionco/react-doctor --skill improve-threejs -a codex`. Or copy the skill folder (skills/improve-threejs in millionco/react-doctor) into .agents/skills/improve-threejs in your project. Codex loads it when a task matches its description.

Can I use Improve Threejs in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add millionco/react-doctor --skill improve-threejs -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/improve-threejs, .gemini/skills/improve-threejs, .github/skills/improve-threejs and .opencode/skills/improve-threejs in your project.

What does Improve Threejs need to run?

Going by SKILL.md and its folder, Improve Threejs needs the command-line tools its instructions call (npx). Our summary lists: Node.js.

Does Improve Threejs access the network?

SKILL.md names 1 domain. In commands or code: react.doctor; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Improve Threejs safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Improve Threejs use?

Improve Threejs has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Improve Threejs use?

About 2.3k tokens (SKILL.md is roughly 9.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Improve Threejs?

Skills that share tags, products or a category with Improve Threejs: Web Clone (Jane-xiaoer/claude-skill-web-clone, 1k stars), Polycss (layoutit/polycss, 759 stars), Typegpu (software-mansion-labs/skills, 291 stars) and Pmndrs Viverse (pmndrs/viverse, 132 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Improve Threejs?

millionco (a GitHub organization) maintains it in millionco/react-doctor, which has 14,971 GitHub stars. The repository holds 13 skills in this directory. The repository was last updated on October 7, 2026.

Source: millionco/react-doctor on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.