mini-taiwan-pulse: Skill for Claude Code

.claude/skills/three-3d-component/SKILL.md

three-3d-component is a skill for Claude Code from ianlkl11234s/mini-taiwan-pulse. It costs 185 tokens per session (4,082 once invoked), scanned A, original, MIT.

A design and integration guide for adding animated Three.js 3D layers to a Mapbox map. Three.js creates the 3D graphics, while Mapbox displays them on geographic data.

In plain words
What is it for?
It is for choosing 3D visual forms, connecting scenes to map layers, handling coordinates and animation time, cleaning up resources, and checking performance.
Why use it?
It helps you decide when 3D explains a map feature and when a simpler two-dimensional layer is clearer or faster.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md.

This is ianlkl11234s/mini-taiwan-pulse's own configuration. It tells Claude Code how to work on mini-taiwan-pulse itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything mini-taiwan-pulse configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import { toMercator } from "../utils/coordinates";.

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/ianlkl11234s/mini-taiwan-pulse/master/.claude/skills/three-3d-component/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/ianlkl11234s/mini-taiwan-pulse

Made for: Claude Code.

Wrote 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.

agentmods badge for three-3d-component

README.md
[![agentmods](https://agentmods.dev/badge/skills/ianlkl11234s/mini-taiwan-pulse/three-3d-component/github.svg)](https://agentmods.dev/skills/ianlkl11234s/mini-taiwan-pulse/three-3d-component)
Your own site
<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.

agentmods 80×15 button for three-3d-component

Your own site · 80×15
<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>
Per session 185 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,082 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
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]
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 11d ago against content hash ebb2c16b72b3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

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.

.claude/skills/three-3d-component/SKILL.md · 297 lines

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(看 §四)

Read the full file on GitHub · 297 lines

Files

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.

Changes

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.

  1. 11d ago First seen · 297 lines · 185 tokens per session scan A ebb2c16b72b3

Subscribe to this mod's changes

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.

Related

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…

chakra-ui/chakra-ui · 214 tokens

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.

Yeachan-Heo/oh-my-codex · 50 tokens

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…

daymade/claude-code-skills · 145 tokens

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.

nexu-io/html-anything · 24 tokens

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.

Owl-Listener/designer-skills · 59 tokens

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…

wondelai/skills · 132 tokens