roblox-luau-patterns SKILL.md skillA

roblox-luau-patterns from tabooharmony/roblox-brain is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add tabooharmony/roblox-brain/roblox-luau-patterns@git:20261015.62bdabd

Pins git:20261015.62bdabd in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
tabooharmony/roblox-brain
Path
skills/core/roblox-luau-patterns/SKILL.md
Versions recorded
5
Latest version
git:20261015.62bdabd, committed Oct 15, 2026
First version recorded
Sep 23, 2026
Size
3,169 bytes
Repository stars
117
License
MIT

Use when writing or refactoring Roblox Luau modules, object lifecycles, signals, task scheduling, pcall, and cleanup.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Luau Patterns

## When to Load

Load for module shapes, resource ownership, scheduling, and failure contracts. See `roblox-luau-core` for semantics, `roblox-luau-types` for types, `roblox-architecture` for startup.

## Quick Reference

### Choose a shape

- **Plain functions:** default for stateless transformation or validation.
- **Module with private state:** one explicit subsystem owner. Do not create a manager class merely to namespace functions.
- **Object with metatable:** multiple independent values need shared behavior and lifecycle.
- **Existing library abstraction:** follow it when the project already uses it consistently. Do not add Promise, signal, cleanup, or framework dependencies for one call site.

Constructors use `.`, instance methods use `:`, and mutable fields belong on the instance, not the class table.

### Make ownership visible

Signal connections, instances, and tasks need cleanup owners. Disconnect/cancel at teardown. Export typed custom signal payloads (`Signal<T...>`).

Configure before parenting to hide partial state. Parent earlier only when ancestry is required; explain why. This does not guarantee replication ordering.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add tabooharmony/roblox-brain/roblox-luau-patterns@sha256:b2e5dfd84a1105d5

The line at the top of this page pins the label git:20261015.62bdabd, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_r6qocr3j3zq2aeiv.svg)](https://markdownregistry.com/a/art_r6qocr3j3zq2aeiv)

5 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Sep 23, 2026 and Oct 15, 2026, about one every 5 days.

versioncommittedcommitsizeaudit
git:20261015.62bdabd latest2026-10-15 62bdabd 3,169 BA view · diff
git:20261015.be336832026-10-15 be33683 3,179 BA view · diff
git:20261015.28be4092026-10-15 28be409 2,991 BA view · diff
git:20261002.ab6d87c2026-10-02 ab6d87c 2,992 BA view · diff
git:20260923.88a4cf92026-09-23 88a4cf9 2,963 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (3169 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

tabooharmony/roblox-brain · 117 stars · license MIT · pushed 2026-10-15 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_r6qocr3j3zq2aeiv
GET https://markdownregistry.com/api/v1/resolve?ref=tabooharmony/roblox-brain/roblox-luau-patterns
GET https://markdownregistry.com/api/v1/blob/b2e5dfd84a1105d5636994937ec518d465f0183ebb19b6d1d19ce8571cdf2299

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from tabooharmony/roblox-brain

AGENTS.md AGENTS.md file
tabooharmony/roblox-brain · AGENTS.md
git:20261015.be33683 · audit A · 117 stars
roblox-architecture SKILL.md skill
tabooharmony/roblox-brain · skills/core/roblox-architecture/SKILL.md · Use when adding, moving, refactoring, or reviewing Roblox feature ownership, code layout, dependencies, startup, or…
git:20261015.62bdabd · audit A · 117 stars
roblox-collaboration-mode SKILL.md skill
tabooharmony/roblox-brain · skills/core/roblox-collaboration-mode/SKILL.md · Load FIRST for any Roblox task: build, change, fix, debug, review, audit, or plan. Sets initiative and which decisions…
git:20261015.f9f74c2 · audit A · 117 stars
roblox-data SKILL.md skill
tabooharmony/roblox-brain · skills/core/roblox-data/SKILL.md · Use when writing, changing, debugging, or auditing Roblox player saves: DataStore, ProfileStore, session locks…
git:20261015.62bdabd · audit A · 117 stars
roblox-luau-core SKILL.md skill
tabooharmony/roblox-brain · skills/core/roblox-luau-core/SKILL.md · Use when writing, editing, or debugging any Luau: tables, control flow, string patterns, scope, closures, and errors…
git:20261015.62bdabd · audit A · 117 stars
roblox-luau-types SKILL.md skill
tabooharmony/roblox-brain · skills/core/roblox-luau-types/SKILL.md · Use when adding or fixing Luau type annotations: generics, unions, narrowing, strict mode, sealed tables, module type…
git:20261015.62bdabd · audit A · 117 stars
roblox-networking SKILL.md skill
tabooharmony/roblox-brain · skills/core/roblox-networking/SKILL.md · Use when adding, changing, or auditing RemoteEvents/RemoteFunctions: argument validation, rate limits, server…
git:20261015.f9f74c2 · audit A · 117 stars
roblox-performance SKILL.md skill
tabooharmony/roblox-brain · skills/core/roblox-performance/SKILL.md · Use when profiling or fixing Roblox performance: low FPS, lag, memory, network load, slow phones, hot paths.
git:20261015.62bdabd · audit A · 117 stars
roblox-security SKILL.md skill
tabooharmony/roblox-brain · skills/core/roblox-security/SKILL.md · Use when auditing or hardening Roblox code against exploits: authority, remotes, economy, purchases, and DataStore…
git:20261015.f9f74c2 · audit A · 117 stars
roblox-server-data SKILL.md skill
tabooharmony/roblox-brain · skills/core/roblox-server-data/SKILL.md · Use when building or fixing Roblox cross-server data: OrderedDataStore leaderboards, MessagingService, MemoryStore…
git:20261015.f9f74c2 · audit A · 117 stars
roblox-analytics SKILL.md skill
tabooharmony/roblox-brain · skills/design/roblox-analytics/SKILL.md · Use when adding, changing, or auditing Roblox analytics: AnalyticsService events, economy, funnels, onboarding traces…
git:20261015.f9f74c2 · audit A · 117 stars
roblox-game-design SKILL.md skill
tabooharmony/roblox-brain · skills/design/roblox-game-design/SKILL.md · Use when designing or reworking a Roblox game: core loop, tutorial/FTUE, levels, economy, retention phases, juice…
git:20261015.f9f74c2 · audit A · 117 stars

Every file in tabooharmony/roblox-brain

Browse by kind, by grade A, or by owner.