Token导航 LogoToken导航

Agent Skill · 前端设计

rpgjs(rpgjs 命令行)

rpgjs 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

rpgjs 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描有提醒项,按安装量在前端设计类的 10,216 个 Skill 里排第 7,129。

总安装 416周安装 17GitHub Stars 1,579下载 133核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:rpgjs(rpgjs 命令行)
来源仓库:https://github.com/rsamaium/rpg-js
仓库路径:skills/rpgjs
安装命令:
npx skills add https://github.com/rsamaium/rpg-js --skill rpgjs
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/rsamaium/rpg-js --skill rpgjs

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

rpgjs 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态进行整理时使用。适用于前端设计类场景,可帮助 Agent 梳理代码变更和协作事项。

通过 npx skills add 命令从 GitHub 安装,需确认权限范围和维护状态。使用前建议检查是否会触发联网、命令执行或文件读写等敏感操作。rpgjs 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/rpgjs

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/rsamaium/rpg-js --skill rpgjs;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

rpgjs 怎么安装?

在终端执行 npx skills add https://github.com/rsamaium/rpg-js --skill rpgjs。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

rpgjs 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

rpgjs 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

rpgjs 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

rpgjs 用的人多吗?

公开数据是累计安装 416 次,近一周安装 17 次,下载 133 次,GitHub 1,579 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

rpgjs 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 来源仓库有 1,579 星,维护活跃度相对可查。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理前端设计类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

前端设计类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
frontend-design

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
rpgjs

rpgjs 命令行 · 本页

4161,579需要联网未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

RPGJS v5 Project

Overview

Use this skill to work inside an RPGJS v5 project with the live documentation as source of truth. Start by proving that the current codebase is an RPGJS project, then load the relevant RPGJS and CanvasEngine docs with curl or an equivalent CLI fetcher before making changes.

Start Here

Verify that the current workspace is an actual RPGJS project before doing anything else.

Inspect one or more package.json files and look for @rpgjs packages.

Useful commands:

rg -n '"@rpgjs|@rpgjs/' . --glob 'package.json'
rg --files . | rg 'package.json$'

If no project-local package.json uses @rpgjs/*, do not hand-build the project structure from memory.

Read the RPGJS v5 quick start first, then install the project from the documented flow.

Treat the quick start as mandatory before bootstrapping a missing project.

A fresh install already includes Tiled map editor integration and example maps, so use that scaffold as the baseline instead of assembling the project manually.

Use this URL:

https://v5.rpgjs.dev/guide/quick-start.md

Load Live Documentation

Do not rely on memory for RPGJS v5 usage details. Fetch the documentation with curl or a similar CLI tool and read the relevant pages before installing or changing code.

Fetch the RPGJS documentation index:

curl -fsSL https://v5.rpgjs.dev/llms.txt

Use the llms.txt file as the table of contents. Extract the relevant Markdown links from it, then fetch the pages you need.

Example workflow:

curl -fsSL https://v5.rpgjs.dev/llms.txt -o /tmp/rpgjs-v5-llms.txt
rg -o 'https://[^ )]+\\.md' /tmp/rpgjs-v5-llms.txt
curl -fsSL https://v5.rpgjs.dev/guide/quick-start.md

If the llms.txt uses relative links, resolve them against https://v5.rpgjs.dev/.

Prefer reading only the pages needed for the task. Keep the fetched docs small and targeted.

CanvasEngine Rule For .ce Files

Treat every .ce file as CanvasEngine code.

Before editing, creating, or explaining a .ce file, fetch the CanvasEngine documentation index:

curl -fsSL https://canvasengine.net/llms.txt

Then fetch the relevant Markdown pages referenced there. Do not invent CanvasEngine syntax from memory when the docs can be read directly.

If the task touches menus, HUDs, overlays, dialogs, title screens, or any file ending in .ce, load CanvasEngine docs first and then inspect nearby project components for local conventions.

GUI CSS Rule

For GUI styling, rely on the RPGJS UI CSS library instead of inventing an unrelated CSS system.

Fetch and read this documentation before changing GUI styles, classes, or layout rules:

curl -fsSL https://raw.githubusercontent.com/RSamaium/RPG-JS/refs/heads/v5/packages/ui-css/README.md

When the task affects GUI appearance, menus, HUDs, dialog boxes, notifications, shops, or title screens:

  • inspect the existing RPGJS UI CSS usage in the project
  • verify available classes, structure, and styling patterns against the UI CSS README
  • prefer extending the library’s conventions over custom one-off CSS

Physics Rule

RPGJS relies on its dedicated RPG-oriented physics engine for collisions and related behavior.

Fetch and read this documentation before changing collisions, movement constraints, hitboxes, map blocking, or other physics-adjacent gameplay behavior:

curl -fsSL https://raw.githubusercontent.com/RSamaium/RPG-JS/refs/heads/v5/packages/physic/README.md

Do not guess collision behavior from generic game-engine habits. Verify it against the physics library docs first.

Synchronization Rule

Client-server synchronization must go through synchronized player properties when the data represents state.

Fetch and read this guide before changing synchronized state, replicated player data, snapshot behavior, or cross-map persistence:

curl -fsSL https://v5.rpgjs.dev/guide/synchronization.md

Use player props for persistent state that must survive synchronization, snapshots, server restarts, or map transfers.

Do not use ad hoc side channels for durable gameplay state when props is the correct model.

Use map.broadcast(type, data) for ephemeral messages that should be broadcast on the current map without becoming saved state.

Use player.on(key, cb) to listen to client-sent socket data when that communication pattern is actually needed.

Working Sequence

Follow this order:

  1. Confirm that the current workspace is an RPGJS project by checking package.json for @rpgjs/*.
  2. If not, fetch and read https://v5.rpgjs.dev/guide/quick-start.md.
  3. Install the project according to the documented quick-start flow.
  4. Confirm that the scaffold now contains @rpgjs/* packages.
  5. Fetch https://v5.rpgjs.dev/llms.txt with curl or equivalent.
  6. Fetch the specific RPGJS Markdown pages needed for the task.
  7. If .ce files are involved, fetch https://canvasengine.net/llms.txt and the relevant CanvasEngine Markdown pages too.
  8. If GUI styling is involved, fetch the RPGJS UI CSS README and use it as the CSS reference.
  9. If collisions or physics are involved, fetch the RPGJS physic README and use it as the physics reference.
  10. If synchronized state or networked player data is involved, fetch the synchronization guide and use props as the default state model.
  11. Inspect the local codebase for conventions before editing.
  12. Implement changes and verify them with the project’s normal commands.

Installation Rule

When no RPGJS project exists yet:

  1. Read the quick start page with curl or equivalent.
  2. Follow the documented installation steps instead of guessing the package names or folder layout.
  3. Keep the generated Tiled integration and example maps unless the user explicitly asks to remove or replace them.
  4. Only start feature work after the scaffold is present and the project is recognized as an RPGJS codebase.

If installation requires network access or package-manager writes outside the sandbox, request approval and then proceed with the install instead of stopping at advice.

Project Cues

In an RPGJS v5 project, expect some mix of these signals:

  • @rpgjs/* dependencies in package.json
  • client.ts, server.ts, and sometimes standalone.ts entrypoints
  • config.client.* and config.server.* configuration files
  • server/client/common split
  • map or world content tied to Tiled
  • gameplay classes, event definitions, and map logic
  • UI components written as .ce files

Treat the existing project structure as the primary convention source after the docs.

Editing Guidance

Read the closest existing files before creating new gameplay objects, map logic, or UI components.

When working on gameplay or engine integration:

  • verify imports and APIs against the fetched RPGJS docs
  • prefer matching nearby project patterns over generic abstractions
  • keep server/client responsibilities aligned with the current codebase
  • check whether maps are loaded through provideTiledMap or a custom provideLoadMap

When working on .ce components:

  • verify CanvasEngine syntax against fetched docs
  • inspect sibling .ce files for established patterns
  • preserve the existing component style unless the user asks for a broader refactor

When working on GUI styles:

  • use the RPGJS UI CSS library as the default styling system
  • verify class names and structure against the UI CSS README
  • avoid replacing library conventions with ad hoc CSS unless the user explicitly asks for that

When working on collisions or movement rules:

  • verify assumptions against the RPGJS physic README
  • treat the dedicated physics engine as the source of truth for collision behavior
  • avoid importing generic physics patterns that are not supported by the library

When working on synchronized state:

  • use player props for state that must persist across maps, snapshots, or restarts
  • configure synchronization and permanence deliberately according to the documented options
  • use map.broadcast(...) for ephemeral, non-persistent map-wide messages
  • use player.on(...) only for explicit client-to-server socket communication
  • avoid storing durable gameplay state in a custom path when synchronized props already solve the problem

References

Read source-map.md when you need the canonical doc URLs, the minimal fetch workflow, and the bootstrap rule for a missing project. Read architecture-notes.md when you need the core RPGJS v5 project model used by this repository.

平台分布

Codex

35.54%
按下载量换算47

Claude

29.5%
按下载量换算39

Cursor

19.36%
按下载量换算26

Gemini CLI

9.62%
按下载量换算13

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills