[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-openai-expo-module":3,"mdc--punyq1-key":36,"related-org-openai-expo-module":1626,"related-repo-openai-expo-module":1833},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":25,"repoUrl":26,"updatedAt":27,"license":28,"forks":29,"topics":30,"repo":31,"sourceUrl":34,"mdContent":35},"expo-module","build Expo native modules and views","Guide for writing Expo native modules and views using the Expo Modules API (Swift, Kotlin, TypeScript). Covers module definition DSL, native views, shared objects, config plugins, lifecycle hooks, autolinking, and type system. Use when building or modifying native modules for Expo.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"openai","OpenAI","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fopenai.png",[12,16,19,22],{"name":13,"slug":14,"type":15},"Kotlin","kotlin","tag",{"name":17,"slug":18,"type":15},"Expo","expo",{"name":20,"slug":21,"type":15},"Mobile","mobile",{"name":23,"slug":24,"type":15},"Swift","swift",3992,"https:\u002F\u002Fgithub.com\u002Fopenai\u002Fplugins","2026-04-17T05:07:16.34645","MIT",465,[],{"repoUrl":26,"stars":25,"forks":29,"topics":32,"description":33},[],"OpenAI Plugins","https:\u002F\u002Fgithub.com\u002Fopenai\u002Fplugins\u002Ftree\u002FHEAD\u002Fplugins\u002Fexpo\u002Fskills\u002Fexpo-module","---\nname: expo-module\ndescription: Guide for writing Expo native modules and views using the Expo Modules API (Swift, Kotlin, TypeScript). Covers module definition DSL, native views, shared objects, config plugins, lifecycle hooks, autolinking, and type system. Use when building or modifying native modules for Expo.\nversion: 1.0.0\nlicense: MIT\n---\n\n# Writing Expo Modules\n\nComplete reference for building native modules and views using the Expo Modules API. Covers Swift (iOS), Kotlin (Android), and TypeScript.\n\n## When to Use\n\n- Creating a new Expo native module or native view\n- Adding native functionality (camera, sensors, system APIs) to an Expo app\n- Wrapping platform SDKs for React Native consumption\n- Building config plugins that modify native project files\n\n## References\n\nConsult these resources as needed:\n\n```\nreferences\u002F\n  native-module.md           Module definition DSL: Name, Function, AsyncFunction, Property, Constant, Events, type system, shared objects\n  native-view.md             Native view components: View, Prop, EventDispatcher, view lifecycle, ref-based functions\n  lifecycle.md               Lifecycle hooks: module, iOS app\u002FAppDelegate, Android activity\u002Fapplication listeners\n  config-plugin.md           Config plugins: modifying Info.plist, AndroidManifest.xml, reading values in native code\n  module-config.md           expo-module.config.json fields and autolinking configuration\n```\n\n## Quick Start\n\n### Create a Local Module (in existing app)\n\n**Always scaffold with `create-expo-module` first**, then modify the generated code. This ensures correct podspec, build.gradle, and module config — avoiding common build errors.\n\n```bash\nCI=1 npx create-expo-module@latest --local \\\n  --name MyModule \\\n  --description \"My Expo module\" \\\n  --package expo.modules.mymodule\n```\n\n`CI=1` skips interactive prompts and uses the provided flags.\n\n> **Important:** In `CI=1` (non-interactive) mode, the scaffold always creates the directory as `modules\u002Fmy-module\u002F` because the slug is derived from `customTargetPath` which is `undefined` for `--local` modules — the `--name` flag only sets the native class name, not the directory. After scaffolding, rename it to a kebab-case name matching your module (e.g., `KeyValueStore` → `modules\u002Fkey-value-store\u002F`), then run `cd ios && pod install` so CocoaPods picks up the correct path. Skipping the rename is fine functionally, but skipping `pod install` after any rename causes iOS build failures (\"Build input file cannot be found\").\n\nAvailable flags:\n\n| Flag | Description | Example |\n|------|-------------|---------|\n| `--name` | Native module name (PascalCase) | `--name KeyValueStore` |\n| `--description` | Module description | `--description \"Native key-value storage\"` |\n| `--package` | Android package name | `--package expo.modules.keyvaluestore` |\n| `--author-name` | Author name | `--author-name \"dev\"` |\n| `--author-email` | Author email | `--author-email \"dev@example.com\"` |\n| `--author-url` | Author profile URL | `--author-url \"https:\u002F\u002Fgithub.com\u002Fdev\"` |\n| `--repo` | Repository URL | `--repo \"https:\u002F\u002Fgithub.com\u002Fdev\u002Frepo\"` |\n\nThe scaffold generates both a **native module** (functions, events, constants) and a **native view component** (WebView example with props and events). After scaffolding:\n\n1. **Decide what you need**: If you only need a native module (no UI), remove the view files. If you only need a native view, remove the module function boilerplate. If you need both, keep both and replace the implementations.\n2. **Remove unnecessary boilerplate**: The scaffold includes example code (`hello()` function, `PI` constant, `onChange` event, WebView-based view with `url` prop). Strip all of this and replace with your actual implementation.\n3. **Remove web files if not needed**: The scaffold generates `*.web.ts`\u002F`*.web.tsx` files for web platform support. Remove these if the module is native-only. Also remove `\"web\"` from the `platforms` array in `expo-module.config.json`.\n\n#### What to remove for a module-only (no native view):\n\n- Delete `ios\u002FMyModuleView.swift`, `android\u002F...\u002FMyModuleView.kt`\n- Delete `src\u002FMyModuleView.tsx`, `src\u002FMyModuleView.web.tsx`\n- Remove the `View(...)` block from the module definition in both Swift and Kotlin\n- Remove view-related types from `MyModule.types.ts` and view export from `index.ts`\n\n#### What to remove for a view-only (no module functions):\n\n- Remove `Function`, `AsyncFunction`, `Constant`, `Events` blocks from the module definition (keep `Name` and `View`)\n- Simplify the TypeScript module file to only export the view\n\nGenerated structure (after renaming from `my-module` to your module's kebab-case name):\n\n```\nmodules\u002F\n  my-module\u002F                     # Rename to kebab-case, e.g. key-value-store\u002F\n    android\u002F\n      build.gradle\n      src\u002Fmain\u002Fjava\u002Fexpo\u002Fmodules\u002Fmymodule\u002F\n        MyModule.kt              # Module definition (functions, events, view registration)\n        MyModuleView.kt          # Native view (ExpoView subclass)\n    ios\u002F\n      MyModule.podspec\n      MyModule.swift             # Module definition\n      MyModuleView.swift         # Native view (ExpoView subclass)\n    src\u002F\n      MyModule.ts                # Native module binding\n      MyModule.web.ts            # Web implementation\n      MyModule.types.ts          # Shared types\n      MyModuleView.tsx           # Native view component\n      MyModuleView.web.tsx       # Web view component\n    expo-module.config.json\n    index.ts                     # Re-exports module + view\n```\n\n### Create a Standalone Module (for publishing)\n\n```bash\nnpx create-expo-module@latest my-module\n```\n\n---\n\n## Module Structure Reference\n\nThe Swift and Kotlin DSL share the same structure. Both platforms are shown here for reference — in other reference files, Swift is shown as the primary language unless the Kotlin pattern meaningfully differs.\n\n**Swift (iOS):**\n\n```swift\nimport ExpoModulesCore\n\npublic class MyModule: Module {\n  public func definition() -> ModuleDefinition {\n    Name(\"MyModule\")\n\n    Function(\"hello\") { (name: String) -> String in\n      return \"Hello \\(name)!\"\n    }\n  }\n}\n```\n\n**Kotlin (Android):**\n\n```kotlin\npackage expo.modules.mymodule\n\nimport expo.modules.kotlin.modules.Module\nimport expo.modules.kotlin.modules.ModuleDefinition\n\nclass MyModule : Module() {\n  override fun definition() = ModuleDefinition {\n    Name(\"MyModule\")\n\n    Function(\"hello\") { name: String ->\n      \"Hello $name!\"\n    }\n  }\n}\n```\n\n**TypeScript:**\n\n```typescript\nimport { requireNativeModule } from \"expo\";\n\nconst MyModule = requireNativeModule(\"MyModule\");\n\nexport function hello(name: string): string {\n  return MyModule.hello(name);\n}\n```\n\n### expo-module.config.json\n\n```json\n{\n  \"platforms\": [\"android\", \"apple\"],\n  \"apple\": {\n    \"modules\": [\"MyModule\"]\n  },\n  \"android\": {\n    \"modules\": [\"expo.modules.mymodule.MyModule\"]\n  }\n}\n```\n\nNote: iOS uses just the class name; Android uses the fully-qualified class name (package + class). See `references\u002Fmodule-config.md` for all fields.\n",{"data":37,"body":39},{"name":4,"description":6,"version":38,"license":28},"1.0.0",{"type":40,"children":41},"root",[42,51,57,64,89,95,100,113,119,126,145,259,270,363,368,582,601,707,714,785,791,849,862,871,877,901,905,911,916,924,1027,1035,1151,1159,1374,1379,1607,1620],{"type":43,"tag":44,"props":45,"children":47},"element","h1",{"id":46},"writing-expo-modules",[48],{"type":49,"value":50},"text","Writing Expo Modules",{"type":43,"tag":52,"props":53,"children":54},"p",{},[55],{"type":49,"value":56},"Complete reference for building native modules and views using the Expo Modules API. Covers Swift (iOS), Kotlin (Android), and TypeScript.",{"type":43,"tag":58,"props":59,"children":61},"h2",{"id":60},"when-to-use",[62],{"type":49,"value":63},"When to Use",{"type":43,"tag":65,"props":66,"children":67},"ul",{},[68,74,79,84],{"type":43,"tag":69,"props":70,"children":71},"li",{},[72],{"type":49,"value":73},"Creating a new Expo native module or native view",{"type":43,"tag":69,"props":75,"children":76},{},[77],{"type":49,"value":78},"Adding native functionality (camera, sensors, system APIs) to an Expo app",{"type":43,"tag":69,"props":80,"children":81},{},[82],{"type":49,"value":83},"Wrapping platform SDKs for React Native consumption",{"type":43,"tag":69,"props":85,"children":86},{},[87],{"type":49,"value":88},"Building config plugins that modify native project files",{"type":43,"tag":58,"props":90,"children":92},{"id":91},"references",[93],{"type":49,"value":94},"References",{"type":43,"tag":52,"props":96,"children":97},{},[98],{"type":49,"value":99},"Consult these resources as needed:",{"type":43,"tag":101,"props":102,"children":106},"pre",{"className":103,"code":105,"language":49},[104],"language-text","references\u002F\n  native-module.md           Module definition DSL: Name, Function, AsyncFunction, Property, Constant, Events, type system, shared objects\n  native-view.md             Native view components: View, Prop, EventDispatcher, view lifecycle, ref-based functions\n  lifecycle.md               Lifecycle hooks: module, iOS app\u002FAppDelegate, Android activity\u002Fapplication listeners\n  config-plugin.md           Config plugins: modifying Info.plist, AndroidManifest.xml, reading values in native code\n  module-config.md           expo-module.config.json fields and autolinking configuration\n",[107],{"type":43,"tag":108,"props":109,"children":111},"code",{"__ignoreMap":110},"",[112],{"type":49,"value":105},{"type":43,"tag":58,"props":114,"children":116},{"id":115},"quick-start",[117],{"type":49,"value":118},"Quick Start",{"type":43,"tag":120,"props":121,"children":123},"h3",{"id":122},"create-a-local-module-in-existing-app",[124],{"type":49,"value":125},"Create a Local Module (in existing app)",{"type":43,"tag":52,"props":127,"children":128},{},[129,143],{"type":43,"tag":130,"props":131,"children":132},"strong",{},[133,135,141],{"type":49,"value":134},"Always scaffold with ",{"type":43,"tag":108,"props":136,"children":138},{"className":137},[],[139],{"type":49,"value":140},"create-expo-module",{"type":49,"value":142}," first",{"type":49,"value":144},", then modify the generated code. This ensures correct podspec, build.gradle, and module config — avoiding common build errors.",{"type":43,"tag":101,"props":146,"children":150},{"className":147,"code":148,"language":149,"meta":110,"style":110},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","CI=1 npx create-expo-module@latest --local \\\n  --name MyModule \\\n  --description \"My Expo module\" \\\n  --package expo.modules.mymodule\n","bash",[151],{"type":43,"tag":108,"props":152,"children":153},{"__ignoreMap":110},[154,199,217,245],{"type":43,"tag":155,"props":156,"children":159},"span",{"class":157,"line":158},"line",1,[160,166,172,178,184,189,194],{"type":43,"tag":155,"props":161,"children":163},{"style":162},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[164],{"type":49,"value":165},"CI",{"type":43,"tag":155,"props":167,"children":169},{"style":168},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[170],{"type":49,"value":171},"=",{"type":43,"tag":155,"props":173,"children":175},{"style":174},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[176],{"type":49,"value":177},"1",{"type":43,"tag":155,"props":179,"children":181},{"style":180},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[182],{"type":49,"value":183}," npx",{"type":43,"tag":155,"props":185,"children":186},{"style":174},[187],{"type":49,"value":188}," create-expo-module@latest",{"type":43,"tag":155,"props":190,"children":191},{"style":174},[192],{"type":49,"value":193}," --local",{"type":43,"tag":155,"props":195,"children":196},{"style":162},[197],{"type":49,"value":198}," \\\n",{"type":43,"tag":155,"props":200,"children":202},{"class":157,"line":201},2,[203,208,213],{"type":43,"tag":155,"props":204,"children":205},{"style":174},[206],{"type":49,"value":207},"  --name",{"type":43,"tag":155,"props":209,"children":210},{"style":174},[211],{"type":49,"value":212}," MyModule",{"type":43,"tag":155,"props":214,"children":215},{"style":162},[216],{"type":49,"value":198},{"type":43,"tag":155,"props":218,"children":220},{"class":157,"line":219},3,[221,226,231,236,241],{"type":43,"tag":155,"props":222,"children":223},{"style":174},[224],{"type":49,"value":225},"  --description",{"type":43,"tag":155,"props":227,"children":228},{"style":168},[229],{"type":49,"value":230}," \"",{"type":43,"tag":155,"props":232,"children":233},{"style":174},[234],{"type":49,"value":235},"My Expo module",{"type":43,"tag":155,"props":237,"children":238},{"style":168},[239],{"type":49,"value":240},"\"",{"type":43,"tag":155,"props":242,"children":243},{"style":162},[244],{"type":49,"value":198},{"type":43,"tag":155,"props":246,"children":248},{"class":157,"line":247},4,[249,254],{"type":43,"tag":155,"props":250,"children":251},{"style":174},[252],{"type":49,"value":253},"  --package",{"type":43,"tag":155,"props":255,"children":256},{"style":174},[257],{"type":49,"value":258}," expo.modules.mymodule\n",{"type":43,"tag":52,"props":260,"children":261},{},[262,268],{"type":43,"tag":108,"props":263,"children":265},{"className":264},[],[266],{"type":49,"value":267},"CI=1",{"type":49,"value":269}," skips interactive prompts and uses the provided flags.",{"type":43,"tag":271,"props":272,"children":273},"blockquote",{},[274],{"type":43,"tag":52,"props":275,"children":276},{},[277,282,284,289,291,297,299,305,307,313,315,321,323,329,331,337,339,345,347,353,355,361],{"type":43,"tag":130,"props":278,"children":279},{},[280],{"type":49,"value":281},"Important:",{"type":49,"value":283}," In ",{"type":43,"tag":108,"props":285,"children":287},{"className":286},[],[288],{"type":49,"value":267},{"type":49,"value":290}," (non-interactive) mode, the scaffold always creates the directory as ",{"type":43,"tag":108,"props":292,"children":294},{"className":293},[],[295],{"type":49,"value":296},"modules\u002Fmy-module\u002F",{"type":49,"value":298}," because the slug is derived from ",{"type":43,"tag":108,"props":300,"children":302},{"className":301},[],[303],{"type":49,"value":304},"customTargetPath",{"type":49,"value":306}," which is ",{"type":43,"tag":108,"props":308,"children":310},{"className":309},[],[311],{"type":49,"value":312},"undefined",{"type":49,"value":314}," for ",{"type":43,"tag":108,"props":316,"children":318},{"className":317},[],[319],{"type":49,"value":320},"--local",{"type":49,"value":322}," modules — the ",{"type":43,"tag":108,"props":324,"children":326},{"className":325},[],[327],{"type":49,"value":328},"--name",{"type":49,"value":330}," flag only sets the native class name, not the directory. After scaffolding, rename it to a kebab-case name matching your module (e.g., ",{"type":43,"tag":108,"props":332,"children":334},{"className":333},[],[335],{"type":49,"value":336},"KeyValueStore",{"type":49,"value":338}," → ",{"type":43,"tag":108,"props":340,"children":342},{"className":341},[],[343],{"type":49,"value":344},"modules\u002Fkey-value-store\u002F",{"type":49,"value":346},"), then run ",{"type":43,"tag":108,"props":348,"children":350},{"className":349},[],[351],{"type":49,"value":352},"cd ios && pod install",{"type":49,"value":354}," so CocoaPods picks up the correct path. Skipping the rename is fine functionally, but skipping ",{"type":43,"tag":108,"props":356,"children":358},{"className":357},[],[359],{"type":49,"value":360},"pod install",{"type":49,"value":362}," after any rename causes iOS build failures (\"Build input file cannot be found\").",{"type":43,"tag":52,"props":364,"children":365},{},[366],{"type":49,"value":367},"Available flags:",{"type":43,"tag":369,"props":370,"children":371},"table",{},[372,396],{"type":43,"tag":373,"props":374,"children":375},"thead",{},[376],{"type":43,"tag":377,"props":378,"children":379},"tr",{},[380,386,391],{"type":43,"tag":381,"props":382,"children":383},"th",{},[384],{"type":49,"value":385},"Flag",{"type":43,"tag":381,"props":387,"children":388},{},[389],{"type":49,"value":390},"Description",{"type":43,"tag":381,"props":392,"children":393},{},[394],{"type":49,"value":395},"Example",{"type":43,"tag":397,"props":398,"children":399},"tbody",{},[400,426,452,478,504,530,556],{"type":43,"tag":377,"props":401,"children":402},{},[403,412,417],{"type":43,"tag":404,"props":405,"children":406},"td",{},[407],{"type":43,"tag":108,"props":408,"children":410},{"className":409},[],[411],{"type":49,"value":328},{"type":43,"tag":404,"props":413,"children":414},{},[415],{"type":49,"value":416},"Native module name (PascalCase)",{"type":43,"tag":404,"props":418,"children":419},{},[420],{"type":43,"tag":108,"props":421,"children":423},{"className":422},[],[424],{"type":49,"value":425},"--name KeyValueStore",{"type":43,"tag":377,"props":427,"children":428},{},[429,438,443],{"type":43,"tag":404,"props":430,"children":431},{},[432],{"type":43,"tag":108,"props":433,"children":435},{"className":434},[],[436],{"type":49,"value":437},"--description",{"type":43,"tag":404,"props":439,"children":440},{},[441],{"type":49,"value":442},"Module description",{"type":43,"tag":404,"props":444,"children":445},{},[446],{"type":43,"tag":108,"props":447,"children":449},{"className":448},[],[450],{"type":49,"value":451},"--description \"Native key-value storage\"",{"type":43,"tag":377,"props":453,"children":454},{},[455,464,469],{"type":43,"tag":404,"props":456,"children":457},{},[458],{"type":43,"tag":108,"props":459,"children":461},{"className":460},[],[462],{"type":49,"value":463},"--package",{"type":43,"tag":404,"props":465,"children":466},{},[467],{"type":49,"value":468},"Android package name",{"type":43,"tag":404,"props":470,"children":471},{},[472],{"type":43,"tag":108,"props":473,"children":475},{"className":474},[],[476],{"type":49,"value":477},"--package expo.modules.keyvaluestore",{"type":43,"tag":377,"props":479,"children":480},{},[481,490,495],{"type":43,"tag":404,"props":482,"children":483},{},[484],{"type":43,"tag":108,"props":485,"children":487},{"className":486},[],[488],{"type":49,"value":489},"--author-name",{"type":43,"tag":404,"props":491,"children":492},{},[493],{"type":49,"value":494},"Author name",{"type":43,"tag":404,"props":496,"children":497},{},[498],{"type":43,"tag":108,"props":499,"children":501},{"className":500},[],[502],{"type":49,"value":503},"--author-name \"dev\"",{"type":43,"tag":377,"props":505,"children":506},{},[507,516,521],{"type":43,"tag":404,"props":508,"children":509},{},[510],{"type":43,"tag":108,"props":511,"children":513},{"className":512},[],[514],{"type":49,"value":515},"--author-email",{"type":43,"tag":404,"props":517,"children":518},{},[519],{"type":49,"value":520},"Author email",{"type":43,"tag":404,"props":522,"children":523},{},[524],{"type":43,"tag":108,"props":525,"children":527},{"className":526},[],[528],{"type":49,"value":529},"--author-email \"dev@example.com\"",{"type":43,"tag":377,"props":531,"children":532},{},[533,542,547],{"type":43,"tag":404,"props":534,"children":535},{},[536],{"type":43,"tag":108,"props":537,"children":539},{"className":538},[],[540],{"type":49,"value":541},"--author-url",{"type":43,"tag":404,"props":543,"children":544},{},[545],{"type":49,"value":546},"Author profile URL",{"type":43,"tag":404,"props":548,"children":549},{},[550],{"type":43,"tag":108,"props":551,"children":553},{"className":552},[],[554],{"type":49,"value":555},"--author-url \"https:\u002F\u002Fgithub.com\u002Fdev\"",{"type":43,"tag":377,"props":557,"children":558},{},[559,568,573],{"type":43,"tag":404,"props":560,"children":561},{},[562],{"type":43,"tag":108,"props":563,"children":565},{"className":564},[],[566],{"type":49,"value":567},"--repo",{"type":43,"tag":404,"props":569,"children":570},{},[571],{"type":49,"value":572},"Repository URL",{"type":43,"tag":404,"props":574,"children":575},{},[576],{"type":43,"tag":108,"props":577,"children":579},{"className":578},[],[580],{"type":49,"value":581},"--repo \"https:\u002F\u002Fgithub.com\u002Fdev\u002Frepo\"",{"type":43,"tag":52,"props":583,"children":584},{},[585,587,592,594,599],{"type":49,"value":586},"The scaffold generates both a ",{"type":43,"tag":130,"props":588,"children":589},{},[590],{"type":49,"value":591},"native module",{"type":49,"value":593}," (functions, events, constants) and a ",{"type":43,"tag":130,"props":595,"children":596},{},[597],{"type":49,"value":598},"native view component",{"type":49,"value":600}," (WebView example with props and events). After scaffolding:",{"type":43,"tag":602,"props":603,"children":604},"ol",{},[605,615,657],{"type":43,"tag":69,"props":606,"children":607},{},[608,613],{"type":43,"tag":130,"props":609,"children":610},{},[611],{"type":49,"value":612},"Decide what you need",{"type":49,"value":614},": If you only need a native module (no UI), remove the view files. If you only need a native view, remove the module function boilerplate. If you need both, keep both and replace the implementations.",{"type":43,"tag":69,"props":616,"children":617},{},[618,623,625,631,633,639,641,647,649,655],{"type":43,"tag":130,"props":619,"children":620},{},[621],{"type":49,"value":622},"Remove unnecessary boilerplate",{"type":49,"value":624},": The scaffold includes example code (",{"type":43,"tag":108,"props":626,"children":628},{"className":627},[],[629],{"type":49,"value":630},"hello()",{"type":49,"value":632}," function, ",{"type":43,"tag":108,"props":634,"children":636},{"className":635},[],[637],{"type":49,"value":638},"PI",{"type":49,"value":640}," constant, ",{"type":43,"tag":108,"props":642,"children":644},{"className":643},[],[645],{"type":49,"value":646},"onChange",{"type":49,"value":648}," event, WebView-based view with ",{"type":43,"tag":108,"props":650,"children":652},{"className":651},[],[653],{"type":49,"value":654},"url",{"type":49,"value":656}," prop). Strip all of this and replace with your actual implementation.",{"type":43,"tag":69,"props":658,"children":659},{},[660,665,667,673,675,681,683,689,691,697,699,705],{"type":43,"tag":130,"props":661,"children":662},{},[663],{"type":49,"value":664},"Remove web files if not needed",{"type":49,"value":666},": The scaffold generates ",{"type":43,"tag":108,"props":668,"children":670},{"className":669},[],[671],{"type":49,"value":672},"*.web.ts",{"type":49,"value":674},"\u002F",{"type":43,"tag":108,"props":676,"children":678},{"className":677},[],[679],{"type":49,"value":680},"*.web.tsx",{"type":49,"value":682}," files for web platform support. Remove these if the module is native-only. Also remove ",{"type":43,"tag":108,"props":684,"children":686},{"className":685},[],[687],{"type":49,"value":688},"\"web\"",{"type":49,"value":690}," from the ",{"type":43,"tag":108,"props":692,"children":694},{"className":693},[],[695],{"type":49,"value":696},"platforms",{"type":49,"value":698}," array in ",{"type":43,"tag":108,"props":700,"children":702},{"className":701},[],[703],{"type":49,"value":704},"expo-module.config.json",{"type":49,"value":706},".",{"type":43,"tag":708,"props":709,"children":711},"h4",{"id":710},"what-to-remove-for-a-module-only-no-native-view",[712],{"type":49,"value":713},"What to remove for a module-only (no native view):",{"type":43,"tag":65,"props":715,"children":716},{},[717,736,753,766],{"type":43,"tag":69,"props":718,"children":719},{},[720,722,728,730],{"type":49,"value":721},"Delete ",{"type":43,"tag":108,"props":723,"children":725},{"className":724},[],[726],{"type":49,"value":727},"ios\u002FMyModuleView.swift",{"type":49,"value":729},", ",{"type":43,"tag":108,"props":731,"children":733},{"className":732},[],[734],{"type":49,"value":735},"android\u002F...\u002FMyModuleView.kt",{"type":43,"tag":69,"props":737,"children":738},{},[739,740,746,747],{"type":49,"value":721},{"type":43,"tag":108,"props":741,"children":743},{"className":742},[],[744],{"type":49,"value":745},"src\u002FMyModuleView.tsx",{"type":49,"value":729},{"type":43,"tag":108,"props":748,"children":750},{"className":749},[],[751],{"type":49,"value":752},"src\u002FMyModuleView.web.tsx",{"type":43,"tag":69,"props":754,"children":755},{},[756,758,764],{"type":49,"value":757},"Remove the ",{"type":43,"tag":108,"props":759,"children":761},{"className":760},[],[762],{"type":49,"value":763},"View(...)",{"type":49,"value":765}," block from the module definition in both Swift and Kotlin",{"type":43,"tag":69,"props":767,"children":768},{},[769,771,777,779],{"type":49,"value":770},"Remove view-related types from ",{"type":43,"tag":108,"props":772,"children":774},{"className":773},[],[775],{"type":49,"value":776},"MyModule.types.ts",{"type":49,"value":778}," and view export from ",{"type":43,"tag":108,"props":780,"children":782},{"className":781},[],[783],{"type":49,"value":784},"index.ts",{"type":43,"tag":708,"props":786,"children":788},{"id":787},"what-to-remove-for-a-view-only-no-module-functions",[789],{"type":49,"value":790},"What to remove for a view-only (no module functions):",{"type":43,"tag":65,"props":792,"children":793},{},[794,844],{"type":43,"tag":69,"props":795,"children":796},{},[797,799,805,806,812,813,819,820,826,828,834,836,842],{"type":49,"value":798},"Remove ",{"type":43,"tag":108,"props":800,"children":802},{"className":801},[],[803],{"type":49,"value":804},"Function",{"type":49,"value":729},{"type":43,"tag":108,"props":807,"children":809},{"className":808},[],[810],{"type":49,"value":811},"AsyncFunction",{"type":49,"value":729},{"type":43,"tag":108,"props":814,"children":816},{"className":815},[],[817],{"type":49,"value":818},"Constant",{"type":49,"value":729},{"type":43,"tag":108,"props":821,"children":823},{"className":822},[],[824],{"type":49,"value":825},"Events",{"type":49,"value":827}," blocks from the module definition (keep ",{"type":43,"tag":108,"props":829,"children":831},{"className":830},[],[832],{"type":49,"value":833},"Name",{"type":49,"value":835}," and ",{"type":43,"tag":108,"props":837,"children":839},{"className":838},[],[840],{"type":49,"value":841},"View",{"type":49,"value":843},")",{"type":43,"tag":69,"props":845,"children":846},{},[847],{"type":49,"value":848},"Simplify the TypeScript module file to only export the view",{"type":43,"tag":52,"props":850,"children":851},{},[852,854,860],{"type":49,"value":853},"Generated structure (after renaming from ",{"type":43,"tag":108,"props":855,"children":857},{"className":856},[],[858],{"type":49,"value":859},"my-module",{"type":49,"value":861}," to your module's kebab-case name):",{"type":43,"tag":101,"props":863,"children":866},{"className":864,"code":865,"language":49},[104],"modules\u002F\n  my-module\u002F                     # Rename to kebab-case, e.g. key-value-store\u002F\n    android\u002F\n      build.gradle\n      src\u002Fmain\u002Fjava\u002Fexpo\u002Fmodules\u002Fmymodule\u002F\n        MyModule.kt              # Module definition (functions, events, view registration)\n        MyModuleView.kt          # Native view (ExpoView subclass)\n    ios\u002F\n      MyModule.podspec\n      MyModule.swift             # Module definition\n      MyModuleView.swift         # Native view (ExpoView subclass)\n    src\u002F\n      MyModule.ts                # Native module binding\n      MyModule.web.ts            # Web implementation\n      MyModule.types.ts          # Shared types\n      MyModuleView.tsx           # Native view component\n      MyModuleView.web.tsx       # Web view component\n    expo-module.config.json\n    index.ts                     # Re-exports module + view\n",[867],{"type":43,"tag":108,"props":868,"children":869},{"__ignoreMap":110},[870],{"type":49,"value":865},{"type":43,"tag":120,"props":872,"children":874},{"id":873},"create-a-standalone-module-for-publishing",[875],{"type":49,"value":876},"Create a Standalone Module (for publishing)",{"type":43,"tag":101,"props":878,"children":880},{"className":147,"code":879,"language":149,"meta":110,"style":110},"npx create-expo-module@latest my-module\n",[881],{"type":43,"tag":108,"props":882,"children":883},{"__ignoreMap":110},[884],{"type":43,"tag":155,"props":885,"children":886},{"class":157,"line":158},[887,892,896],{"type":43,"tag":155,"props":888,"children":889},{"style":180},[890],{"type":49,"value":891},"npx",{"type":43,"tag":155,"props":893,"children":894},{"style":174},[895],{"type":49,"value":188},{"type":43,"tag":155,"props":897,"children":898},{"style":174},[899],{"type":49,"value":900}," my-module\n",{"type":43,"tag":902,"props":903,"children":904},"hr",{},[],{"type":43,"tag":58,"props":906,"children":908},{"id":907},"module-structure-reference",[909],{"type":49,"value":910},"Module Structure Reference",{"type":43,"tag":52,"props":912,"children":913},{},[914],{"type":49,"value":915},"The Swift and Kotlin DSL share the same structure. Both platforms are shown here for reference — in other reference files, Swift is shown as the primary language unless the Kotlin pattern meaningfully differs.",{"type":43,"tag":52,"props":917,"children":918},{},[919],{"type":43,"tag":130,"props":920,"children":921},{},[922],{"type":49,"value":923},"Swift (iOS):",{"type":43,"tag":101,"props":925,"children":928},{"className":926,"code":927,"language":24,"meta":110,"style":110},"language-swift shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import ExpoModulesCore\n\npublic class MyModule: Module {\n  public func definition() -> ModuleDefinition {\n    Name(\"MyModule\")\n\n    Function(\"hello\") { (name: String) -> String in\n      return \"Hello \\(name)!\"\n    }\n  }\n}\n",[929],{"type":43,"tag":108,"props":930,"children":931},{"__ignoreMap":110},[932,940,949,957,965,974,982,991,1000,1009,1018],{"type":43,"tag":155,"props":933,"children":934},{"class":157,"line":158},[935],{"type":43,"tag":155,"props":936,"children":937},{},[938],{"type":49,"value":939},"import ExpoModulesCore\n",{"type":43,"tag":155,"props":941,"children":942},{"class":157,"line":201},[943],{"type":43,"tag":155,"props":944,"children":946},{"emptyLinePlaceholder":945},true,[947],{"type":49,"value":948},"\n",{"type":43,"tag":155,"props":950,"children":951},{"class":157,"line":219},[952],{"type":43,"tag":155,"props":953,"children":954},{},[955],{"type":49,"value":956},"public class MyModule: Module {\n",{"type":43,"tag":155,"props":958,"children":959},{"class":157,"line":247},[960],{"type":43,"tag":155,"props":961,"children":962},{},[963],{"type":49,"value":964},"  public func definition() -> ModuleDefinition {\n",{"type":43,"tag":155,"props":966,"children":968},{"class":157,"line":967},5,[969],{"type":43,"tag":155,"props":970,"children":971},{},[972],{"type":49,"value":973},"    Name(\"MyModule\")\n",{"type":43,"tag":155,"props":975,"children":977},{"class":157,"line":976},6,[978],{"type":43,"tag":155,"props":979,"children":980},{"emptyLinePlaceholder":945},[981],{"type":49,"value":948},{"type":43,"tag":155,"props":983,"children":985},{"class":157,"line":984},7,[986],{"type":43,"tag":155,"props":987,"children":988},{},[989],{"type":49,"value":990},"    Function(\"hello\") { (name: String) -> String in\n",{"type":43,"tag":155,"props":992,"children":994},{"class":157,"line":993},8,[995],{"type":43,"tag":155,"props":996,"children":997},{},[998],{"type":49,"value":999},"      return \"Hello \\(name)!\"\n",{"type":43,"tag":155,"props":1001,"children":1003},{"class":157,"line":1002},9,[1004],{"type":43,"tag":155,"props":1005,"children":1006},{},[1007],{"type":49,"value":1008},"    }\n",{"type":43,"tag":155,"props":1010,"children":1012},{"class":157,"line":1011},10,[1013],{"type":43,"tag":155,"props":1014,"children":1015},{},[1016],{"type":49,"value":1017},"  }\n",{"type":43,"tag":155,"props":1019,"children":1021},{"class":157,"line":1020},11,[1022],{"type":43,"tag":155,"props":1023,"children":1024},{},[1025],{"type":49,"value":1026},"}\n",{"type":43,"tag":52,"props":1028,"children":1029},{},[1030],{"type":43,"tag":130,"props":1031,"children":1032},{},[1033],{"type":49,"value":1034},"Kotlin (Android):",{"type":43,"tag":101,"props":1036,"children":1039},{"className":1037,"code":1038,"language":14,"meta":110,"style":110},"language-kotlin shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","package expo.modules.mymodule\n\nimport expo.modules.kotlin.modules.Module\nimport expo.modules.kotlin.modules.ModuleDefinition\n\nclass MyModule : Module() {\n  override fun definition() = ModuleDefinition {\n    Name(\"MyModule\")\n\n    Function(\"hello\") { name: String ->\n      \"Hello $name!\"\n    }\n  }\n}\n",[1040],{"type":43,"tag":108,"props":1041,"children":1042},{"__ignoreMap":110},[1043,1051,1058,1066,1074,1081,1089,1097,1104,1111,1119,1127,1135,1143],{"type":43,"tag":155,"props":1044,"children":1045},{"class":157,"line":158},[1046],{"type":43,"tag":155,"props":1047,"children":1048},{},[1049],{"type":49,"value":1050},"package expo.modules.mymodule\n",{"type":43,"tag":155,"props":1052,"children":1053},{"class":157,"line":201},[1054],{"type":43,"tag":155,"props":1055,"children":1056},{"emptyLinePlaceholder":945},[1057],{"type":49,"value":948},{"type":43,"tag":155,"props":1059,"children":1060},{"class":157,"line":219},[1061],{"type":43,"tag":155,"props":1062,"children":1063},{},[1064],{"type":49,"value":1065},"import expo.modules.kotlin.modules.Module\n",{"type":43,"tag":155,"props":1067,"children":1068},{"class":157,"line":247},[1069],{"type":43,"tag":155,"props":1070,"children":1071},{},[1072],{"type":49,"value":1073},"import expo.modules.kotlin.modules.ModuleDefinition\n",{"type":43,"tag":155,"props":1075,"children":1076},{"class":157,"line":967},[1077],{"type":43,"tag":155,"props":1078,"children":1079},{"emptyLinePlaceholder":945},[1080],{"type":49,"value":948},{"type":43,"tag":155,"props":1082,"children":1083},{"class":157,"line":976},[1084],{"type":43,"tag":155,"props":1085,"children":1086},{},[1087],{"type":49,"value":1088},"class MyModule : Module() {\n",{"type":43,"tag":155,"props":1090,"children":1091},{"class":157,"line":984},[1092],{"type":43,"tag":155,"props":1093,"children":1094},{},[1095],{"type":49,"value":1096},"  override fun definition() = ModuleDefinition {\n",{"type":43,"tag":155,"props":1098,"children":1099},{"class":157,"line":993},[1100],{"type":43,"tag":155,"props":1101,"children":1102},{},[1103],{"type":49,"value":973},{"type":43,"tag":155,"props":1105,"children":1106},{"class":157,"line":1002},[1107],{"type":43,"tag":155,"props":1108,"children":1109},{"emptyLinePlaceholder":945},[1110],{"type":49,"value":948},{"type":43,"tag":155,"props":1112,"children":1113},{"class":157,"line":1011},[1114],{"type":43,"tag":155,"props":1115,"children":1116},{},[1117],{"type":49,"value":1118},"    Function(\"hello\") { name: String ->\n",{"type":43,"tag":155,"props":1120,"children":1121},{"class":157,"line":1020},[1122],{"type":43,"tag":155,"props":1123,"children":1124},{},[1125],{"type":49,"value":1126},"      \"Hello $name!\"\n",{"type":43,"tag":155,"props":1128,"children":1130},{"class":157,"line":1129},12,[1131],{"type":43,"tag":155,"props":1132,"children":1133},{},[1134],{"type":49,"value":1008},{"type":43,"tag":155,"props":1136,"children":1138},{"class":157,"line":1137},13,[1139],{"type":43,"tag":155,"props":1140,"children":1141},{},[1142],{"type":49,"value":1017},{"type":43,"tag":155,"props":1144,"children":1146},{"class":157,"line":1145},14,[1147],{"type":43,"tag":155,"props":1148,"children":1149},{},[1150],{"type":49,"value":1026},{"type":43,"tag":52,"props":1152,"children":1153},{},[1154],{"type":43,"tag":130,"props":1155,"children":1156},{},[1157],{"type":49,"value":1158},"TypeScript:",{"type":43,"tag":101,"props":1160,"children":1164},{"className":1161,"code":1162,"language":1163,"meta":110,"style":110},"language-typescript shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { requireNativeModule } from \"expo\";\n\nconst MyModule = requireNativeModule(\"MyModule\");\n\nexport function hello(name: string): string {\n  return MyModule.hello(name);\n}\n","typescript",[1165],{"type":43,"tag":108,"props":1166,"children":1167},{"__ignoreMap":110},[1168,1214,1221,1270,1277,1329,1367],{"type":43,"tag":155,"props":1169,"children":1170},{"class":157,"line":158},[1171,1177,1182,1187,1192,1197,1201,1205,1209],{"type":43,"tag":155,"props":1172,"children":1174},{"style":1173},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[1175],{"type":49,"value":1176},"import",{"type":43,"tag":155,"props":1178,"children":1179},{"style":168},[1180],{"type":49,"value":1181}," {",{"type":43,"tag":155,"props":1183,"children":1184},{"style":162},[1185],{"type":49,"value":1186}," requireNativeModule",{"type":43,"tag":155,"props":1188,"children":1189},{"style":168},[1190],{"type":49,"value":1191}," }",{"type":43,"tag":155,"props":1193,"children":1194},{"style":1173},[1195],{"type":49,"value":1196}," from",{"type":43,"tag":155,"props":1198,"children":1199},{"style":168},[1200],{"type":49,"value":230},{"type":43,"tag":155,"props":1202,"children":1203},{"style":174},[1204],{"type":49,"value":18},{"type":43,"tag":155,"props":1206,"children":1207},{"style":168},[1208],{"type":49,"value":240},{"type":43,"tag":155,"props":1210,"children":1211},{"style":168},[1212],{"type":49,"value":1213},";\n",{"type":43,"tag":155,"props":1215,"children":1216},{"class":157,"line":201},[1217],{"type":43,"tag":155,"props":1218,"children":1219},{"emptyLinePlaceholder":945},[1220],{"type":49,"value":948},{"type":43,"tag":155,"props":1222,"children":1223},{"class":157,"line":219},[1224,1230,1235,1239,1244,1249,1253,1258,1262,1266],{"type":43,"tag":155,"props":1225,"children":1227},{"style":1226},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[1228],{"type":49,"value":1229},"const",{"type":43,"tag":155,"props":1231,"children":1232},{"style":162},[1233],{"type":49,"value":1234}," MyModule ",{"type":43,"tag":155,"props":1236,"children":1237},{"style":168},[1238],{"type":49,"value":171},{"type":43,"tag":155,"props":1240,"children":1242},{"style":1241},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[1243],{"type":49,"value":1186},{"type":43,"tag":155,"props":1245,"children":1246},{"style":162},[1247],{"type":49,"value":1248},"(",{"type":43,"tag":155,"props":1250,"children":1251},{"style":168},[1252],{"type":49,"value":240},{"type":43,"tag":155,"props":1254,"children":1255},{"style":174},[1256],{"type":49,"value":1257},"MyModule",{"type":43,"tag":155,"props":1259,"children":1260},{"style":168},[1261],{"type":49,"value":240},{"type":43,"tag":155,"props":1263,"children":1264},{"style":162},[1265],{"type":49,"value":843},{"type":43,"tag":155,"props":1267,"children":1268},{"style":168},[1269],{"type":49,"value":1213},{"type":43,"tag":155,"props":1271,"children":1272},{"class":157,"line":247},[1273],{"type":43,"tag":155,"props":1274,"children":1275},{"emptyLinePlaceholder":945},[1276],{"type":49,"value":948},{"type":43,"tag":155,"props":1278,"children":1279},{"class":157,"line":967},[1280,1285,1290,1295,1299,1305,1310,1315,1320,1324],{"type":43,"tag":155,"props":1281,"children":1282},{"style":1173},[1283],{"type":49,"value":1284},"export",{"type":43,"tag":155,"props":1286,"children":1287},{"style":1226},[1288],{"type":49,"value":1289}," function",{"type":43,"tag":155,"props":1291,"children":1292},{"style":1241},[1293],{"type":49,"value":1294}," hello",{"type":43,"tag":155,"props":1296,"children":1297},{"style":168},[1298],{"type":49,"value":1248},{"type":43,"tag":155,"props":1300,"children":1302},{"style":1301},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic",[1303],{"type":49,"value":1304},"name",{"type":43,"tag":155,"props":1306,"children":1307},{"style":168},[1308],{"type":49,"value":1309},":",{"type":43,"tag":155,"props":1311,"children":1312},{"style":180},[1313],{"type":49,"value":1314}," string",{"type":43,"tag":155,"props":1316,"children":1317},{"style":168},[1318],{"type":49,"value":1319},"):",{"type":43,"tag":155,"props":1321,"children":1322},{"style":180},[1323],{"type":49,"value":1314},{"type":43,"tag":155,"props":1325,"children":1326},{"style":168},[1327],{"type":49,"value":1328}," {\n",{"type":43,"tag":155,"props":1330,"children":1331},{"class":157,"line":976},[1332,1337,1341,1345,1350,1355,1359,1363],{"type":43,"tag":155,"props":1333,"children":1334},{"style":1173},[1335],{"type":49,"value":1336},"  return",{"type":43,"tag":155,"props":1338,"children":1339},{"style":162},[1340],{"type":49,"value":212},{"type":43,"tag":155,"props":1342,"children":1343},{"style":168},[1344],{"type":49,"value":706},{"type":43,"tag":155,"props":1346,"children":1347},{"style":1241},[1348],{"type":49,"value":1349},"hello",{"type":43,"tag":155,"props":1351,"children":1353},{"style":1352},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[1354],{"type":49,"value":1248},{"type":43,"tag":155,"props":1356,"children":1357},{"style":162},[1358],{"type":49,"value":1304},{"type":43,"tag":155,"props":1360,"children":1361},{"style":1352},[1362],{"type":49,"value":843},{"type":43,"tag":155,"props":1364,"children":1365},{"style":168},[1366],{"type":49,"value":1213},{"type":43,"tag":155,"props":1368,"children":1369},{"class":157,"line":984},[1370],{"type":43,"tag":155,"props":1371,"children":1372},{"style":168},[1373],{"type":49,"value":1026},{"type":43,"tag":120,"props":1375,"children":1377},{"id":1376},"expo-moduleconfigjson",[1378],{"type":49,"value":704},{"type":43,"tag":101,"props":1380,"children":1384},{"className":1381,"code":1382,"language":1383,"meta":110,"style":110},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"platforms\": [\"android\", \"apple\"],\n  \"apple\": {\n    \"modules\": [\"MyModule\"]\n  },\n  \"android\": {\n    \"modules\": [\"expo.modules.mymodule.MyModule\"]\n  }\n}\n","json",[1385],{"type":43,"tag":108,"props":1386,"children":1387},{"__ignoreMap":110},[1388,1396,1457,1480,1522,1530,1553,1593,1600],{"type":43,"tag":155,"props":1389,"children":1390},{"class":157,"line":158},[1391],{"type":43,"tag":155,"props":1392,"children":1393},{"style":168},[1394],{"type":49,"value":1395},"{\n",{"type":43,"tag":155,"props":1397,"children":1398},{"class":157,"line":201},[1399,1404,1408,1412,1416,1421,1425,1430,1434,1439,1443,1448,1452],{"type":43,"tag":155,"props":1400,"children":1401},{"style":168},[1402],{"type":49,"value":1403},"  \"",{"type":43,"tag":155,"props":1405,"children":1406},{"style":1226},[1407],{"type":49,"value":696},{"type":43,"tag":155,"props":1409,"children":1410},{"style":168},[1411],{"type":49,"value":240},{"type":43,"tag":155,"props":1413,"children":1414},{"style":168},[1415],{"type":49,"value":1309},{"type":43,"tag":155,"props":1417,"children":1418},{"style":168},[1419],{"type":49,"value":1420}," [",{"type":43,"tag":155,"props":1422,"children":1423},{"style":168},[1424],{"type":49,"value":240},{"type":43,"tag":155,"props":1426,"children":1427},{"style":174},[1428],{"type":49,"value":1429},"android",{"type":43,"tag":155,"props":1431,"children":1432},{"style":168},[1433],{"type":49,"value":240},{"type":43,"tag":155,"props":1435,"children":1436},{"style":168},[1437],{"type":49,"value":1438},",",{"type":43,"tag":155,"props":1440,"children":1441},{"style":168},[1442],{"type":49,"value":230},{"type":43,"tag":155,"props":1444,"children":1445},{"style":174},[1446],{"type":49,"value":1447},"apple",{"type":43,"tag":155,"props":1449,"children":1450},{"style":168},[1451],{"type":49,"value":240},{"type":43,"tag":155,"props":1453,"children":1454},{"style":168},[1455],{"type":49,"value":1456},"],\n",{"type":43,"tag":155,"props":1458,"children":1459},{"class":157,"line":219},[1460,1464,1468,1472,1476],{"type":43,"tag":155,"props":1461,"children":1462},{"style":168},[1463],{"type":49,"value":1403},{"type":43,"tag":155,"props":1465,"children":1466},{"style":1226},[1467],{"type":49,"value":1447},{"type":43,"tag":155,"props":1469,"children":1470},{"style":168},[1471],{"type":49,"value":240},{"type":43,"tag":155,"props":1473,"children":1474},{"style":168},[1475],{"type":49,"value":1309},{"type":43,"tag":155,"props":1477,"children":1478},{"style":168},[1479],{"type":49,"value":1328},{"type":43,"tag":155,"props":1481,"children":1482},{"class":157,"line":247},[1483,1488,1493,1497,1501,1505,1509,1513,1517],{"type":43,"tag":155,"props":1484,"children":1485},{"style":168},[1486],{"type":49,"value":1487},"    \"",{"type":43,"tag":155,"props":1489,"children":1490},{"style":180},[1491],{"type":49,"value":1492},"modules",{"type":43,"tag":155,"props":1494,"children":1495},{"style":168},[1496],{"type":49,"value":240},{"type":43,"tag":155,"props":1498,"children":1499},{"style":168},[1500],{"type":49,"value":1309},{"type":43,"tag":155,"props":1502,"children":1503},{"style":168},[1504],{"type":49,"value":1420},{"type":43,"tag":155,"props":1506,"children":1507},{"style":168},[1508],{"type":49,"value":240},{"type":43,"tag":155,"props":1510,"children":1511},{"style":174},[1512],{"type":49,"value":1257},{"type":43,"tag":155,"props":1514,"children":1515},{"style":168},[1516],{"type":49,"value":240},{"type":43,"tag":155,"props":1518,"children":1519},{"style":168},[1520],{"type":49,"value":1521},"]\n",{"type":43,"tag":155,"props":1523,"children":1524},{"class":157,"line":967},[1525],{"type":43,"tag":155,"props":1526,"children":1527},{"style":168},[1528],{"type":49,"value":1529},"  },\n",{"type":43,"tag":155,"props":1531,"children":1532},{"class":157,"line":976},[1533,1537,1541,1545,1549],{"type":43,"tag":155,"props":1534,"children":1535},{"style":168},[1536],{"type":49,"value":1403},{"type":43,"tag":155,"props":1538,"children":1539},{"style":1226},[1540],{"type":49,"value":1429},{"type":43,"tag":155,"props":1542,"children":1543},{"style":168},[1544],{"type":49,"value":240},{"type":43,"tag":155,"props":1546,"children":1547},{"style":168},[1548],{"type":49,"value":1309},{"type":43,"tag":155,"props":1550,"children":1551},{"style":168},[1552],{"type":49,"value":1328},{"type":43,"tag":155,"props":1554,"children":1555},{"class":157,"line":984},[1556,1560,1564,1568,1572,1576,1580,1585,1589],{"type":43,"tag":155,"props":1557,"children":1558},{"style":168},[1559],{"type":49,"value":1487},{"type":43,"tag":155,"props":1561,"children":1562},{"style":180},[1563],{"type":49,"value":1492},{"type":43,"tag":155,"props":1565,"children":1566},{"style":168},[1567],{"type":49,"value":240},{"type":43,"tag":155,"props":1569,"children":1570},{"style":168},[1571],{"type":49,"value":1309},{"type":43,"tag":155,"props":1573,"children":1574},{"style":168},[1575],{"type":49,"value":1420},{"type":43,"tag":155,"props":1577,"children":1578},{"style":168},[1579],{"type":49,"value":240},{"type":43,"tag":155,"props":1581,"children":1582},{"style":174},[1583],{"type":49,"value":1584},"expo.modules.mymodule.MyModule",{"type":43,"tag":155,"props":1586,"children":1587},{"style":168},[1588],{"type":49,"value":240},{"type":43,"tag":155,"props":1590,"children":1591},{"style":168},[1592],{"type":49,"value":1521},{"type":43,"tag":155,"props":1594,"children":1595},{"class":157,"line":993},[1596],{"type":43,"tag":155,"props":1597,"children":1598},{"style":168},[1599],{"type":49,"value":1017},{"type":43,"tag":155,"props":1601,"children":1602},{"class":157,"line":1002},[1603],{"type":43,"tag":155,"props":1604,"children":1605},{"style":168},[1606],{"type":49,"value":1026},{"type":43,"tag":52,"props":1608,"children":1609},{},[1610,1612,1618],{"type":49,"value":1611},"Note: iOS uses just the class name; Android uses the fully-qualified class name (package + class). See ",{"type":43,"tag":108,"props":1613,"children":1615},{"className":1614},[],[1616],{"type":49,"value":1617},"references\u002Fmodule-config.md",{"type":49,"value":1619}," for all fields.",{"type":43,"tag":1621,"props":1622,"children":1623},"style",{},[1624],{"type":49,"value":1625},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":1627,"total":1832},[1628,1649,1672,1689,1705,1724,1743,1759,1775,1789,1801,1816],{"slug":1629,"name":1629,"fn":1630,"description":1631,"org":1632,"tags":1633,"stars":1646,"repoUrl":1647,"updatedAt":1648},"prior-auth-packet-builder","build healthcare prior authorization packets","Build a concise prior authorization packet from local case files and payer policy docs.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1634,1637,1640,1643],{"name":1635,"slug":1636,"type":15},"Documents","documents",{"name":1638,"slug":1639,"type":15},"Healthcare","healthcare",{"name":1641,"slug":1642,"type":15},"Insurance","insurance",{"name":1644,"slug":1645,"type":15},"Regulatory Compliance","regulatory-compliance",28169,"https:\u002F\u002Fgithub.com\u002Fopenai\u002Fopenai-agents-python","2026-04-16T05:11:39.180399",{"slug":1650,"name":1650,"fn":1651,"description":1652,"org":1653,"tags":1654,"stars":1669,"repoUrl":1670,"updatedAt":1671},"aspnet-core","build ASP.NET Core web applications","Build, review, refactor, or architect ASP.NET Core web applications using current official guidance for .NET web development. Use when working on Blazor Web Apps, Razor Pages, MVC, Minimal APIs, controller-based Web APIs, SignalR, gRPC, middleware, dependency injection, configuration, authentication, authorization, testing, performance, deployment, or ASP.NET Core upgrades.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1655,1658,1660,1663,1666],{"name":1656,"slug":1657,"type":15},".NET","dotnet",{"name":1659,"slug":1650,"type":15},"ASP.NET Core",{"name":1661,"slug":1662,"type":15},"Blazor","blazor",{"name":1664,"slug":1665,"type":15},"C#","csharp",{"name":1667,"slug":1668,"type":15},"Web Development","web-development",23787,"https:\u002F\u002Fgithub.com\u002Fopenai\u002Fskills","2026-04-12T05:07:02.819491",{"slug":1673,"name":1673,"fn":1674,"description":1675,"org":1676,"tags":1677,"stars":1669,"repoUrl":1670,"updatedAt":1688},"chatgpt-apps","build ChatGPT Apps SDK applications","Build, scaffold, refactor, and troubleshoot ChatGPT Apps SDK applications that combine an MCP server and widget UI. Use when Codex needs to design tools, register UI resources, wire the MCP Apps bridge or ChatGPT compatibility APIs, apply Apps SDK metadata or CSP or domain settings, or produce a docs-aligned project scaffold. Prefer a docs-first workflow by invoking the openai-docs skill or OpenAI developer docs MCP tools before generating code.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1678,1681,1684,1687],{"name":1679,"slug":1680,"type":15},"Apps SDK","apps-sdk",{"name":1682,"slug":1683,"type":15},"ChatGPT","chatgpt",{"name":1685,"slug":1686,"type":15},"MCP","mcp",{"name":9,"slug":8,"type":15},"2026-04-12T05:07:05.468097",{"slug":1690,"name":1690,"fn":1691,"description":1692,"org":1693,"tags":1694,"stars":1669,"repoUrl":1670,"updatedAt":1704},"cli-creator","build CLIs from API docs","Build a composable CLI for Codex from API docs, an OpenAPI spec, existing curl examples, an SDK, a web app, an admin tool, or a local script. Use when the user wants Codex to create a command-line tool that can run from any repo, expose composable read\u002Fwrite commands, return stable JSON, manage auth, and pair with a companion skill.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1695,1698,1701],{"name":1696,"slug":1697,"type":15},"API Development","api-development",{"name":1699,"slug":1700,"type":15},"CLI","cli",{"name":1702,"slug":1703,"type":15},"Codex","codex","2026-04-12T05:07:04.132762",{"slug":1706,"name":1706,"fn":1707,"description":1708,"org":1709,"tags":1710,"stars":1669,"repoUrl":1670,"updatedAt":1723},"cloudflare-deploy","deploy projects to Cloudflare","Deploy applications and infrastructure to Cloudflare using Workers, Pages, and related platform services. Use when the user asks to deploy, host, publish, or set up a project on Cloudflare.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1711,1714,1717,1720],{"name":1712,"slug":1713,"type":15},"Cloudflare","cloudflare",{"name":1715,"slug":1716,"type":15},"Cloudflare Pages","cloudflare-pages",{"name":1718,"slug":1719,"type":15},"Cloudflare Workers","cloudflare-workers",{"name":1721,"slug":1722,"type":15},"Deployment","deployment","2026-04-12T05:07:14.275118",{"slug":1725,"name":1725,"fn":1726,"description":1727,"org":1728,"tags":1729,"stars":1669,"repoUrl":1670,"updatedAt":1742},"define-goal","define and set measurable project goals","Help the user define a concrete, measurable goal before starting work, especially when they ask to use the goal tool, create a goal, set an objective, clarify success criteria, or turn a fuzzy intention into a quantitative outcome. Use this skill for goal creation and goal refinement only; it does not manage durable snapshots, decision logs, or long-running execution artifacts.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1730,1733,1736,1739],{"name":1731,"slug":1732,"type":15},"Productivity","productivity",{"name":1734,"slug":1735,"type":15},"Project Management","project-management",{"name":1737,"slug":1738,"type":15},"Strategy","strategy",{"name":1740,"slug":1741,"type":15},"Task Management","task-management","2026-05-23T06:17:16.870838",{"slug":1744,"name":1744,"fn":1745,"description":1746,"org":1747,"tags":1748,"stars":1669,"repoUrl":1670,"updatedAt":1758},"figma","translate Figma designs into code","Use the Figma MCP server to fetch design context, screenshots, variables, and assets from Figma, and to translate Figma nodes into production code. Trigger when a task involves Figma URLs, node IDs, design-to-code implementation, or Figma MCP setup and troubleshooting.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1749,1752,1754,1757],{"name":1750,"slug":1751,"type":15},"Design","design",{"name":1753,"slug":1744,"type":15},"Figma",{"name":1755,"slug":1756,"type":15},"Frontend","frontend",{"name":1685,"slug":1686,"type":15},"2026-04-12T05:06:47.939943",{"slug":1760,"name":1760,"fn":1761,"description":1762,"org":1763,"tags":1764,"stars":1669,"repoUrl":1670,"updatedAt":1774},"figma-code-connect-components","connect Figma designs to code components","Connects Figma design components to code components using Code Connect mapping tools. Use when user says \"code connect\", \"connect this component to code\", \"map this component\", \"link component to code\", \"create code connect mapping\", or wants to establish mappings between Figma designs and code implementations. For canvas writes via `use_figma`, use `figma-use`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1765,1766,1769,1770,1771],{"name":1750,"slug":1751,"type":15},{"name":1767,"slug":1768,"type":15},"Design System","design-system",{"name":1753,"slug":1744,"type":15},{"name":1755,"slug":1756,"type":15},{"name":1772,"slug":1773,"type":15},"UI Components","ui-components","2026-05-10T05:59:52.971881",{"slug":1776,"name":1776,"fn":1777,"description":1778,"org":1779,"tags":1780,"stars":1669,"repoUrl":1670,"updatedAt":1788},"figma-create-design-system-rules","generate design system rules from Figma","Generates custom design system rules for the user's codebase. Use when user says \"create design system rules\", \"generate rules for my project\", \"set up design rules\", \"customize design system guidelines\", or wants to establish project-specific conventions for Figma-to-code workflows. Requires Figma MCP server connection.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1781,1782,1783,1786,1787],{"name":1750,"slug":1751,"type":15},{"name":1767,"slug":1768,"type":15},{"name":1784,"slug":1785,"type":15},"Documentation","documentation",{"name":1753,"slug":1744,"type":15},{"name":1755,"slug":1756,"type":15},"2026-05-16T06:07:47.821474",{"slug":1790,"name":1790,"fn":1791,"description":1792,"org":1793,"tags":1794,"stars":1669,"repoUrl":1670,"updatedAt":1800},"figma-implement-design","translate Figma designs into application code","Translates Figma designs into production-ready application code with 1:1 visual fidelity. Use when implementing UI code from Figma files, when user mentions \"implement design\", \"generate code\", \"implement component\", provides Figma URLs, or asks to build components matching Figma specs. For Figma canvas writes via `use_figma`, use `figma-use`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1795,1796,1797,1798,1799],{"name":1750,"slug":1751,"type":15},{"name":1753,"slug":1744,"type":15},{"name":1755,"slug":1756,"type":15},{"name":1772,"slug":1773,"type":15},{"name":1667,"slug":1668,"type":15},"2026-05-16T06:07:40.583615",{"slug":1802,"name":1802,"fn":1803,"description":1804,"org":1805,"tags":1806,"stars":1669,"repoUrl":1670,"updatedAt":1815},"hatch-pet","create animated pets for Codex","Create, repair, validate, visually QA, and package Codex-compatible animated pets and pet spritesheets from character art, generated images, company or prospect brand cues, or visual references. Use when a user wants a lightweight-worker Codex pet workflow, a non-pixel custom pet style, a prospect or company mascot pet, or a full 8x9 animated pet atlas with transparent unused cells, QA contact sheets, and pet.json packaging. This skill composes the installed $imagegen system skill for visual generation and uses bundled scripts for deterministic spritesheet assembly.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1807,1810,1811,1814],{"name":1808,"slug":1809,"type":15},"Animation","animation",{"name":1702,"slug":1703,"type":15},{"name":1812,"slug":1813,"type":15},"Creative","creative",{"name":1750,"slug":1751,"type":15},"2026-05-02T05:31:48.48485",{"slug":1817,"name":1817,"fn":1818,"description":1819,"org":1820,"tags":1821,"stars":1669,"repoUrl":1670,"updatedAt":1831},"imagegen","generate and edit raster images","Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output should be a bitmap asset rather than repo-native code or vector. Do not use when the task is better handled by editing existing SVG\u002Fvector\u002Fcode-native assets, extending an established icon or logo system, or building the visual directly in HTML\u002FCSS\u002Fcanvas.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1822,1823,1824,1827,1830],{"name":1812,"slug":1813,"type":15},{"name":1750,"slug":1751,"type":15},{"name":1825,"slug":1826,"type":15},"Image Generation","image-generation",{"name":1828,"slug":1829,"type":15},"Images","images",{"name":9,"slug":8,"type":15},"2026-05-15T06:23:24.312127",675,{"items":1834,"total":1948},[1835,1852,1868,1880,1898,1916,1936],{"slug":1836,"name":1836,"fn":1837,"description":1838,"org":1839,"tags":1840,"stars":25,"repoUrl":26,"updatedAt":1851},"accessibility-and-inclusive-visualization","make data visualizations accessible","Make data visualizations accessible and inclusive. Use when the user needs chart or diagram accessibility guidance, text alternatives for complex visuals, color and contrast review, keyboard support, reduced-motion behavior for animation or parallax, or an accessibility QA workflow for exported figures, UML-like diagrams, and dashboards.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1841,1844,1847,1850],{"name":1842,"slug":1843,"type":15},"Accessibility","accessibility",{"name":1845,"slug":1846,"type":15},"Charts","charts",{"name":1848,"slug":1849,"type":15},"Data Visualization","data-visualization",{"name":1750,"slug":1751,"type":15},"2026-06-30T19:00:57.102",{"slug":1853,"name":1853,"fn":1854,"description":1855,"org":1856,"tags":1857,"stars":25,"repoUrl":26,"updatedAt":1867},"agent-browser","automate browser interactions for agents","Browser automation CLI for AI agents. Use when the user needs to interact with websites, verify dev server output, test web apps, navigate pages, fill forms, click buttons, take screenshots, extract data, or automate any browser task. Also triggers when a dev server starts so you can verify it visually.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1858,1861,1864],{"name":1859,"slug":1860,"type":15},"Agents","agents",{"name":1862,"slug":1863,"type":15},"Browser Automation","browser-automation",{"name":1865,"slug":1866,"type":15},"Testing","testing","2026-04-06T18:41:03.44016",{"slug":1869,"name":1869,"fn":1870,"description":1871,"org":1872,"tags":1873,"stars":25,"repoUrl":26,"updatedAt":1879},"agent-browser-verify","verify dev server output with automated browser","Automated browser verification for dev servers. Triggers when a dev server starts to run a visual gut-check with agent-browser — verifies the page loads, checks for console errors, validates key UI elements, and reports pass\u002Ffail before continuing.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1874,1875,1878],{"name":1862,"slug":1863,"type":15},{"name":1876,"slug":1877,"type":15},"Local Development","local-development",{"name":1865,"slug":1866,"type":15},"2026-04-06T18:41:17.526867",{"slug":1881,"name":1881,"fn":1882,"description":1883,"org":1884,"tags":1885,"stars":25,"repoUrl":26,"updatedAt":1897},"agents-sdk","build AI agents on Cloudflare Workers","Build AI agents on Cloudflare Workers using the Agents SDK. Load when creating stateful agents, durable workflows, real-time WebSocket apps, scheduled tasks, MCP servers, or chat applications. Covers Agent class, state management, callable RPC, Workflows integration, and React hooks. Biases towards retrieval from Cloudflare docs over pre-trained knowledge.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1886,1887,1888,1891,1894],{"name":1859,"slug":1860,"type":15},{"name":1718,"slug":1719,"type":15},{"name":1889,"slug":1890,"type":15},"SDK","sdk",{"name":1892,"slug":1893,"type":15},"Serverless","serverless",{"name":1895,"slug":1896,"type":15},"WebSockets","websockets","2026-04-06T18:39:51.717063",{"slug":1899,"name":1899,"fn":1900,"description":1901,"org":1902,"tags":1903,"stars":25,"repoUrl":26,"updatedAt":1915},"ai-elements","build chat UIs with AI Elements","AI Elements component library guidance — pre-built React components for AI interfaces built on shadcn\u002Fui. Use when building chat UIs, message displays, tool call rendering, streaming responses, reasoning panels, or any AI-native interface with the AI SDK.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1904,1905,1908,1911,1912],{"name":1755,"slug":1756,"type":15},{"name":1906,"slug":1907,"type":15},"React","react",{"name":1909,"slug":1910,"type":15},"shadcn\u002Fui","shadcn-ui",{"name":1772,"slug":1773,"type":15},{"name":1913,"slug":1914,"type":15},"Vercel","vercel","2026-04-06T18:40:59.619419",{"slug":1917,"name":1917,"fn":1918,"description":1919,"org":1920,"tags":1921,"stars":25,"repoUrl":26,"updatedAt":1935},"ai-gateway","configure Vercel AI Gateway","Vercel AI Gateway expert guidance. Use when configuring model routing, provider failover, cost tracking, or managing multiple AI providers through a unified API.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1922,1925,1928,1931,1934],{"name":1923,"slug":1924,"type":15},"AI Infrastructure","ai-infrastructure",{"name":1926,"slug":1927,"type":15},"Cost Optimization","cost-optimization",{"name":1929,"slug":1930,"type":15},"LLM","llm",{"name":1932,"slug":1933,"type":15},"Performance","performance",{"name":1913,"slug":1914,"type":15},"2026-04-06T18:40:44.377464",{"slug":1937,"name":1937,"fn":1938,"description":1939,"org":1940,"tags":1941,"stars":25,"repoUrl":26,"updatedAt":1947},"ai-generation-persistence","implement persistence patterns for AI generations","AI generation persistence patterns — unique IDs, addressable URLs, database storage, and cost tracking for every LLM generation",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1942,1943,1946],{"name":1926,"slug":1927,"type":15},{"name":1944,"slug":1945,"type":15},"Database","database",{"name":1929,"slug":1930,"type":15},"2026-04-06T18:41:08.513425",600]