anbeime/skill / skills/img2threejs/img2threejs
img2threejs
VerifiedTurn an object or character reference image into a quality-gated, animation-ready procedural Three.js model built in code. Use for image-to-3D reconstruction, detail-accurate object rebuilds, stylized/likeness-maximized human characters, sculpt specs, and staged code generation.
docs/cs2/review-gates.md
View on GitHub# CS2 knife review gates
The review contract is owned by `forge/stage4_review/cs2_review.py`. It consumes a
validated manifest, render metrics, painted-region results, projection coverage,
critical-feature scores, and two orbit results. It emits a machine-readable report
with family, route, exactness tier, scene metadata, per-region confidence,
approximation notes, and failed gates.
The versioned fixture is `forge/tests/fixtures/knife_review_scene.json`. It records
the camera, object transform, environment hash, exposure, tone mapping, resolution, background,
renderer version, visible regions, critical features, and frozen initial thresholds:
- silhouette IoU: at least `0.85`
- aspect-ratio delta: at most `0.05`
- scale delta: at most `0.08`
- projection coverage: at least `0.85` when projection is required
- finish/material response and identity detail: at least `0.80`
- painted-region score: at least `0.80`
- orbit collapse ratio: `0.15` maximum
These thresholds are fixture data, not caller-supplied prose. They are blocking for
the knife route. A wrong family, missing adapter, missing projection evidence,
insufficient coverage, critical-feature failure, or degenerate orbit cannot be
overridden by a global visual score.
The fixture freezes the initial targets but records calibration as pending until the
browser runtime supplies labeled positive and negative renders. `calibrate_eye.py`
must be run on both classes before these targets are treated as empirically calibrated.
Attach a report to the normal review record with:
```sh
python3 forge/stage4_review/append_review.py object-sculpt-spec.json \
--pass-id material-pass --fidelity 0.9 --action continue --summary "knife review passed" \
--cs2-review-json cs2-review.json \
--review-scene-json forge/tests/fixtures/knife_review_scene.json --in-place
```
`append_review.py` rejects `action=continue` when the attached report is not a
passing knife review or when its scene fixture does not match. The report retains
single-view limitations: hidden-region confidence and approximation notes are
required evidence, not an exactness claim.
The fixture metadata labels the image as `user-supplied-review-required`. Do not
mark it rights-safe or commit extracted Valve pixels until provenance is verified.
Local extraction remains outside the repository under the existing `cs2_textures/`
IP boundary. Browser capture remains the responsibility of `runtime/cs2-preview`;
the Python review gate accepts its metrics and screenshots but does not pretend to
render them.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirements | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |