Token导航 LogoToken导航TokenDH.com
前端设计需要联网github未标认证来源可访问许可证需确认审计提醒

rpgjsrpgjs 命令行

Agent Skill

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

总安装

416

周安装

17

GitHub Stars

1,579

下载量

133
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 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

简介

rpgjs 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态进行整理时使用。

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

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.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

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 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills