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.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/instructions/ianlkl11234s/mini-taiwan-pulse/claude-md)<a href="https://agentmods.dev/instructions/ianlkl11234s/mini-taiwan-pulse/claude-md"><img src="https://agentmods.dev/badge/instructions/ianlkl11234s/mini-taiwan-pulse/claude-md/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/instructions/ianlkl11234s/mini-taiwan-pulse/claude-md"><img src="https://agentmods.dev/badge/instructions/ianlkl11234s/mini-taiwan-pulse/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.01833 | $0.01833 |
| Opus 5 | $0.00916 | $0.00916 |
| Sonnet 5 | $0.00367 | $0.00367 |
| Haiku 4.5 | $0.00183 | $0.00183 |
Grade A, and why
mini-taiwan-pulse CLAUDE.md 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 yesterday.
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 — 102 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Mini Taiwan Pulse — 開發規則
React 19 + TypeScript + Vite (port 3721) · Mapbox GL + Three.js · Supabase (gis-platform)
詳細版規則見
docs/development-rules.md與全域準則的優先級:全域
~/.claude/CLAUDE.md已含通用開發準則(Think Before Coding / Simplicity / Surgical / Goal-Driven);本檔為專案具體化規則,衝突時以下方為準(特別是 Simplicity 對「新增 Layer 7 步驟 + UX 四鐵則」、Surgical 對「跨檔 register 多處」的例外)。不確定算不算違反專案鐵則時,先問用戶。
Session 記憶迴圈
SessionStart hook 只提供短路由,不預載 STATUS/BACKLOG/PRINCIPLES。有接手需求才依 .claude/memory/README.md 查相關段落;似曾相識的 bug 搜 .claude/pitfalls/。明確收尾時依 wrap-up 的 scope/evidence/release matrix 留本次紀錄,提交/發布沿用各自授權。框架機制按需查 .claude/FRAMEWORK.md。
常用指令
| 指令 | 用途 |
|---|---|
npm run dev |
啟動 dev server (port 3721) |
npx tsc -b |
TypeScript 驗證(commit 前必跑,禁用 --noEmit) |
npm test |
跑測試(含 layerConsistency 擋漏接圖例) |
/new-layer <name> |
新增 layer 骨架(強烈建議走,免漏 manifest/spec/邏輯檔三步 + 四鐵則) |
/check-rpc <name> |
自動 EXPLAIN 判斷 RPC 效能 |
必守規則
1. TypeScript 驗證
npx tsc -b(project references,禁用 --noEmit)— commit 前必跑。
2. 資料來源管理
資料來源契約(動態走 public.* RPC / Statistics 一律走 R2 snapshot / 靜態走 CDN 資產 / 禁前端直打 realtime.*)→ docs/development-rules.md §1
3. 資料載入必須有 Loading UI ⚠️
所有非同步載入必註冊 loadingRegistry,禁靜默 .rpc().then() → development-rules §2
4. 資料庫優化(Pre-aggregate Pattern)
RPC >1s 或 >10k rows 必套 pre-aggregate → docs/supabase-optimization.md + /supabase-optimize skill + /check-rpc
5. 新增 Layer 強制順序 ⚠️
新增 Layer → /new-layer 產骨架 + layer-onboarding skill 驗收;接線順序見 development-rules §4。
AR-22 Phase 4 起登記簿不再手寫:一筆 layerManifest.ts entry + 一筆 layerParamsSpec.ts 規格派生 6 張表,你只寫實質邏輯(loader / hook / overlay)。layerConsistency 測試驗 manifest 完整性(沒 entry / 欄位空殼 / 用 null 靜默豁免鐵則 → 紅)。
5a. 圖層 UX 四鐵則(⚠️ 缺一不可)
圖層 UX 四鐵則(opacity / 圖例 / popup / select)→ development-rules §4a + layer-onboarding Step 3-4
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.
- yesterday Changed 4919e3fdf68e
- 11d ago First seen · 102 lines · 1,833 tokens per session scan A 362f21828cfe
mini-taiwan-pulse CLAUDE.md is an instructions file published in the GitHub repository ianlkl11234s/mini-taiwan-pulse (504 stars, last pushed today), licensed MIT. It adds 1,833 tokens to every session, about $0.0092 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 instructions, from other repositories
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).