/luau-kb:roblox-docsfrom luau-kb
Queries the official Roblox docs from a local cache (tools/roblox_docs.py): API signatures, security level, thread safety, deprecation. Use when verifying a Roblox API or citing the docs. 트리거: 공식 문서 확인, API 시그니처, deprecated 여부.
Ships in luau-kb. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
create.roblox.com/docs 는 클라이언트 렌더링이라 HTML 로는 읽기 어렵다. 그래서 공개 저장소 Roblox/creator-docs 의 원본(가이드 마크다운 + 엔진 API 참조 YAML)을 캐시에 받아 두고 로컬에서 찾는다. 방식 비교와 근거는 references/sources.md §1.
thread_safety(병렬 단계에서 써도 되나), deprecated 여부와 사유를 확인할 때 → apisearch 후 getget path:a-b, 인용 규칙 references/sources.md §3studio-mcp.md).luau-kb 루트에서 python3 -I tools/roblox_docs.py <명령> 으로 부른다. 캐시가 없으면 먼저 sync 한다(5 MB, 1초 안팎).
sync # 받기·갱신. 커밋이 같으면 건너뜀
search deferred resumption -n 5 # 절 단위 검색
get scripting/events/deferred.md#resumption-points
get luau/comments.md:56-78 # 줄 범위
api TweenService:Create # 멤버 요약 (상속 사슬·오버로드 포함)
api Instance # 클래스 요약: 멤버마다 L범위·시그니처·[보안·스레드 안전성·deprecated]
status # 커밋, STUDIO_VERSION
path:a-b ~N.Nk § 제목 이다. path 는 첫 줄 root: 기준 상대 경로이고, ~N.Nk 는 그 범위를 읽는 데 드는 추정 토큰이다. 필요한 범위만 get path:a-b 하거나 Read 로 root/path 를 offset=a limit=b-a+1 로 읽는다.--api 는 참조(reference/)만, --guide 는 가이드만, --under scripting/ 은 경로 접두로 좁힌다.get 은 웹 표기(https://create.roblox.com/docs/..., classes/Instance.md, globals/LuaGlobals.md)도 받는다. 8k 토큰을 넘는 문서는 목차만 낸다(--body 로 통째).status 로 확인).references/sources.md §5).search 한다. 캐시를 쓸 수 없을 때의 온라인 대체(llms.txt, 검색 API, .md 페이지)는 references/sources.md §4.--cache > HARNESS_ROBLOX_DOCS_CACHE(환경 변수 또는 harness.env) > ${XDG_CACHE_HOME:-~/.cache}/roblox-docs.| 상황 / 질문 | 읽을 곳 |
|---|---|
| 왜 원본 저장소인가, llms.txt·HTML 과 비교 | references/sources.md §1 |
| 명령·출력 형식·캐시 위치 | references/sources.md §2 |
| 경로 표기와 인용 규칙 | references/sources.md §3 |
| 캐시 없이 온라인으로 | references/sources.md §4 |
| 신뢰 경계 | references/sources.md §5 |
| coderag pack 으로 붙이기(메모) | references/sources.md §6 |
| 기존 인용 재확인 결과 | references/sources.md §7 |
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub qwreey/qwreey-harness --plugin luau-kb12 skills in this plugin
/luau-perfMeasured Luau performance: benchmark method, metatable, table, closure and string costs, -O2 and --!native effects, GC pressure. Use when Luau code is slow, optimization is asked, or a benchmark is written or read. Engine API cost is roblox-engine. 트리거: 코드가 느려, 최적화해 줘, 벤치마크./luau-robloxRoblox typing and test setup: luau-lsp definition files and sourcemap, typing GetService, Instance.new, FindFirstChild and IsA, luau CLI mocks vs Studio, Studio MCP. Use when Roblox API types fail or deciding mock vs Studio. Engine behavior is roblox-engine/net/world. 트리거: mock 으로 충분해?, Studio MCP, 정의 파일 설정./luau-runtimeLuau semantics without the Roblox engine: weak tables and GC leaks, swallowed coroutine errors, require-by-string in the luau CLI (init.luau, @self, aliases). Use when weak entries persist, a coroutine error vanishes, or require cannot resolve. In-engine behavior is roblox-engine. 트리거: weak table 안 사라짐, 코루틴 에러 삼킴, require 안 풀림.Other plugins' skills for the same job