본문으로 건너뛰기
Skillpedia
일반 코딩6.3k · #14377

Install PuerTS for Unity

하는 일

이 스킬은 Unity 프로젝트에 PuerTS 패키지를 설치하는 과정을 안내합니다. 게임이나 앱 안에서 JavaScript나 TypeScript를 실행하려는 Unity 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓Unity 프로젝트에 PuerTS를 추가하고 싶을 때.
  • ✓맞는 PuerTS 버전과 패키지를 골라야 할 때.
  • ✓릴리스 압축 파일이나 git 링크에서 PuerTS를 설치하고 싶을 때.

스킬 링크

https://github.com/Tencent/puerts/blob/master/unity/skills/install-puerts-for-unity/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/Tencent/puerts/blob/master/unity/skills/install-puerts-for-unity/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“Unity 프로젝트에 PuerTS 3.0.2 버전을 설치하고 Node.js 패키지도 포함해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

스킬은 어떤 버전을 원하는지 묻고, 그 버전의 릴리스 압축 파일을 찾아 의존성을 설명합니다. 다운로드하거나 git URL로 패키지를 설치하도록 안내하며, 필요하면 Editor Assistant도 설정합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Install PuerTS for Unity

This skill guides you through downloading and installing PuerTS packages into a Unity project.

⚠️ Important: Always ask the user which PuerTS version they want to install if they haven't specified one. The version number follows the Core package's version (e.g., 3.0.2).


1. Release Page & Version

  • The release download page URL pattern is:
    https://github.com/Tencent/puerts/releases/tag/Unity_v{VERSION}
    
    For example: https://github.com/Tencent/puerts/releases/tag/Unity_v3.0.2

⚠️ Important — Version Numbers Inside Archives: The version number in the release page URL (e.g., Unity_v3.0.2) is based on the Core package version. However, the version numbers inside each .tar.gz filename may differ — each package follows its own versioning cadence. You may need to download/parse the release page HTML to determine the exact filenames available.


2. Available Packages

Each release page may contain the following .tar.gz archives, each corresponding to a UPM package:

Archive File UPM Package Has Native Plugins Always Available
PuerTS_Core_{ver}.tar.gz com.tencent.puerts.core ✅ Yes ✅ Yes
PuerTS_Lua_{ver}.tar.gz com.tencent.puerts.lua ✅ Yes ✅ Yes
PuerTS_Nodejs_{ver}.tar.gz com.tencent.puerts.nodejs ✅ Yes ✅ Yes
PuerTS_Python_{ver}.tar.gz com.tencent.puerts.python ✅ Yes ✅ Yes
PuerTS_Quickjs_{ver}.tar.gz com.tencent.puerts.quickjs ✅ Yes ✅ Yes
PuerTS_V8_{ver}.tar.gz com.tencent.puerts.v8 ✅ Yes ✅ Yes
PuerTS_Webgl_{ver}.tar.gz com.tencent.puerts.webgl ❌ No ✅ Yes
PuerTS_Agent_{ver}.tar.gz com.tencent.puerts.agent ❌ No ❌ Not every release
PuerTS_MCP_{ver}.tar.gz com.tencent.puerts.mcp ❌ No ❌ Not every release

Notable Package Features

  • com.tencent.puerts.agent: Provides an Agent framework for building LLM agents, and also includes an Agent-based Editor Assistant for Unity.
  • com.tencent.puerts.mcp: Provides an MCP (Model Context Protocol) framework, and also includes an MCP-based Editor Assistant for Unity.

Both the agent and mcp packages offer an Editor Assistant variant. See Section 5 for how to handle user requests like "install PuerTS Editor Assistant".


3. Package Dependencies

⚠️ Important: Packages have dependency relationships. When a user requests to install a package, you must ensure all of its dependencies are also installed.

Dependency Rules

  • com.tencent.puerts.core is the foundational package — all other packages depend on it.
  • com.tencent.puerts.agent depends on com.tencent.puerts.core + com.tencent.puerts.v8
  • com.tencent.puerts.mcp depends on com.tencent.puerts.core + com.tencent.puerts.v8 + com.tencent.puerts.agent
  • All backend packages (com.tencent.puerts.v8, com.tencent.puerts.lua, com.tencent.puerts.nodejs, com.tencent.puerts.python, com.tencent.puerts.quickjs, com.tencent.puerts.webgl) depend on com.tencent.puerts.core

Dependency Graph

com.tencent.puerts.core  (required by all)
  ├── com.tencent.puerts.v8
  │     ├── com.tencent.puerts.agent
  │     │     └── com.tencent.puerts.mcp
  │     └── com.tencent.puerts.mcp
  ├── com.tencent.puerts.nodejs
  ├── com.tencent.puerts.lua
  ├── com.tencent.puerts.python
  ├── com.tencent.puerts.quickjs
  └── com.tencent.puerts.webgl

Examples of Automatic Dependency Resolution

User requests to install Must also install
agent core, v8
mcp core, v8, agent
mcp + agent core, v8
v8 core
lua core

4. Installation Methods

4.1 Download & Extract Method (Required for packages with native plugins)

The following packages contain compiled native binary plugins and must be installed by downloading from the release page:

  • com.tencent.puerts.core
  • com.tencent.puerts.lua
  • com.tencent.puerts.nodejs
  • com.tencent.puerts.python
  • com.tencent.puerts.quickjs
  • com.tencent.puerts.v8

Steps:

  1. Go to https://github.com/Tencent/puerts/releases/tag/Unity_v{VERSION}
  2. Download the required .tar.gz file(s) (e.g., PuerTS_Core_3.0.2.tar.gz)
  3. Extract the archive — it will produce a directory (e.g., core/) co
자주 묻는 질문

어떤 버전을 원하는지 묻나요?

네, 버전을 주지 않았다면 스킬이 버전을 묻습니다.

패키지는 어떻게 설치하나요?

다운로드한 압축 파일이나 git URL에서 설치할 수 있습니다.

버전 번호는 어떤 패키지를 기준으로 하나요?

버전 번호는 Core 패키지를 따릅니다.

상세 정보

작성자의 원본 설명

Guide for downloading and installing PuerTS UPM packages into a Unity project — covers version selection, package dependencies, download/extract and git URL installation methods, and Editor Assistant setup.

repo: Tencent/puerts

인기도

GitHub 스타
6.3k
순위
#14377
라이선스
—
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬