gaesup-world: Skill for Claude Code

.claude/skills/add-subpath-export/SKILL.md

add-subpath-export is a skill for Claude Code from jigglypop/gaesup-world. It costs 51 tokens per session (685 once invoked), scanned A, original, MIT.

A procedure for adding or changing a package subpath export, such as an import path for one part of a TypeScript package. It lists the source entry point, package export map, build settings, type settings, and example updates that must agree.

In plain words
What is it for?
Use it when adding a new package entry point or changing the exports of a multi-entry TypeScript package.
Why use it?
It reduces the risk of publishing an import path that builds in one environment but is missing types, files, or runtime targets elsewhere.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is jigglypop/gaesup-world's own configuration. It tells Claude Code how to work on gaesup-world 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 gaesup-world configures →

Reuse

Borrowing it

Nothing to install: this file belongs to jigglypop/gaesup-world. 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/jigglypop/gaesup-world/master/.claude/skills/add-subpath-export/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/jigglypop/gaesup-world

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 add-subpath-export

README.md
[![agentmods](https://agentmods.dev/badge/skills/jigglypop/gaesup-world/add-subpath-export/github.svg)](https://agentmods.dev/skills/jigglypop/gaesup-world/add-subpath-export)
Your own site
<a href="https://agentmods.dev/skills/jigglypop/gaesup-world/add-subpath-export"><img src="https://agentmods.dev/badge/skills/jigglypop/gaesup-world/add-subpath-export/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 add-subpath-export

Your own site · 80×15
<a href="https://agentmods.dev/skills/jigglypop/gaesup-world/add-subpath-export"><img src="https://agentmods.dev/badge/skills/jigglypop/gaesup-world/add-subpath-export.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 685 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 pass 7 Sept 2026
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.00051 $0.00685
Opus 5 $0.00026 $0.00342
Sonnet 5 $0.00010 $0.00137
Haiku 4.5 $0.00005 $0.00068

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

Security

Grade A, and why

add-subpath-export 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 3d 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/add-subpath-export/SKILL.md · 36 lines

What it actually says

subpath export 추가/변경 절차

이 패키지는 워크스페이스 대신 14개 subpath export로 분할되어 있다 (gaesup-world, /admin, /blueprints, /blueprints/editor, /runtime, /editor, /building, /gameplay, /navigation, /assets, /network, /plugins, /server-contracts, /postprocessing, /style.css). 각 subpath는 src/<name>.ts 배럴 엔트리 파일 하나에 대응한다.

불변식

  • 엔트리 파일 최상단 관례: React 표면을 포함하는 엔트리는 import 'reflect-metadata';import './core/initializeBridges'; 를 먼저 실행한다 (src/index.ts, src/runtime.ts, src/editor.ts 참조).
  • examples는 subpath로만 import한다 — 새 subpath를 만들면 examples/에서 실제로 사용하는 코드를 최소 한 곳 추가해야 한다.

6개 파일 동시 수정 체크리스트

src/__tests__/packageExports.test.tspackage.json exports ↔ vite.config.tstsconfig.jsonscripts/copy-cjs-types.cjs의 정합성을 파일을 직접 읽어 자동 대조한다(각 export의 import/require × types/default 대상, files 포함 여부까지). 단, jest.config.js moduleNameMapper는 이 테스트가 커버하지 않는다 — 빠뜨리면 가드 테스트는 통과하는데 해당 subpath를 import하는 테스트만 조용히 깨지므로 반드시 수동 확인할 것.

  1. package.jsonexports 맵에 import/require × types/default 4개 항목 추가. files 배열 커버 여부 확인.
  2. vite.config.ts — self-alias(gaesup-world/<name>src/<name>.ts)와 build.lib.entry에 엔트리 추가.
  3. tsconfig.jsonpaths에 동일한 self-alias 추가.
  4. jest.config.jsmoduleNameMapper에 동일한 매핑 추가.
  5. scripts/copy-cjs-types.cjs.d.cts 복사 대상에 새 엔트리 추가.
  6. src/__tests__/packageExports.test.ts — 새 subpath를 가드 테스트에 등록.

검증 (반드시 실행)

corepack pnpm test -- src/__tests__/packageExports.test.ts --runInBand
corepack pnpm test -- src/__tests__/publicApi.test.ts --runInBand
pnpm build:types
pnpm exec publint

전부 통과한 뒤 HARNESS.md에 라운드 섹션을 append(기존 섹션 수정 금지)하고, subpath ↔ examples ↔ docs 커버리지 표를 갱신한다.

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. 3d ago First seen · 36 lines · 51 tokens per session scan A 99deaaeb6279

Subscribe to this mod's changes

add-subpath-export is a skill published in the GitHub repository jigglypop/gaesup-world (22 stars, last pushed today), licensed MIT. It adds 51 tokens to every session and 685 once invoked, about $0.0003 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-09-06.

Related

Other skills, from other repositories

no-bare-casts

Writing as in TypeScript or TSX production code, modifying a file that contains a bare as cast, silencing a type error with a cast, encountering as unknown as, or reviewing a cast site.

prisma/orm · 52 tokens

aws-sst-development

SST v4 (Ion) expert for managing AWS resources as code with the Pulumi-backed framework.

sickn33/agentic-awesome-skills · 26 tokens

league-akari-shard-development

Use when creating, extending, refactoring, splitting, or reviewing League Akari main or renderer shards, including shard file organization, controller/loader/executor/handler boundaries, naming conventions, renderer TSX usage, platform guards, and public contract compatibility.

LeagueAkari/LeagueAkari · 58 tokens

dd-code-generation

Use pup CLI for immediate Datadog operations or generate code for integration into applications.

DataDog/pup · 16 tokens

fast-typescript-check

Keep www-sacred's TypeScript fast to type-check and fast to run. Use when touching the ASCII/canvas animation components (the only real per-frame code here), tightening type-check wall-clock, or auditing a change for runtime or compiler regressions. Scoped to this repo — a React 19 / Next.js 16 component library plus…

internet-development/www-sacred · 84 tokens

migrate-better-result-3

Migrate a TypeScript codebase from better-result 2.x to 3.0. Use when upgrading better-result across the TaggedError syntax, removed Result serialization helpers, recovery inference, matching, or retry APIs.

dmmulroy/better-result · 52 tokens