three-kit

/three-kit:model-pass [object]· in Claude Code, runs only when typed·source

Remodel one three.js / React Three Fiber object at a time for silhouette, topology, triangle budget and z-fighting, measured in a model studio and verified with screenshots against the project's 3D style guide. Use when the user asks for a model pass on an object, or to remodel, clean up or cut the triangles of one model.

npx skills add zkmake/three-kit --skill model-pass

Model pass: one object at a time

Loop: baseline → remodel → audit → distance → verify, run on one object per pass. Every number is measured in the studio, never estimated; every claim of “fixed” is a studio screenshot or a helper’s output.

Words used below:

The tools are the @zkmake/* packages. This skill names their calls; the installed package’s README (node_modules/@zkmake/<name>/README.md, or https://zkmake.github.io/three-kit/llms-full.txt) is the authority on their signatures. Paths below are relative to this skill’s directory.

0. Style guide and studio

Find the style guide: 3D-STYLE.md at the root of the package that depends on three.

Then settle the object with the user if they didn’t name one when invoking the skill. One object per pass; a family of variants (every tree kind) counts as one.

Done when the style guide is read and the studio renders the object in the browser (references/verification.md, Screenshots).

1. Baseline

Done when the before-state is on disk: shots in the pass folder, and every row of the numbers table (step 5) filled for Before.

2. Remodel

Read the object’s nature in the style guide, then its section in references/natures.md, before drawing a vertex. Read references/gotchas.md once per session.

Whatever the nature:

Done when every part the object had is rebuilt or deliberately kept, and the close and play shots read as one object true to its nature and the style guide.

3. Audit

Done when both helpers return [], the close-up shows nothing passing through anything, and the test is green.

4. Distance

Done when triangles at play distance × instance count are measured and at or below the baseline, or the increase is stated and justified against the budget.

5. Verify

Follow references/verification.md for each item:

Done when the user has the comparison image, the numbers table, zfight() and audit() at [], green checks, and the style guide carries what this pass learned.

References

The files the skill reads at the step that names them.