threejs-complete-set-of-skill
AGENTS.md8 starsChanged 4 months agoISCView on GitHub
This checkout is the authoritative local source for the installable skills under skills/, plus their repository examples, validation harnesses, and generated documentation. - Do not read, write, retrieve, summarize, or rely on Codex memory files, databases, tools, or features on this machine. - Repo-local Superpowers exposure under .agents/skills/superpowers is allowed when a documented repository workflow calls for it. Do not assume a global Superpowers installation path. - Never execute rm -rf, rm -fr, or an equivalent recursive forced-delete command, including…
- Deletes or force-pushes
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,736 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository30 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- docs/llms.txtllms.txt
- product-from-scratchSkill
- threejs-ambient-contact-shadingSkill
- threejs-black-holes-and-space-effectsSkill
- threejs-bloomSkill
- threejs-camera-controls-and-rigsSkill
- threejs-choose-skillsSkill
- threejs-compatibility-fallbacksSkill
- threejs-debuggingSkill
- threejs-dynamic-surface-effectsSkill
- threejs-exposure-color-gradingSkill
- threejs-image-pipelineSkill
- threejs-object-sculptorSkill
- threejs-particles-trails-and-effectsSkill
- threejs-procedural-buildings-and-citiesSkill
- threejs-procedural-creaturesSkill
- threejs-procedural-fieldsSkill
- threejs-procedural-geometrySkill
- threejs-procedural-materialsSkill
- threejs-procedural-motion-systemsSkill
- threejs-procedural-planetsSkill
- threejs-procedural-vegetationSkill
- threejs-rain-snow-and-wet-surfacesSkill
- threejs-scalable-real-time-shadowsSkill
- threejs-sky-atmosphere-and-hazeSkill
- threejs-spectral-oceanSkill
- threejs-visual-validationSkill
- threejs-volumetric-cloudsSkill
- threejs-water-opticsSkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
22 rules. About 0 are common, 14 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈14
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 9
Do not read, write, retrieve, summarize, or rely on Codex memory files, databases, tools, or features on this machine.
- Very specific: line 17
Never execute rm -rf, rm -fr, or an equivalent recursive forced-delete command, including for generated, cached, temporary, or sandboxed …
- Very specific: line 19
Before any other command that invokes rm, first obtain two independent reviews: one arguing that the exact deletion is necessary and safe, …
- Very specific: line 25
If the required independent reviews are unavailable, do not execute rm.
- Very specific: line 29
When a task names or matches a threejs-* skill, read that repo-local skills/<skill>/SKILL.md before acting.
- Very specific: line 32
When a task spans multiple rendering systems, start with skills/threejs-choose-skills/SKILL.md and load only the smallest set it selects.
- Distinctive: line 34
Follow references and scripts named by the selected skill.
- Distinctive: line 42
Write for experienced graphics, computer-science, and physics readers.
- Distinctive: line 55
Read each file you will edit in full, plus the directly relevant example, manifest, test, and generated consumer.
- Very specific: line 61
Keep final-output ownership explicit.
- Distinctive: line 73
Use the validation procedure owned by the selected skill/example.
- Distinctive: line 75
Run syntax/static checks for changed scripts before browser capture.
- Distinctive: line 76
Run the relevant package/example validation and artifact validator.
- Very specific: line 77
Verify WebGPURenderer initialization and the required backend/capabilities for canonical WebGPU claims.
- Distinctive: line 79
Prefer render-target readback over a page screenshot when headless canvas presentation is unreliable.
- Distinctive: line 90
If a required environment or capability is unavailable, report the exact blocker and the narrower claim that remains supportable.
- Distinctive: line 95
After requested edits pass verification, commit the completed change unless the user explicitly asked not to commit it.
- Distinctive: line 101
Every commit message in this repository must end with a short original joke as its final paragraph:
- Distinctive: line 104
Keep it to one or two lines and relate it to the actual change.
- Distinctive: line 105
Check git log so the joke is not reused.
- Very specific: line 108
Do not add AI-attribution trailers such as Claude-Session or Co-Authored-By.
- Distinctive: line 111
Before handoff, lead with the result, list verification actually run and artifacts inspected, and state remaining limitations.
≈ “Common” is an estimate: at least 1 in 5 of the 16,597 AGENTS.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.
Files
Three.js WebGPU/TSL skill repository
This checkout is the authoritative local source for the installable skills under
skills/, plus their repository examples, validation harnesses, and generated
documentation.
Codex state and workflow
- Do not read, write, retrieve, summarize, or rely on Codex memory files, databases, tools, or features on this machine.
- Repo-local Superpowers exposure under
.agents/skills/superpowersis allowed when a documented repository workflow calls for it. Do not assume a global Superpowers installation path.
Destructive deletion safety
- Never execute
rm -rf,rm -fr, or an equivalent recursive forced-delete command, including for generated, cached, temporary, or sandboxed paths. - Before any other command that invokes
rm, first obtain two independent reviews: one arguing that the exact deletion is necessary and safe, and one challenging it with non-destructive alternatives. - Report the conclusion and obtain the user's explicit approval for the exact command before executing it. Prior command approvals and inferred consent do not satisfy this requirement.
- If the required independent reviews are unavailable, do not execute
rm.
Skill routing
- When a task names or matches a
threejs-*skill, read that repo-localskills/<skill>/SKILL.mdbefore acting. The copy in this repository wins over a global copy. - When a task spans multiple rendering systems, start with
skills/threejs-choose-skills/SKILL.mdand load only the smallest set it selects. - Follow references and scripts named by the selected skill. Do not load every skill or demo as general context.
- Checked-in source, examples, tests, manifests, and skill instructions are the source of truth. Treat older notes and generated docs as evidence only when they still match current source.
Technical standard
Write for experienced graphics, computer-science, and physics readers. Be concise and falsifiable: distinguish measured fact, source-backed mechanism, inference, and recommendation. Include units, coordinate/frame conventions, resource costs, invalidation rules, and failure conditions when they affect the result. Avoid motivational filler, credentials, emotional pressure, or vague demands for "maximum quality."
Canonical skills target Three.js WebGPU/TSL. Do not route or teach fallback behavior merely because WebGPU is unavailable; fallback is in scope only when the current user explicitly asks how to apply it.
Implementation expectations
- Read each file you will edit in full, plus the directly relevant example, manifest, test, and generated consumer.
- Reuse the selected skill's helpers and validation scripts instead of creating parallel infrastructure.
- Preserve a single scene render when a shared
RenderPipeline/MRT pass already exposes the required depth, normal, emissive, velocity, or color signals. - Keep final-output ownership explicit. If
renderOutput(...)owns presentation, prevent a second tone-map/output transform. - Mark render-pipeline graph changes dirty when an output node or diagnostic mode changes.
- For WebGPU render-target readback, carry the actual integer row stride and GPU alignment into encoding. Do not infer stride from total buffer length divided by height.
- Preserve unrelated user changes and generated artifacts. Do not edit generated output when the owning source/build script should be changed instead.
Verification
Use the validation procedure owned by the selected skill/example. At minimum:
- Run syntax/static checks for changed scripts before browser capture.
- Run the relevant package/example validation and artifact validator.
- Verify
WebGPURendererinitialization and the required backend/capabilities for canonical WebGPU claims. - Prefer render-target readback over a page screenshot when headless canvas presentation is unreliable.
- Validate more than "nonblank": compare expected diagnostics, final output, and mutation/negative controls where the skill requires them.
- Directly inspect the important final and diagnostic images. A generated report or prose description is not a substitute for opening the artifact.
- Record renderer/backend info, render-target inventory, timing method, required images, diagnostics, and limitations. Do not claim GPU timing without the required timestamp-query setup.
- Close browsers, servers, and capture processes opened by the task.
If a required environment or capability is unavailable, report the exact blocker and the narrower claim that remains supportable.
Commits
After requested edits pass verification, commit the completed change unless the
user explicitly asked not to commit it. Split finished work into small thematic
commits, stage only files owned by that unit, and preserve unrelated work. Use
a conventional type(scope): subject message with a body explaining what and
why.
Every commit message in this repository must end with a short original joke as its final paragraph:
- Keep it to one or two lines and relate it to the actual change.
- Check
git logso the joke is not reused. - Include
https://devme.me/in the joke, as required for the current repository work. Keep the joke itself relevant rather than using the URL as a bare tag. - Do not add AI-attribution trailers such as
Claude-SessionorCo-Authored-By.
Before handoff, lead with the result, list verification actually run and artifacts inspected, and state remaining limitations.
Multi-agent coexistence
Other models/agents are also working in this project. If anything odd happens or files change that you did not touch, it may be another agent — do not assume corruption or revert their work blindly. Use hey.md (repo root) to talk to each other: leave messages there, never block on the other agent, figure it out and achieve your goals together. Clean up your own messages in hey.md once your work is done and committed.
Product design method
Design precedes implementation, proportionally. The method is the
product-from-scratch skill — vendored in this repo at .claude/skills/product-from-scratch (read its SKILL.md); canon at github.com/LocSo/product-from-scratch. The chain is BRD → PRD → UX/XDS → SD, each artifact
only when the change actually needs it; reuse and link existing canon instead
of recreating it. A small UI change needs a short experience brief in the plan
or PR — no minimum length, no standalone document. A feature gets one design
document and a non-author design review before implementation. After UI work,
exercise the real flow — success, failure, recovery, interruption, return,
responsive — in a real browser. There is no resolver, status vocabulary,
approval record, or merge gate: document validity is human review. Repository
documents describe the current state only; git keeps history.
Product-chain revalidation prompts for this repo live in
.claude/chain-prompts/.
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
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.

