Frb user question triage

From vchelaru/FlatRedBall · View interactive version

Frb user question triage is an AI agent skill from the GitHub repository vchelaru/FlatRedBall. Answering Discord/GitHub user questions about FlatRedBall — search skills→docs→code, cite the docs URL, propose a doc/API fix with confidence, gate edits on approval. Triggers: pasted user question, "how do I", GitHub issue triage, "answer this person".

How to use this skill

Skill file

Answering User Questions

Use when the user pastes a question from someone (Discord text, a GitHub issue, a #N reference) or asks you to help answer a person. Goal: a short reply they can paste back, grounded in a citable docs URL, plus a fix suggestion when docs or the API fall short.

1. Classify First

For a GitHub issue, read both gh issue view <num> and gh issue view <num> --comments before deciding — comments often reclassify the ask.

Then decide the surface. Unlike Gum, FRB docs aren't a clean tool-vs-code binary — there are several:

| Surface | Docs path | Covers |

|---|---|---|

| Glue / FRB Editor | glue-reference/ | The editor itself — menus, properties, project management, live edit |

| Engine + Forms code | api/flatredball/, api/flatredball-forms/ | Runtime C# APIs |

| Glue plugin/codegen APIs | api/glue-plugin-api/, api/glue-runtime-api/, api/gluecontrol/ | Writing Glue plugins, generated-code hooks |

| Gum integration in FRB | gum/ | Using Gum UI from FRB (adding components to entities/screens, layers) — not Gum's own docs |

| Other plugins | tiled-plugin/, spine/, aseprite/, glue-gluevault-component-pages-animationeditor-plugin/ | Plugin-specific tool + code usage, mixed |

| Tutorials | tutorials/ | Walkthroughs (Beefball, Platformer) |

Tool cues: "in Glue"/"in the editor", a tab/menu/property name, a screenshot. Code cues: C#, a class/method/namespace name, "in code". Community and docs use "Glue", "FRB Editor", and "FlatRedBall Editor" interchangeably — don't treat them as different things.

2. Where to Look: skills orient, docs cite, code confirms

If a skill or code answers the "why" but no doc does, that's a docs-gap signal (outcome C below).

3. The Four Outcomes

| Found | Outcome |

|---|---|

| A. Clear doc answer | Answer the user, prepend the docs URL. Done. |

| B. Weak doc answer (correct but confusing, buried, missing a gotcha) | Answer + propose a doc improvement. |

| C. Answer only in code, docs missing | Answer from code + propose where in FlatRedBallDocs it should be documented. |

| D. Code is the problem (confusing/contradictory names, missing or broken feature) | Answer honestly + propose an API fix. Most likely to become an issue. |

4. Always Produce

  1. A paste-able reply — a quick message a busy human types in Discord, not a document. Lead with the answer, keep it to a few plain sentences, include the docs URL when one exists. Point to Discord or a GitHub issue only when genuinely useful.
  1. Confidence + justification for any doc/API fix (rubric below).
  2. An issue — only for outcomes C/D, and only after the user agrees. Then gh issue create, per CLAUDE.md's "Orchestration preferences" (issue/branch/PR conventions already documented there — don't duplicate).

Confidence Rubric

Approval Gate

Propose first, act after sign-off. Do not edit FlatRedBallDocs, change code, or run gh issue create until the user agrees.

Building the Docs URL

Don't fetch docs.flatredball.com to look something up or verify a page — the live GitBook site is hard for an agent to navigate reliably (redirects, JS-rendered nav). Read the markdown source directly in the sibling ..\FlatRedBallDocs repo, then construct the citation URL by pattern — no fetch needed to confirm it's right.

Published base: https://docs.flatredball.com/flatredball/. Path mirrors the FlatRedBallDocs repo tree (drop .md):

Landmine: https://docs.flatredball.com/gum/ is a different GitBook space entirely — Gum's own docs (its docs/ folder, in the Gum repo). This repo's own gum/ folder (FRB-side "how to use Gum from FlatRedBall") publishes under .../flatredball/gum/, not .../gum/. Don't cite one when you mean the other — a question about e.g. AttachToContainer or per-Screen Gum wiring belongs to flatredball/gum/; a question about Gum layout/state/binding itself belongs to the separate gum/ space (see [[gum-integration]] for the boundary between the two codebases).

Pointers

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.