Borrowing it
Nothing to install: this file belongs to ianlkl11234s/mini-taiwan-pulse. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/ianlkl11234s/mini-taiwan-pulse/master/.claude/skills/three-3d-component/SKILL.mdgit clone --depth 1 https://github.com/ianlkl11234s/mini-taiwan-pulseWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/ianlkl11234s/mini-taiwan-pulse/three-3d-component)<a href="https://agentmods.dev/skills/ianlkl11234s/mini-taiwan-pulse/three-3d-component"><img src="https://agentmods.dev/badge/skills/ianlkl11234s/mini-taiwan-pulse/three-3d-component/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/ianlkl11234s/mini-taiwan-pulse/three-3d-component"><img src="https://agentmods.dev/badge/skills/ianlkl11234s/mini-taiwan-pulse/three-3d-component.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium MCP Rug Pull · line 216 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00185 | $0.04082 |
| Opus 5 | $0.00093 | $0.02041 |
| Sonnet 5 | $0.00037 | $0.00816 |
| Haiku 4.5 | $0.00018 | $0.00408 |
Grade A, and why
three-3d-component scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 297 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Three.js 3D 圖層設計手冊
目標:讓 Mini Taiwan Pulse 跳脫「只有點」的圖層形式。用立體幾何 + 動畫 + 光效 表達 點的內涵(燈塔轉圈)和 點與點的關聯(流動光弧、Sankey、力導向網路)。
SSOT:
- 案例庫:
public/three-showcase.html(互動 demo,68 元件 9 大類)- 元件查表:
docs/three-showcase-library.md- 已上線 Scene:
src/three/*Scene.ts(16 個)- CustomLayer 接線:
src/map/*CustomLayer.ts
一、何時用 3D,何時不用
| 情境 | 用 3D? | 改用 |
|---|---|---|
| 單點靜態 POI(≤ 200 個,無時序) | ❌ | Mapbox circle / symbol |
| 大量點分佈(>1000)需呈現密度 | ❌ | h3 hexbin / heatmap |
| 點本身有語意動作(轉、發光、脈動) | ✅ | beam / radar / orb |
| 點與點之間有關係(流動、層級) | ✅ | flowline / arc / sankey / network |
| 範圍 / 影響力 / 覆蓋 | ✅ | dome / cone / ripple / hexgrid |
| 時序動態(隨 timeline 變化) | ✅ | 走 Three.js + timeStore |
鐵則:3D 是為了「表達語意」,不是為了酷。下手前先回答這題:
「拿掉這個 3D 元件,使用者會少看懂什麼?」
答不出來 → 用 2D。
二、設計流程(5 步)
Step 1:定義語意
填寫這個句子:
「這個圖層的每個物件,是一個 [主體名詞],它正在 [動作 / 狀態 / 關係],影響範圍 [大小 / 方向 / 對象]。」
範例:
- 燈塔 = 一座 燈塔,正在 旋轉發光,影響 半徑 N 公里的海域 →
beam+ 旋轉 - 火警分隊 = 一個 救援基地,正在 發出脈動信號,等時圈 5/10/15 分鐘 →
cylinder光柱 + 多層ripple - 列車調度 = 多個 車站,彼此之間 班次流動,方向 北→南為主 →
flowline/arc
Step 2:對照元件類別
| 想表達 | 看類別 | 推薦元件 ID |
|---|---|---|
| 即時單一物件 | 基礎幾何 / 光效 | orb beam pin crystal |
| 警示 / 脈動事件 | 動畫事件 | ripple radar ring shockwave lightning |
| 範圍 / 勢力 / 保護罩 | 基礎幾何 | dome cone lightcone |
| 數據量化(柱狀 / 等級) | 數據視覺化 | bars polyextrude pie linechart |
| 流動 / 路徑 / 班次 | 線條 / 路徑 | flowline arc network |
| 自然 / 氣體 / 大氣 | 體積 / 大氣 | smoke noisecloud fog |
| 慶典 / 強調 / 特殊 POI | Shader 變形 / 場景 | aurora flow firework text |
| 系統關係(多節點關聯) | 系統關係 | sankey converge hydrocycle feedback cascade |
完整對照查 docs/three-showcase-library.md 的「適合表達」欄位。
Step 3:在 showcase 試參數
在 dev 啟動 npm run dev → 開 http://localhost:3721/three-showcase.html → 找到對應元件 → 即時調 size / opacity / speed / color → 抄下用戶看得順的參數值。
跳過這步是 80% 「上線後覺得太亮 / 太大」的根因。
Step 4:依骨架接線(看 §三)
新檔 + 強制順序,禁 improvising。
Step 5:必過 checklist(看 §四)
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 11d ago First seen · 297 lines · 185 tokens per session scan A ebb2c16b72b3
three-3d-component is a skill published in the GitHub repository ianlkl11234s/mini-taiwan-pulse (504 stars, last pushed today), licensed MIT. It adds 185 tokens to every session and 4,082 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
chakra-ui-builder
Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…
visual-ralph
Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ralph with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.
frontend-visual-qa
Audits already-rendered web, landing-page, HTML deck/slide, browser tool/game, dashboard/admin, design-system, and desktop UIs using real-browser or native-app journeys, inspected screenshots, DOM geometry, responsive or projection viewports, and a bundled Playwright sweep. Use after UI implementation to find…
prototype-web
A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.
animation-principles
Apply animation principles — easing, staging, follow-through — to one specific UI motion. Use when tuning how an animation feels. For product-wide duration and easing tokens use motion-system (design-systems); for a full interaction spec use micro-interaction-spec.
refactoring-ui
Audit and fix visual hierarchy, spacing, color, and depth in web UIs. Use when the user mentions "my UI looks off" (or amateur/unprofessional), "fix the design", "Tailwind styling", "color palette", "visual hierarchy", "design system", "spacing scale", or "component styling". Also trigger when building consistent…