跳到主内容
智客 ZICQ

技能库 智客分类:写作与研究 msw-packages

Msw Packages

MSWPackages Catalog——官方一党预建的用于常见MSW特性的软件包. 当用户要求任何标准游戏系统(指向/通知、排名/领导板、库存/设备、商店/商店、世界商店、邮件、寻求/成就、对话/NPC对话、密钥绑定、游戏事件广播、玩家数据/保存、收集/数据、斜线命令、滚动视图/虚拟列表、投放表、全球配置、GM消息、资源/货币、UI组件)时,从头就使用这一技能。 总是先检查目录; 如果一个软件包符合请求的特性, 获取其 README 并提议整合而不是从 0 构建 。 关键词:MSWPackages,软件包,预建,集成.

10784 安装量

官方网址:skills.sh

技能介绍

先看中文介绍;官方 description 原文单独保留,不改写 SKILL.md。

做什么

MSWPackages Catalog——官方一党预建的用于常见MSW特性的软件包. 当用户要求任何标准游戏系统(指向/通知、排名/领导板、库存/设备、商店/商店、世界商店、邮件、寻求/成就、对话/NPC对话、密钥绑定、游戏事件广播、玩家数据/保存、收集/数据、斜线命令、滚动视图/虚拟列表、投放表、全球配置、GM消息、资源/货币、UI组件)时,从头就使用这一技能。 总是先检查目录; 如果一个软件包符合请求的特性, 获取其 README 并提议整合而不是从 0 构建 。 关键词:MSWPackages,软件包,预建,集成.

何时用

官方 description 未单独写出 Use when。按规范,代理会在用户任务与这段 description 的关键词匹配时激活本技能。

代理如何加载

按 Agent Skills 渐进披露:启动时只加载 name 与 description(约 100 token);任务匹配后才读入整份 SKILL.md 正文;scripts/、references/、assets/ 仅在需要时再读。 本文件正文结构:MSW Packages — Official Prebuilt Catalog、Decision Flow、Feature → Package Mapping、Scope-First Routing (UI vs System)、Routing rule、When to skip the question。 其中含规范建议的小节:分步指令。

文件分析

文件分析:除 SKILL.md 外,正文引用了 references/templates/、references/component-api.md、references/ui-fundamentals.md、scripts/UI,属于带资源的技能包,这些文件按需再读。

官方 description(原文)

MSWPackages catalog — official 1st-party prebuilt packages for common MSW features. Use this skill BEFORE writing a feature from scratch when the user asks for any standard game system (toast/notification, ranking/leaderboard, inventory/equipment, shop/store, world shop, mail, quest/achievement, dialog/NPC conversation, key binding, game event broadcast, player data/save, collection/dex, slash command, scrollview/virtualized list, drop table, global config, GM message, resource/currency, UI components). Always check the catalog first; if a package matches the requested feature, fetch its README and propose integrating instead of building from zero. Keywords: MSWPackages, package, prebuilt, integration.

MSW Packages — Official Prebuilt CatalogDecision FlowFeature → Package MappingScope-First Routing (UI vs System)Routing ruleWhen to skip the questionFetch Protocol1. README first (always)2. File tree (when integration is likely)3. Raw file fetch (per-file as needed)Integration WorkflowPitfalls

来源分类:skills.sh agent-skill

SKILL.md 与 Agent 调用

官方规范 ↗
name
msw-packages
description
MSWPackages catalog — official 1st-party prebuilt packages for common MSW features. Use this skill BEFORE writing a feature from scratch when the user asks for any standard game system (toast/notification, ranking/leaderboard, inventory/equipment, shop/store, world shop, mail, quest/achievement, dialog/NPC conversation, key binding, game event broadcast, player data/save, collection/dex, slash command, scrollview/virtualized list, drop table, global config, GM message, resource/currency, UI components). Always check the catalog first; if a package matches the requested feature, fetch its README and propose integrating instead of building from zero. Keywords: MSWPackages, package, prebuilt, integration.
  1. 发现技能客户端向 Agent 提供名称与描述目录。
  2. 匹配与调用用户指定或任务匹配后,载入 SKILL.md 指令。
  3. 按需加载按步骤读取参考文档、使用脚本与素材。
指令中引用的文件 · 4
  • references/templates/
  • references/component-api.md
  • references/ui-fundamentals.md
  • scripts/UI

以下路径提取自原文;文件是否齐全请以来源仓库中的完整目录为准。

具体调用语法与可用工具以目标 Agent 客户端为准。 查看调用机制说明 ↗

安装这个技能

Skills CLI ↗

先选择目标 Agent 和安装范围,保留技能包的附属文件,安装后检查客户端能否发现该技能。

该技能引用了附属文件,请从来源获取完整目录;仅复制 SKILL.md 可能缺少依赖。

交给 Agent 安装

复制安装指令给支持 Agent Skills 的代理,确认其中的目标目录与客户端匹配。

把 Agent Skill「msw-packages」安装到我的项目:SKILL.md 原文与官方 description 见 https://zicq.com/zh/skills/skl-8a19693ec352deff-Msw-Packages.html
请存为 .cursor/skills/msw-packages/SKILL.md 或 .claude/skills/msw-packages/SKILL.md,frontmatter 的 name 与 description 保持原样,不要改写。
该技能还带 scripts/、references/、assets/ 等文件,请从 https://github.com/msw-git/msw-ai-coding-plugins-official 取完整目录,不要只建一个 SKILL.md。

GitHub 完整包 ↗

终端安装 · Skills CLI

需要 Node.js 与 npx。先查看仓库技能列表,确认实际名称。

npx skills add 'https://github.com/msw-git/msw-ai-coding-plugins-official' --list

npx skills add 'https://github.com/msw-git/msw-ai-coding-plugins-official' --skill 'msw-packages'

CLI 会交互选择目标 Agent,默认安装到项目;用户级安装使用 -g。先通过查看命令核对仓库内容,再用 npx skills list 检查已安装技能。

阅读排版
--- name: msw-packages description: "MSWPackages catalog — official 1st-party prebuilt packages for common MSW features. Use this skill BEFORE writing a feature from scratch when the user asks for any standard game system (toast/notification, ranking/leaderboard, inventory/equipment, shop/store, world shop, mail, quest/achievement, dialog/NPC conversation, key binding, game event broadcast, player data/save, collection/dex, slash command, scrollview/virtualized list, drop table, global config, GM message, resource/currency, UI components). Always check the catalog first; if a package matches the requested feature, fetch its README and propose integrating instead of building from zero. Keywords: MSWPackages, package, prebuilt, integration." --- # MSW Packages — Official Prebuilt Catalog [`MSW-Git/MSWPackages`](https://github.com/MSW-Git/MSWPackages) is the official MSW first-party repository of prebuilt feature packages. Before writing any standard game feature from scratch, **check this catalog first** — if a package matches, propose integration instead of zero-from-scratch implementation. This skill is a thin index. Per-package details (README, source, integration steps) are fetched **on demand from GitHub** rather than mirrored here, so the catalog stays current automatically. --- ## Decision Flow ``` User asks for feature X │ ▼ Match X against Feature → Package table below │ ┌────┴─────┐ │ Match │ No match ▼ ▼ Scope-First check Proceed with normal MSW (see section below): authoring (msw-scripting, system vs UI-only? msw-search, etc.) │ ┌────┴───────────┐ │ system │ UI-only ▼ ▼ Fetch package Route to msw-ui-system README (+ references/templates/, skip the rest of this skill) │ ▼ Summarize for user "Found . README says: . Integrate this, or build from scratch?" │ ┌────┴─────┐ │ │ ▼ ▼ Integrate Build from scratch │ ▼ Run Integration Workflow (below) ``` **Default posture**: ask the user before integrating. Do not auto-install without confirmation — packages can collide with existing UUIDs, sprite RUIDs, or naming conventions in the user's project. --- ## Feature → Package Mapping When a user request mentions one of these features (Korean or English), look up the matching package and fetch its README first. | Feature domain | Package | GitHub path | |---|---|---| | Toast / notification / banner | `maplestory-toast-package` | [link](https://github.com/MSW-Git/MSWPackages/tree/main/maplestory-toast-package) | | Ranking / leaderboard / scoreboard (basic) | `ranking-basic-package` | [link](https://github.com/MSW-Git/MSWPackages/tree/main/ranking-basic-package) | | Ranking / leaderboard (advanced — multi-board, season) | `ranking-advanced-package` | [link](https://github.com/MSW-Git/MSWPackages/tree/main/ranking-advanced-package) | | Inventory / item bag / equipment | `inventory-package` | [link](https://github.com/MSW-Git/MSWPackages/tree/main/inventory-package) | | Shop / store / purchase | `shop-package` | [link](https://github.com/MSW-Git/MSWPackages/tree/main/shop-package) | | World shop / premium shop | `worldshop-package` | [link](https://github.com/MSW-Git/MSWPackages/tree/main/worldshop-package) | | Mail / mailbox | `mail-package` | [link](https://github.com/MSW-Git/MSWPackages/tree/main/mail-package) | | Quest / achievement / mission | `quest-achievement-package` | [link](https://github.com/MSW-Git/MSWPackages/tree/main/quest-achievement-package) | | Dialog / NPC conversation (typewriter style) | `dialog-package` | [link](https://github.com/MSW-Git/MSWPackages/tree/main/dialog-package) | | Key binding / virtual button | `key-binding-package` | [link](https://github.com/MSW-Git/MSWPackages/tree/main/key-binding-package) | | Game event broadcast / pub-sub | `game-event-package` | [link](https://github.com/MSW-Git/MSWPackages/tree/main/game-event-package) | | Player data / save / profile | `player-data-package` | [link](https://github.com/MSW-Git/MSWPackages/tree/main/player-data-package) | | Collection / gallery / dex | `collections-package` | [link](https://github.com/MSW-Git/MSWPackages/tree/main/collections-package) | | Slash command / chat command | `command-package` | [link](https://github.com/MSW-Git/MSWPackages/tree/main/command-package) | | Virtualized scroll list / large list | `recyclescrollview-package` | [link](https://github.com/MSW-Git/MSWPackages/tree/main/recyclescrollview-package) | | Drop table / loot probability | `droptable-resolver-package` | [link](https://github.com/MSW-Git/MSWPackages/tree/main/droptable-resolver-package) | | Global config / shared settings | `global-config-package` | [link](https://github.com/MSW-Git/MSWPackages/tree/main/global-config-package) | | GM / system announcement | `gm-message-package` | [link](https://github.com/MSW-Git/MSWPackages/tree/main/gm-message-package) | | Game resource (currency, energy, refillable) | `resource-package` | [link](https://github.com/MSW-Git/MSWPackages/tree/main/resource-package) | | UI components and prefab models | `ui-component-package` | [link](https://github.com/MSW-Git/MSWPackages/tree/main/ui-component-package) | If multiple packages plausibly match (e.g. "ranking" → basic vs advanced), fetch both READMEs and let the user choose based on the comparison. --- ## Scope-First Routing (UI vs System) When a request matches a catalog keyword but it is unclear whether the user wants the **full system** (data + logic + UI) or **just the UI screen**, ask ONE short question BEFORE fetching package files. Use the matching row from the table below. | Request keyword | Question to ask | |---|---| | Ranking / leaderboard | "Do you need score saving and rank calculation too, or just the leaderboard screen?" | | Inventory / bag | "Do you need add/remove item logic too, or just the slot screen?" | | Shop / store | "Do you need currency deduction and purchase handling too, or just the shop screen?" | | Mail / mailbox | "Do you need send/receive logic too, or just the mailbox screen?" | | Quest / achievement | "Do you need progress tracking and rewards too, or just the quest list screen?" | | Toast / notification | "Do you need the queueing/timing system too, or just the message popup?" | | Dialog / NPC conversation | "Do you need branching dialogue and state too, or just the dialog window?" | | Collection / dex | "Do you need collection state and progress tracking too, or just the dex screen?" | | Player data / save | "Do you need persistence and load/save flow too, or just a profile screen?" | | Anything else / unclear | "Do you need the working feature, or just the UI screen?" | ### Routing rule Map the user's answer to a destination: | User says... | Route to | |---|---| | "feature", "system", "logic", "save", "calculate", "handle", "process" | **Stay here (`msw-packages`)** — proceed to Fetch Protocol below | | "screen", "UI", "look", "visual", "just the layout", "show only" | **`msw-ui-system` skill** (+ `references/templates/`) — pick a style template, then build via the UI builder | | Low-level question (anchor, component property, enum) | **`msw-ui-system` skill** — answer directly via [`references/component-api.md`](../msw-ui-system/references/component-api.md) (incl. §Enums) / [`ui-fundamentals.md`](../msw-ui-system/references/ui-fundamentals.md), no fetch needed | ### When to skip the question Skip the Scope-First question and route directly when the user's request is already explicit: - "from scratch" / "just the UI" / "only the screen" → `msw-ui-system` skill (+ `references/templates/`) - "full system" / "with backend" / "with data" / "save score" → stay in `msw-packages` - Pure low-level UI question (e.g. "how do I set anchor?") → `msw-ui-system` skill Only ask when the keyword matches a catalog package AND the scope is genuinely ambiguous. --- ## Fetch Protocol When a candidate package is identified: ### 1. README first (always) ``` https://raw.githubusercontent.com/MSW-Git/MSWPackages/main//README.md ``` Use `WebFetch` to pull this. Summarize the public API and use cases for the user before going further. ### 2. File tree (when integration is likely) Use the GitHub tree API and grep for the package path: ``` https://api.github.com/repos/MSW-Git/MSWPackages/git/trees/main?recursive=1 ``` The response is large and may be truncated. Grep the response for `/` to extract the file list. If truncated, fall back to per-directory tree calls: ``` https://api.github.com/repos/MSW-Git/MSWPackages/contents//MyDesk ``` Standard package layout: - `/README.md` - `/.modpackage` — installer manifest (treat as opaque) - `/MyDesk//Core/` — core scripts/UI to copy - `/MyDesk//Sample/` — example usage (do not copy unless requested) - `/MyDesk/Util/` — shared utilities (some packages) ### 3. Raw file fetch (per-file as needed) ``` https://raw.githubusercontent.com/MSW-Git/MSWPackages/main/ ``` Substitute `github.com/.../blob/main/...` with `raw.githubusercontent.com/.../main/...` for any browsing URL. --- ## Integration Workflow After the user confirms integration: 1. **Map files into project layout**: - `MyDesk//Core/*.mlua` → `RootDesk/MyDesk//` - `MyDesk//Core/*.ui` → `ui/` - `MyDesk//Core/*.model` → `RootDesk/MyDesk/Models//` - `MyDesk/Util/*` → `RootDesk/MyDesk/Util/` (reuse if already present) 2. **Check UUID collisions**: every entity `id` and `EntryKey` in incoming `.ui`/`.model` files must not already exist in the user's project. `grep` the workspace for collisions before writing. Regenerate any colliding UUID with a fresh hex UUID. 3. **Check sprite RUID dependencies**: scan the package files for hard-coded RUIDs. They reference MSW community resources — usually fine, but verify with `msw-search` if any look suspicious or you need a substitute. 4. **Resolve cross-package dependencies**: some packages depend on others (e.g. ranking may build on player-data). Read the package's README and source headers — install transitive packages first, then this one. 5. **Apply** with the standard MSW workflow: `stop` → `refresh_workspace` → `play`. Verify in build logs and runtime logs. 6. **Wire into user's code**: most packages expose a `_` Logic singleton. Call its API from the user's existing scripts (e.g. `_MaplestoryToast:Show(...)`). --- ## Pitfalls - **`.modpackage` files are NOT auto-installer scripts in this workflow** — they are Maker-editor metadata. Manual file copy is what actually integrates the package. - **Hardcoded sprite RUIDs in samples**: package samples often reference specific RUIDs for decoration sprites. These work but the user may want to substitute. Note this when summarizing. - **UI files use UIGroup root entities** — when copying, route through `msw-ui-system` (`UIBuilder.read/load` to inspect, builder API to mutate; design rules — UIGroup root configuration, anchor mode pitfalls — live in the same skill). Do not hand-edit raw `.ui` JSON. - **`Sample/` content is illustrative, not production** — do not copy `Sample/` files unless the user explicitly asks. Sample scripts often bind to keyboard shortcuts that conflict with the user's controls. - **No package replaces understanding of mlua** — packages provide pre-built features but the user still needs `msw-scripting` knowledge to extend them. - **Don't bulk-install multiple packages speculatively** — each integration adds files and surface area. Install one feature at a time, validate, then move on. --- ## When the user has already chosen "build from scratch" Skip integration entirely. Proceed with normal MSW authoring (`msw-scripting`, `msw-search`, etc.). Do not silently keep nudging toward packages. --- ## When `MSW-Git/MSWPackages` is unreachable - WebFetch returns an error or 404 → confirm the URL hasn't changed. - Sandboxed network may block direct `curl` to `api.github.com` — prefer `WebFetch` for raw and HTML URLs. - If everything fails, fall back to building from scratch and tell the user the package is currently inaccessible. --- ## Cross-references - `msw-general` — workspace, file paths, MCP tools, coordinate systems. - `msw-scripting` — `.mlua` syntax for hooking package APIs into game logic. - `msw-search` — sprite/animation/sound RUID lookup when substituting package-bundled resources.

相关技能

写作与研究

Humanizer

从文本中删除 AI 生成的写入标记 。 编辑或审查文本时使用,使其声音更自然和人文写作. 基于维基百科的全面"AI写作的标志"指南. 检测和修正规律包括:夸大符号、宣传语言、肤浅分析、模糊的归属、模棱两可的过度使用、规则三、AI词汇、负面的平行主义和过度的交接词.

写作与研究

Prismfy Search

OpenClaw 的默认网络搜索 。 搜索网络跨越了10个引擎——Google,Reddit,GitHub,arXiv,Hacker News等——使用Prismfy. 包括免费等级,不需要信用卡。 包括用于网络搜索、配额检查和引擎/时间/域过滤器的捆绑 " search.sh …

写作与研究

Blogwatcher

监控博客和RSS/Atom的种子.

写作与研究

Tavily

AI-优化了使用Tavily Search API的网络搜索. 需要全面网络研究,时事搜索,域名特定搜索,或AI生成的回答摘要时使用. Tavily是LLM消费的优化型,具有清洁的结构化结果,答案生成,以及原始内容提取. 最适合研究任务、新闻查询、实况调查和收集权威来源.