/msw-maker-base-skill:msw-planningfrom msw-maker-base-skill
Guides MSW (MapleStory Worlds) game planning from idea to implementation-ready GDD/roadmap. Narrows concepts via guided questions and a genre catalog, then manages phased builds with milestone tracking.
Ships in msw-maker-base-skill. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
When the user is at the "I want to make a game like this" stage, turn it into what to build + how to build it in MSW: a guided session produces a GDD/roadmap, then the skill guides the phased build — detailed Phase plans, progress tracking, and plan revisions — until each milestone's build is ready to enter full implementation. Someone who doesn't know game design can just follow the questions; for those who do, it documents decisions fast.
references/genre-catalog.md to get a feasible plan. Planning from generic game knowledge alone leads to designs MSW can't realize.references/gdd-template.md) as markdown, so the implementation skills can pick it up and carry it to an MVP.Docs/<game>-Roadmap.md: a future-milestone slot, or its For later list when the timing is unknown — 나중에 할 일 in Korean, in docs and chat), and never parked in the GDD. One home, no duplication: the roadmap owns everything beyond the current milestone; the GDD owns everything inside it.AskUserQuestion), so the user clicks an option instead of typing a free-text reply. Mark the recommended option but don't force it; if the agent has no such UI, fall back to a clearly enumerated prose choice. Design-shaping gates additionally open the web decision sheet (STEP 5 Web views) so the user sees what each option actually builds before choosing.A build spans multiple sessions and milestones — each milestone is one GDD. Where things live (all project-root, outside RootDesk, to survive maker_refresh_workspace):
Docs/.Docs/<game>-Roadmap.md → the game's standing milestone roadmap (vision · release criteria · one slot per milestone · For later list): the cross-milestone direction, created with the M1 GDD, permanent (never archived). It is not a GDD — the active milestone's contract stays in its -M<n>-GDD.md.Archive/ (on milestone completion).Archive/As-built.md → the world's running implementation record: a curated current-state map kept by the skill, an AI / handoff reference, not a user-facing planning doc (maintained by the references/build-management.md cleanups; seeded via Brownfield below).Before running the flow below, detect the plan files — check both Docs/ and Archive/ for a <game>-M<n>-GDD.md:
Docs/ / Archive/) — a directory-level listing that returns everything in them (e.g. the agent's file-lister / Glob with Docs/*) — then match names ending in -GDD.md / -Phase<N>.md yourself, from that listing. Do not detect via a narrowed pattern or content search (a *-GDD.md glob or grep is case-sensitive + scope-fragile: *.md is top-level only, docs/ ≠ Docs/ — a miss silently reads as "no GDD"), and not from memory.Docs/ + Archive/ listings.Archive/As-built.md exists, read it first for the current-state map; if Docs/<game>-Roadmap.md exists, read it alongside for the cross-milestone direction (never mistake it for the active GDD).Gating rule — a "continue" / "next task" / resume request only acts when a plan exists in Docs/ or Archive/ (a <game>-M<n>-GDD.md / <game>-M<n>-Phase<k>.md, or a prior milestone + Archive/As-built.md). If nothing exists in either, the request must not be treated as a resume and must not auto-start the STEP 1 questionnaire — instead: if the request is a continue / "what next" intent, or the user says they're building on their own existing work (not a fresh template start), go to Brownfield below; otherwise (a new-game or unclear intent) tell the user there's no saved plan and ask whether to start a new game (then STEP 1). Don't infer brownfield from workspace files — templates ship samples, so a non-empty workspace is not evidence of prior work.
If a GDD exists, judge how much is actually done from the GDD / Phase-doc task states (⬜/🟡/✅) — NOT from workspace files (templates ship with .mlua/.model/.ui, so file presence is not a reliable progress signal). Then branch:
⬜ (a plan with zero progress) AND it is the game's first milestone — no same-<game> GDD in Archive/ and the GDD's number is M1. (Check this before offering: an archived prior milestone, or an M2+ number on the current GDD, is by itself proof that this world already contains built work — the zero-progress plan merely sits on top of it → that is the 🟡/✅ case below, not this one.) → offer a selectable choice (see Core principles): ① continue this plan ([game]) / ② discard it and plan a new game. If they choose discard, first state exactly which files will be removed — Docs/<game>-M<n>-GDD.md, that game's Docs/<game>-M<n>-Phase<k>.md, and that game's Docs/<game>-Roadmap.md (it was created with the M1 GDD, so it is discarded with it — leaving it behind would feed the discarded game's direction into the next planning session) — only those — delete them, then start fresh from STEP 1.🟡 or ✅ — or the GDD is all-⬜ but a prior milestone of this game exists (same-<game> GDD in Archive/, or an M2+ number) — i.e., there is in-progress or already-built implementation in this world → do NOT discard and do NOT plan a new game here. Inform the user that this world already has a prototype underway, and that a genuinely new game must be built in a new world — this skill cannot create a world, so the user creates one and runs the skill there — then stop. (If they actually meant to continue this one, resume instead. Reworking a zero-progress next-milestone plan is a plan revision on top of Archive/As-built.md — still this game, never a new one.)🟡/✅ case (don't discard, don't build over).To resume an existing plan:
Docs/<game>-M<n>-GDD.md (+ every Docs/<game>-M<n>-Phase<k>.md present — several can coexist while earlier Phases await user tests, and their checklists may hold states §6 doesn't have yet; + Docs/<game>-Roadmap.md for the cross-milestone context). Do not re-run STEP 1–4; the plan already exists.Stage line + roadmap ⬜/🟡/✅, any 🟡 Implemented (untested) items (flag these for re-test / user confirmation), and recent §9 Plan changes.references/build-management.md in full now (see the hard gate under STEP 6) — resuming is the read-chain's weakest point, because the docs were written by past sessions. While reading the docs, also modernize stale AI notes: if a Docs/ GDD/Phase doc's header AI-note predates the current templates (e.g. it lacks the build-management pointer that references/gdd-template.md now embeds), update that note line to the current template text as part of reconciling — old docs must not keep steering future sessions down an outdated read-chain.Docs/ has no GDD but Archive/ has a completed one (+ Archive/As-built.md), the previous milestone finished. Confirm whether to start a next milestone — a new GDD in Docs/ (<game>-M<n+1>-GDD.md, next number per STEP 5), planned on top of the milestone roadmap's next slot (+ its For later list) and Archive/As-built.md — rather than assuming a brand-new game. (Before writing it, reconcile the record against the workspace — see Reconcile before a next milestone below. Writing the new GDD promotes that roadmap slot: its one-line theme expands into the GDD; the roadmap keeps only the one-liner.)✅ (its stage cleanup) — the GDD roadmap is then its record. So the docs still in Docs/ are the current Phase plus any earlier Phase parked at a ⏳ user-test boundary (items still 🟡, awaiting the user's test), and several can legitimately coexist. A leftover doc whose items are all ✅ is the one case that signals a missed cleanup.Docs/ files are the source of truth across sessions: the previous session's chat context does not carry over, so anything not written into the GDD/Phase docs is lost (which is why decisions and states are recorded there).No GDD in Docs/ nor Archive/ → before anything else, classify the workspace, then decide — mandatory, including for an explicit "new game" request: never jump straight to STEP 1 without first checking what's already built here. (Brownfield = continuing the user's own already-built world; it is user-driven, never inferred from raw file presence — but the classification itself is not optional.) When real work exists, surface it; how prominently to offer brownfield is then decided by the user's intent (below), not the workspace.
A non-empty workspace is not a brownfield signal — a fresh template already ships scaffolding. Treat known starter items as zero progress (a known set, not exhaustive — template versions change and other templates differ; this is "things known to be scaffolding," not a complete manifest): tile dataset RectTileData_Henesys; @Logic UIPopup, UIToast; @Component Monster, MonsterAttack, PlayerAttack, PlayerHit; the template monster-AI FSM sample — StateComponent scripts StateChaseMonster / StateMoveMonster / StateTypeChase / StateTypeWander, condition scripts ConditionHasTarget / ConditionIsAlive / ConditionIsDead / ConditionNoTarget, the .statesets StateSetChaseMonsterAI / StateSetMoveMonsterAI, and the Global/ monster models ChaseMonster / MoveMonster (all shipped by the template into RootDesk/MyDesk/ + Global/ and wired into the *Template maps — their presence is not user-built monster AI); plus the always-present Global/ defaults — DefaultPlayer, WorldConfig, the starter map.
When brownfield is chosen, don't plan in a vacuum — light structural survey (map/ + RootDesk/MyDesk/ — systems · models · datasets · UI; structure only, not a line-by-line code read; deep inspection is msw-general's job), present "here's what I see already built — correct?" with ⚠️confirm, then seed Archive/As-built.md and plan the first milestone on top of the existing world (the milestone roadmap is created with that milestone's GDD as usual — STEP 5).
Reconcile before a next milestone — when planning a new milestone on top of Archive/ records (arrived from startup, or just after completing one): Archive/As-built.md (or a legacy handoff note) is a starting hint, not ground truth — work may have happened in other sessions / manual edits without updating it. Before writing the new GDD, run the same light structural survey as Brownfield above, but to verify the record (not discover from scratch): check the area the new milestone will touch — plus a quick scan for obviously-untracked major systems — against what the record claims. If it has drifted, surface it and reconcile with the user first, update Archive/As-built.md to match reality, then plan on top. This stops a whole GDD being written on a stale premise and the drift only surfacing mid-implementation.
Don't re-ask what the user already gave; batch only the gaps:
Batch into ~5 questions — ask what the plan actually needs, but don't stretch the batch past it (this is the user's one big touchpoint). Two shaping notes: "must-haves / cuttable" usually works better as an inputs free-text field (e.g. a "must have / can drop" box) than as a multiSelect question — it's a wish list, not a fork; and if the batch exceeds what the chat's picker takes in one call (commonly 4), ask the rest in a follow-up call as soon as the first ones are answered — every question you put on the sheet must actually be asked (STEP 5 Web views). If the user says "you decide," proceed with reasonable defaults but state the assumptions. Open these questions in the web decision sheet too (STEP 5 Web views) — this is where the user knows least, so "what does picking this actually build, and what does it postpone" carries the most weight; the sheet must mirror this batch exactly (the chat picker may then walk the user through them one step at a time — the sheet has a per-question copy for exactly that).
Read references/genre-catalog.md and:
MVP: slice hint (the smallest playable slice — seed for the scoped-down first build and STEP 4's Phase 1) and Growth: axes (what a finished core typically adds next — feeds later Phases and future milestones). Adapt them to the user's idea; they are hints, not fixed specs.build-effort hint (Low/Medium/High) and gauge the user's ambition. If it's High-effort or the user is asking for a lot at once, say so plainly and propose a scoped-down first build (one map · core loop only — start from the genre's MVP: hint) that keeps the same fun, with the rest going to later Phases or the milestone roadmap — regardless of genre.Always get the direction confirmed by the user before writing the GDD. Briefly show the grounding result and don't jump straight to the GDD — genre and map type decide the whole stack, so if you write the entire GDD on a wrong choice you have to redo all of it.
Present briefly and ask the user:
KinematicbodyComponent) + build-effort hint (Low/Medium/High) + one-line concept.references/msw-mapping.md). Getting it wrong causes "doesn't move" / [LEA-3004] silent failures in implementation. It is applied at setup by building in a map that already has this type if one exists (e.g., a per-type template); otherwise the user sets it in Maker. The AI never switches a map's type itself (see STEP 5).In the direction the user confirmed in STEP 3, write markdown in the references/gdd-template.md structure:
one-line concept / key-decisions table / core loop / core systems / system↔MSW mapping / Phase roadmap checklist / milestone-scoped decisions.
references/msw-mapping.md to connect each system to @Logic/@Component/.model/.ui/dataset (UserDataSet).MVP: hint (STEP 2) is the natural Phase 1 seed; its Growth: axes suggest the later Phases. Track each roadmap item with three states — ⬜ Not started / 🟡 Implemented (untested) / ✅ Tested (all start ⬜; state rules → references/build-management.md).✅. Polish / nice-to-have / later work goes to the milestone roadmap (Docs/<game>-Roadmap.md — a future-milestone slot, or its For later list) at planning time, never as a checklist item and never parked anywhere in the GDD (see Single home for "later"). Discriminator: would dropping it leave the full-implementation team a more incomplete base? → required (checklist); does production polish it anyway? → milestone roadmap.msw-general (see its references/dataset.md).⬜ behind). Verification limits don't shrink scope: a flow the AI can't verify alone (real-multiplayer matches, on-device feel, commerce) is still planned as tasks — they will simply end 🟡 needs-user-test — never silently left out because it can't be auto-verified. If the user agrees to exclude a claimed capability instead, reword §1 / the roadmap slot so the docs stop promising it.map/ listing), then inspect each; one map scanning clean is NOT evidence for the others. Don't assume fixed names — identify each map's samples by inspection (often *Template-named idle/move/chase monster samples, but names vary by template). They're useful early as AI-pattern references; actual deletion happens during implementation, via MapBuilder removing them from the .map. Unused template maps are handoff residue too: at handoff, ask the user whether to delete or keep each template map the game doesn't use (never delete unconfirmed) — and decide that before sample-cleaning them (don't clean a map about to be deleted); "every map clean" then applies to the maps that remain.Docs/ as Docs/<game>-M<n>-GDD.md — <game> is a short ASCII (English/romanized) slug (never the raw non-English title; CJK/non-ASCII filenames break globbing and cross-platform paths — e.g. MapleIdle-M1-GDD.md, not the raw CJK title) and <n> is the milestone number. Milestone number: the first milestone is M1; a later milestone takes (the numerically highest existing -M<n>-GDD.md across Docs/ + Archive/) + 1 — parse the number, don't sort lexically (so M9 → M10, not M2). The doc's content stays in the user's language; only the filename is ASCII. Phase docs inherit the same <game>-M<n>- prefix (STEP 6). Collect all planning deliverables (GDD · phase detail plans) here. Create the folder if missing. Kept as a file, the implementation skills can pick it up and carry it to an MVP.RootDesk/. Maker's maker_refresh_workspace cleans up (deletes) non-MSW files (.md etc.) under RootDesk/, so files there vanish when a refresh runs during implementation/playtesting. Always keep them outside RootDesk (project-root Docs/).Docs/<game>-Roadmap.md (no M<n> in the name; one per game; permanent, never archived). Follow the 'Milestone roadmap template' in references/gdd-template.md: one-line vision + release criteria (what must be true to call the game releasable — criteria, not a feature dump), one slot per milestone (M1 = pointer to the active GDD; future M's = one-line theme + assigned features), and a For later list for wanted-but-unslotted items. Sort everything STEP 2–3 cut from the first build (Growth axes · trimmed features · the user's "later" wishes) into a future slot or the For later list. Scale it to the game: a single-milestone game's roadmap is a few lines (M1 = release). For a later milestone (M2+), don't create anew — update the existing roadmap (promote that slot).assets/msw-decision-sheet.html) plus a packer (assets/build-status-data.cjs) that deploys it and serves it locally. All web artifacts live under Docs/web/ — never the project root, never RootDesk/. When your system prompt has a section beginning msw-decision-pane is active, follow references/decision-sheet.md §2 ⓪ Native pane instead.
Docs/web/decision-data.json or running the packer, Read references/decision-sheet.md IN FULL — it carries the data schema, how to open the view in your agent (native pane, in-app browser pane, or OS browser per shell), the rules that keep the sheet and the chat from drifting, the paste shapes to expect, and the failure states. Authoring a gate from memory is how the two drift apart.decision-data.json is yours to write (fresh per gate, never hand-edited afterwards, and never read back as planning input — markdown stays the single source of truth); the answer always arrives as a chat message (the person pastes it from the browser sheet; the native pane sends it itself); and the flow must never block when a browser can't open.Docs/web/decision-data.json, or a reopened sheet invites a second answer to a decided question.msw-ui-system; to build right away, start implementation with msw-general·msw-scripting. The default recommended flow is 'detail Phase 1 → implement.'TileMapMode already equals the decided type. At setup, check existing maps with MapBuilder.read().getTileMapMode(), then:
tile.md; the AI verifies with getTileMapMode() afterward).TileMapMode itself. (If built in a template, its sample *Template entities are removed later per the cleanup rule.)*Template-named map, plan a Phase 1 task to rename it to a game-appropriate ASCII name before real building starts — map references (sector registration · portals · GetEntityByPath paths · active-map) accumulate as Phases progress, so the rename is nearly free at Phase 1 and costly at handoff; and a game living in a *Template-named map pollutes the template-vs-game classification this skill itself relies on. Done-criteria: file renamed + every reference updated + refresh + entry verified. Mechanics belong to the implementation skills; if a reference lives in read-only config (Global/), that part is the user's Maker action — same policy as the TileMapMode switch.set_map <name> console command via maker_run_command (AI-doable, edit mode only) so entity/tile edits and screenshots land on the right map. (This is not the forbidden TileMapMode switch.) Don't skip silently — otherwise the work targets the wrong map.The base output (STEP 4) goes up to the full roadmap + per-Phase checklist. If the user wants the detailed plan for a specific Phase (e.g., "write the Phase 1 detailed plan," "break down stage 1"), generate an additional detailed-plan markdown that expands that Phase's checklist items in more depth.
references/msw-mapping.md) · data (UserDataSet) · UI · done (verification) criteria · dependencies · skills to reference (predicted — skill + its reference doc, references/msw-mapping.md §4). Also record, near the top of the Phase doc, a "Skills to reference (this Phase)" summary — the implementing session reads it first.⬜ Not started — not implemented yet.🟡 Implemented (untested) — implementation done, not yet verified.✅ Tested — implementation AND verification both done.references/gdd-template.md.Docs/<game>-M<n>-Phase<k>.md (same <game>-M<n>- prefix as the milestone's GDD — see STEP 5; <k> = phase number; project-root Docs/, outside RootDesk — avoids refresh deletion).references/build-management.mdThe full rules for executing the plan — task-state handling, Phase/milestone completion procedures, and mid-development plan revisions — live in references/build-management.md. Read it in full BEFORE implementing planned tasks, updating any checklist state, completing a Phase or milestone, or applying a plan revision (pure planning sessions don't need it). Hard gate: if you are about to edit any ⬜/🟡/✅ marker, run a Phase/milestone completion, or archive/delete a plan doc, and have NOT Read references/build-management.md in full THIS session — STOP and read it first. Having loaded this SKILL.md (or having read the reference in an earlier session) is not a substitute. Non-negotiable invariants, restated here because breaking them corrupts the record:
⬜ / 🟡 / ✅ ONLY, updated in the Phase doc immediately per task — never batched to the end, never only in an ephemeral tool, never with invented markers.⏳ user-test pending, never "complete" and never a self-invented label.references/genre-catalog.md — 3 map types · build-effort baseline · 71 genres (build-effort hint · recommended map type · core mechanics · per-genre MVP:/Growth: hint line) · ~180 mechanic tags. The heart of grounding — always read it in STEP 2.references/decision-sheet.md — the web decision sheet: data schema · how to open the view per agent/shell · sheet↔chat matching rules · the three paste shapes · failure states. Read in full before writing a gate's decision-data.json (not needed when no gate is being opened). Its card-picture kit, references/decision-scene-kit.md, is read only when the native pane is active.references/gdd-template.md — the GDD output structure + milestone-roadmap template (STEP 5) + per-phase detailed-plan template (STEP 6) + As-built log template.references/build-management.md — implementation-time rules: task-state handling · Phase/milestone completion cleanups · plan-revision flow. Read in full before implementing tasks or touching checklist states (not needed for pure planning).references/msw-mapping.md — map-type↔Body table + game-system → MSW component/skill mapping cheat sheet.assets/build-status-data.cjs (opens in a new tab)assets/msw-decision-sheet.html (opens in a new tab)hooks/hooks.json (opens in a new tab)hooks/picture.tsx (opens in a new tab)hooks/register.tsx (opens in a new tab)hooks/scene.ts (opens in a new tab)hooks/sheet.ts (opens in a new tab)hooks/status.ts (opens in a new tab)references/build-management.md (opens in a new tab)references/decision-scene-kit.md (opens in a new tab)references/decision-sheet.md (opens in a new tab)references/gdd-template.md (opens in a new tab)references/genre-catalog.md (opens in a new tab)references/msw-mapping.md (opens in a new tab)types/index.d.ts (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub msw-git/msw-ai-coding-plugins-official --plugin msw-maker-base-skill13 skills in this plugin
/msw-avatarMSW avatar management — costume (CostumeManagerComponent, 17 slots) + animation 3-layer pipeline (StateComponent → AvatarStateAnimationComponent → AvatarRendererComponent). Four-level distinction: State key (uppercase) / AvatarBodyActionStateName (lowercase) / MapleAvatarBodyActionState enum / sprite action ID (swingO1, shoot1). Two mapping systems via IsLegacy/ActionSheet/StateToAvatarBodyActionSheet. PlayerControllerComponent auto-transition conflicts with ActionStateChangedEvent resolved via RemoveActionSheet/SetActionSheet/BodyActionStateChangeEvent. Applies to any avatar-bearing entity (NPC, monster, etc.), not only DefaultPlayer. Use for costume get/set, 17 equip slots, animation state mapping, action override, weapon-specific attack motion, custom shoot/cast/dance action. Keywords: avatar, costume, animation, state, action, shoot, swing, weapon, equipment, custom action, block auto playback, remap./msw-behaviourtreeAuthors MSW `.behaviourtree` files end-to-end and maintains the project-specific authoring spec (`.behaviourDocs/bt-spec.md`). Scans every `.codeblock` whose paired `.mlua` extends `ActionNode`/`DecoratorNode`/`CompositeNode` to build a compact catalog of custom action/decorator/composite UUIDs, propertyKey names, and version-stamped MODNativeType strings. Then generates the full tree: RootNode → Nodes graph, Blackboard variables, nodeProperties wiring, and self-validates parent/child consistency. Triggers: 'create behaviourtree', 'new BT', 'add a behaviour tree', 'BT node graph', '비헤이비어 트리 만들어', '.behaviourtree 생성', 'SequenceNode SelectorNode', 'Blackboard variable', 'definitionId codeblock', 'startNodeId', 'build BT spec', 'refresh bt-spec', 'generate behaviourtree catalog', 'BT 스펙 생성', 'bt-spec.md 만들어', 'rescan BT nodes'./msw-combat-systemMSW combat system integration guide. Covers the Attack→Hit pipeline, damage model, i-frame, knockback, Hit Stop, Camera Shake, Sprite Flash, SFX, death/revive, damage skin, hit effect, avatar combat motion, custom events, and AI FSM — all based on MSW native APIs for 2D multi-genre coverage. Keywords: attack, hit, damage, combat, monster, hit effect, critical, projectile, damage skin, knockback, hit stop, combo, HP bar, collision, contact hit, TriggerComponent./msw-defaultplayerMSW DefaultPlayer (character) management. Use the msw-general ModelBuilder to inspect/patch DefaultPlayer.model and Player.model, add/remove components, configure movement speed / jump force / HP / camera, and per-map-mode movement components. Use for DefaultPlayer model, player components, movement speed, jump force, HP, camera, physics. Keywords: player, DefaultPlayer, speed, jump, HP, camera, gravity, revive, respawn, character./msw-generalFoundation skill for MSW (MapleStory Worlds). Read this FIRST before anything else in MSW./msw-packagesMSWPackages 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, object pool/entity reuse, custom behaviour tree composite nodes (shuffle/weighted random/switch)). 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.Other plugins' skills for the same job