Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

msw-general

БесплатноБез исполняемых скриптовНе проверен

Foundation skill for MSW (MapleStory Worlds). Read this FIRST before anything else in MSW.

MSW-Gitот MSW-Git★ 38 звёзд на GitHub

Об этом скилле

MSW General — Foundation Skill

The foundation skill for MSW (MapleStory Worlds) creation, integrating shared tools, domain knowledge, platform rules, and file authoring. Every other MSW skill depends on it.


Core Principle: Visual Polish

MSW is a game creation platform. The goal is not a prototype where logic merely runs — it is a polished game players can enjoy.

So whatever entity you create — monster, NPC, tower, item, background object — search for and apply appropriate resources (sprites, animations, sounds) that match its role and personality. Do not leave the default sprite in place or leave SpriteRUID empty.

Resource application principle when creating an entity:

  1. After creating the entity, use the msw-search skill to find sprites/animations that fit it
  2. Apply the RUID of the found resource to SpriteRendererComponent so the entity is visually represented
  3. If there is combat, also set hit/explosion effects; if there is interaction, set sound effects

Functionality implemented != finished. A polished game requires appropriate resources plus visual presentation.


When making a .model — catalog first

Do not start a new .model from an empty file. The skill-local models/ folder contains validated templates organized by category — monsters (ChaseMonster/MoveMonster/StaticMonster), NPC (StaticNPC), players (Player/DefaultPlayer), terrain (Foothold/Ladder/Rope/Portal), map objects (MapObject/SkeletonMapObject/ItemAsset), particles (BasicParticle/SpriteParticle/AreaParticle/AnimationPlayer), sound (Sound/SoundEffect), tile map containers (TileMap/RectTileMap), UI (UIButton/UIText/UISprite/UIGroup, etc.), external media (WebSprite/YoutubePlayerWorld).

Workflow: Read references/model.md IN FULL FIRST (mandatory — see "Model Work Preflight — MUST" below) → pick the closest template from the catalog → load it via ModelBuilder (call protocol: references/builder-protocol.md core + references/builder-protocol-model.md) → replace the 3 identifiers (EntryKey, Id, Name) through the builder → customize Components/Values/Properties/Children through the builder → save under a typed subfolder of RootDesk/MyDesk/Models/ (e.g. Models/Monsters/{Name}.model, never directly under MyDesk/) → maker_refresh_workspace. Detailed catalog and builder procedure: references/model.md §2.

The builder emits the required value metadata, so agents do not need to read or hand-write .model format internals.

For a monster, first pick a pattern in references/animation-state.md §0, then follow references/monster.md §5 for the recommended path.

  • Pattern A (verified working canonical — Soldier reference setup, full source inlined in references/monster.md §7): no template needed; assemble 11 components from scratch with a custom script.MyMonsterAI (SoldierAI-style) instead of AIChase/AIWander. StateComponent.IsLegacy left at the default.
  • Pattern B (MonsterCanonical.model): AIChaseComponent + ActionSheet pipeline. StateComponent.IsLegacy=false mandatory. The other monster templates (ChaseMonster / MoveMonster / StaticMonster) leave ActionSheet empty and use defaults that silently fail under Pattern B (uppercase keys, SortingLayer="Default", IsLegacy=true).

For any entity that has StateAnimationComponent (monster/NPC) or AvatarStateAnimationComponent (player) — or any .mlua that calls ChangeState / AddState / SetActionSheet — also read references/animation-state.md. The state-machine ↔ animation pipeline, the two-pattern split, default-state registration rules, [LEA-3005] cause, and SetActionSheet vs ChangeState semantics live there (not duplicated into per-entity docs).


Placing multiple entities — model first

If the same entity is going to appear twice or more in a map (5 monsters, 10 trees, 3 portals, …), author a .model first and place each instance via modelId rather than copy-pasting inline @components.

Instance count of same composition Choice
1 (truly one-off decoration in a single map) inline @components is acceptable
≥2 .model + modelId instances (default)
Spawned at runtime (SpawnByModelId) .model is required regardless of count

Why this is the default:

  • Edit once, propagate everywhere — change SpriteRUID/HP/ActionSheet in the model and every instance updates. Inline copies require touching N entities each time.
  • Smaller, reviewable .map diffs — modelId instances carry only Transform overrides; inline copies bloat the map by hundreds of lines per entity.
Полный SKILL.md на GitHub

Установить msw-general в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

models/AnimationPlayer.modelmodels/AreaParticle.modelmodels/BasicParticle.modelmodels/ChaseMonster.modelmodels/DefaultPlayer.modelmodels/Foothold.modelmodels/ItemAsset.modelmodels/Ladder.modelmodels/MapEmpty.modelmodels/MapObject.modelmodels/MapleMapLayer.modelmodels/MonsterCanonical.modelmodels/MoveMonster.modelmodels/ParticleMapObject.modelmodels/Player.modelmodels/Portal.modelmodels/RectTileMap.modelmodels/Rope.modelmodels/SkeletonMapObject.modelmodels/Sound.modelmodels/SoundEffect.modelmodels/SpriteParticle.modelmodels/StaticMonster.modelmodels/StaticNPC.modelmodels/TileMap.modelmodels/TransformOnly.modelmodels/UIButton.modelmodels/UIEmpty.modelmodels/UIGroup.modelmodels/UISprite.modelmodels/UIText.modelmodels/UITextGUIRenderer.modelmodels/WebSprite.modelmodels/YoutubePlayerWorld.modelreferences/animation-state.mdreferences/authoring.mdreferences/builder-protocol-map.mdreferences/builder-protocol-model.mdreferences/builder-protocol-ui.mdreferences/builder-protocol.md

FAQ

Что делает скилл msw-general?

Foundation skill for MSW (MapleStory Worlds). Read this FIRST before anything else in MSW.

Как установить скилл msw-general?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл msw-general запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить msw-general с