Skip to content
Back to skills

Gum Shared Source

ASecurity

FRB vs MonoGameGum source-sharing model — same .cs files, separate .csproj, and where the two diverge. Triggers: Compile Include Gum, GumRuntime, MonoGameGum, Cursor, shared source file missing on FRB side.

  • 583 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 7, 2026
toolsgoapi

Works with

  • cursor
  • api

Security analysis

A100/100

Scanned November 7, 2026

npx -y skills add vchelaru/FlatRedBall --skill gum-shared-source --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Gum Shared Source?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Gum Shared Source
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vchelaru-gum-shared-source/badge)](https://www.skillsdirectory.com/skills/vchelaru-gum-shared-source)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: gum-shared-source
description: FRB vs MonoGameGum source-sharing model — same .cs files, separate .csproj, and where the two diverge. Triggers: Compile Include Gum, GumRuntime, MonoGameGum, Cursor, shared source file missing on FRB side.
---

# Gum Shared Source (FRB vs MonoGameGum)

MonoGameGum (in the sibling [[gum-integration]] repo) is the primary, more widely-used consumer of Gum's runtime. FRB reuses the bulk of that same source (roughly 80-90%) rather than forking it, but the two have **separate `.csproj` files** — there is no shared project file. FRB's projects pull individual Gum source files in directly via `<Compile Include>` with a relative path into the sibling repo (e.g. `GumPlugin.csproj` includes `..\..\..\..\..\Gum\GumRuntime\BbCodeParser.cs`), alongside plain `<ProjectReference>`s to fully-shared sub-libraries like `GumCommon`/`GumCore`.

**Gotcha: a new/renamed file in Gum's source does not automatically appear on the FRB side.** Since FRB's `.csproj` lists individual files rather than referencing the folder, adding a file in `MonoGameGum`/`GumRuntime` requires also adding a matching `<Compile Include>` line in the FRB-side `.csproj` (`GumPlugin.csproj`, `FlatRedBall.Forms.*.csproj`, etc.) or it silently won't compile in.

**Gotcha: not everything is shared — some types are FRB's own, same-named or not.** The flagship example is `Cursor`: MonoGameGum has its own `MonoGameGum.Input.Cursor`, but FRB doesn't use it — FRB has its own, older `FlatRedBall.Gui.Cursor` (`Engines\FlatRedBallXNA\FlatRedBall\Gui\Cursor.cs`), bridged to Gum via extension methods (`CursorExtensions.cs`, e.g. `XRespectingGumZoomAndBounds`) instead of sharing the type. Before assuming a Gum API applies on the FRB side, check which repo/namespace it actually lives in.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.