Aller au contenu
Skillpedia
Programmation générale6.3k · #14377

Install PuerTS for Unity

Ce qu’il fait

Cette compétence guide l'installation des paquets PuerTS dans un projet Unity. Elle s'adresse aux développeurs Unity qui veulent exécuter du JavaScript ou du TypeScript dans leur jeu ou leur application.

Quand l’utiliser

  • ✓Quand vous voulez ajouter PuerTS à un projet Unity.
  • ✓Quand vous devez choisir la bonne version de PuerTS et ses paquets.
  • ✓Quand vous voulez installer PuerTS à partir d'une archive de version ou d'un lien git.

Lien du skill

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

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/Tencent/puerts/blob/master/unity/skills/install-puerts-for-unity/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Installe PuerTS en version 3.0.2 dans mon projet Unity et inclus le paquet Node.js.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

La compétence demande la version souhaitée si vous ne l'avez pas indiquée, trouve les archives de version correspondantes et explique les dépendances. Elle guide ensuite l'installation des paquets par téléchargement ou par lien git, et configure l'Editor Assistant si nécessaire.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis 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
Questions fréquentes

Demande-t-elle quelle version je veux ?

Oui, la compétence demande la version si vous ne l'avez pas donnée.

Comment les paquets sont-ils installés ?

La compétence peut les installer à partir d'archives téléchargées ou d'une URL git.

Sur quel paquet la version est-elle basée ?

Le numéro de version suit celui du paquet Core.

Détails

Description originale de l’auteur

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

Popularité

Étoiles GitHub
6.3k
Position au classement
#14377
Licence
—
Mis à jour
02/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires