agentleFS
blushneybusiness-glitchblushneybusiness-glitch/roblox-omniskills/skills/rbx-controls/SKILL.md

rbx-controls

Skill0 starsChanged 3 months agoMITView on GitHub

Domain router for camera and input — triages camera rigs, cutscene cameras, shake, and keyboard/touch/gamepad bindings so control feel matches top games on every device. Use when the user says "make it first person", "over-the-shoulder camera", "lock the camera", "screen shake", "add a sprint key", "mobile buttons", "controller support", or when the camera fights the player, clips through walls, or the game is unplayable on phones. Do not use for vehicles or character physics — load `rbx-physics` — or for the visual layout of on-screen buttons — load `rbx-ui` for visuals; the bindings stay here.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Every new action binds all three input classes on day one: keyboard, touch, gamepad.

    line 51
  2. Very specific:

    All shake routes through one trauma system per rbx-camera-shake.

    line 57

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

rbx-controls — domain router

Camera and input are one domain because they fail together: a custom camera without matching input remaps is unplayable, and a new action without a camera answer feels dead. Route both halves of every request.

Triage

  • AI-DIRECT — the entire domain: camera rigs, shake, bindings, mobile and gamepad adaptation are pure LocalScript work, done fully in-session.
  • HYBRID — none. If a request drags in a sourced asset (a vehicle body, a button sprite), that part routes to rbx-assets or rbx-ui-imagery; the control code stays here.
  • HANDOFF — none. No dashboard or auth step lives in this domain.

Routing

Request smells likeLoad
First/third person, over-shoulder, top-down, locked camerarbx-camera-controllers
Cutscene camera path, focus pull, letterboxingrbx-camera-cutscene (+ rbx-anim-cutscenes when actors move — don't ask, include it)
Screen shake, impact kick, recoil punchrbx-camera-shake (+ rbx-juice-screenfx — don't ask, include it)
Sprint key, ability hotkeys, interact prompt, rebindingrbx-input-bindings (+ rbx-input-mobile — don't ask, include it)
Virtual joystick, touch buttons, gesturesrbx-input-mobile (+ rbx-ui-mobile for touch-target sizing — don't ask, include it)
Controller support, console, gamepad UI navigationrbx-input-gamepad
Camera while driving, drift camerarbx-vehicles-tuning — that domain owns driving feel
"Camera clips through walls", zoom fights the playerrbx-camera-controllers (+ rbx-script-debug after two failed hypotheses)

A request that names a device ("on mobile it's broken") loads the device subskill plus the subskill that owns the broken feature — never the device one alone.

Defaults (ship without being asked)

  • Every new action binds all three input classes on day one: keyboard, touch, gamepad. Keyboard-only bindings are a bug, not a first pass.
  • ContextActionService over raw UserInputService for gameplay actions — it stacks, unbinds cleanly, and creates mobile buttons for free; rbx-input-mobile then positions and sizes them.
  • Camera scripts set CameraType to Scriptable only for the moments they own and always hand control back — a player stuck in a dead camera is a session killer.
  • All shake routes through one trauma system per rbx-camera-shake; never stack raw CFrame offsets from multiple scripts.
  • Cutscene cameras and shake respect a reduced-motion setting when the game offers one — wire the toggle via rbx-ui-settings, rationale in rbx-accessibility.

Shared law

mcp-tools · luau-contract · quality-bars

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.