agentleFS
jiuyang5354jiuyang5354/skills/img2threejs/CLAUDE.md

skills / img2threejs

CLAUDE.md1 starsChanged 50 days agoMITView on GitHub

This repository is the canonical source for the img2threejs skill. Host entrypoints (~/.claude/skills/img2threejs, ~/.codex/skills/img2threejs) should be symlinks to one checkout — never independent copies, or the two hosts drift apart silently. - Preserve the code-only procedural Three.js contract; do not silently download meshes or art packs. - Keep claims honest: distinguish implemented capability from roadmap or design-only documentation. - Treat forge/ as deterministic tooling and grimoire/ as routed reference material. - Keep backward compatibility for existing sculpt specs unless a…

The file

We split this CLAUDE.md into the rules it gives an agent

9 rules. About 0 are common, 7 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Keep claims honest: distinguish implemented capability from roadmap or design-only documentation.

    line 10
  2. Very specific:

    Treat forge/ as deterministic tooling and grimoire/ as routed reference material.

    line 11
  3. Distinctive:

    Keep backward compatibility for existing sculpt specs unless a migration is explicitly planned.

    line 12
  4. Distinctive:

    When changing schema, gates, generators, or review behavior, add or update focused tests.

    line 13
  5. Very specific:

    Keep SKILL.md, README.md, CHANGELOG.md, and ROADMAP.md consistent when release-facing behavior changes.

    line 14
  6. Distinctive:

    Do not report completion without reading the fresh outputs.

    line 29
  7. Distinctive:

    Before accepting visual results, verify that the browser/screenshot tooling is installed, authenticated, reachable, and able to capture the …

    line 37
  8. Distinctive:

    Read the saved screenshots back with an image-capable tool and verify they contain the rendered model at the expected dimensions.

    line 41
  9. Distinctive:

    If capture, file write, readback, comparison, scoring, or diagnosis fails, stop the visual workflow and repair the tooling first.

    line 47

≈ “Common” is an estimate: at least 1 in 5 of the 29,248 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

Shared project instructions

This repository is the canonical source for the img2threejs skill. Host entrypoints (~/.claude/skills/img2threejs, ~/.codex/skills/img2threejs) should be symlinks to one checkout — never independent copies, or the two hosts drift apart silently.

Change rules

  • Preserve the code-only procedural Three.js contract; do not silently download meshes or art packs.
  • Keep claims honest: distinguish implemented capability from roadmap or design-only documentation.
  • Treat forge/ as deterministic tooling and grimoire/ as routed reference material.
  • Keep backward compatibility for existing sculpt specs unless a migration is explicitly planned.
  • When changing schema, gates, generators, or review behavior, add or update focused tests.
  • Keep SKILL.md, README.md, CHANGELOG.md, and ROADMAP.md consistent when release-facing behavior changes.
  • Reference the companion showcase through IMG2THREEJS_SHOWCASE_ROOT, never an absolute path — a path that only exists on one machine passes there and fails everywhere else, CI included.

Verification

python3 -m unittest discover -s forge/tests -p 'test_*.py'

Set IMG2THREEJS_SHOWCASE_ROOT to a showcase checkout to include the TypeScript typecheck gates; without it they skip, and a green run has not proven the emitted Three.js compiles. Add IMG2THREEJS_REQUIRE_SHOWCASE=1 to turn that skip into a failure.

Do not report completion without reading the fresh outputs. For visual reconstruction changes, structural tests and screenshot/reference-loop validation are separate required gates.

Mandatory visual screenshot gate

For every visual reconstruction task, a readable screenshot is a hard prerequisite for visual implementation claims and completion:

  1. Before accepting visual results, verify that the browser/screenshot tooling is installed, authenticated, reachable, and able to capture the running showcase.
  2. Save fresh PNG/JPEG screenshots inside the workspace, including the fixed reference view and the required orbit views. Inline previews alone are not evidence.
  3. Read the saved screenshots back with an image-capable tool and verify they contain the rendered model at the expected dimensions. A screenshot that cannot be opened or visually read is a failed gate.
  4. Produce and retain a side-by-side reference/render comparison, semantic image scoring, pixel/feature comparison, and the diagnose_render.py output for the saved render before reporting visual validation.
  5. If capture, file write, readback, comparison, scoring, or diagnosis fails, stop the visual workflow and repair the tooling first. Do not infer visual evidence from runtime readiness, structural tests, inline previews, or code review, and do not claim the visual gate passed.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.