callstackincubator/apex-software-factory / .agents/skills/swm-react-native-best-practices
swm-react-native-best-practices
VerifiedSoftware Mansion's best practices for React Native and Expo on the New Architecture: Reanimated 4 animations, Gesture Handler, react-native-svg, and react-native-worklets threading. Read the sub-skill in references/ that matches the topic.
SOURCE.md
View on GitHub# Source
- Upstream: https://github.com/software-mansion-labs/skills, commit
`e3f00cdb34942cee8b788abe10fe0d78a7f2b4e9` (read 2026-10-05). MIT License (the repository's
README; no license file).
- Files: `skills/react-native-best-practices/SKILL.md` → `SKILL.md`;
`references/{animations,gestures,svg,multithreading}/` → `references/`.
## Local changes
- Formatted with `pnpm format` (oxfmt), like the rest of the repository; re-run it after an
update.
- `metadata.opencode/autoinvoke: false` added to the frontmatter: the skill is left out of every
agent's skill list, and only the implementer may load it, by name, from the table in the
`implement` skill (ADR 0022).
- The directory and `name` are `swm-react-native-best-practices`: Callstack's skill has the
same upstream name, and OpenCode keys a skill by its directory.
- Each sub-skill's `SKILL.md` is renamed `index.md`. OpenCode discovers every `**/SKILL.md`
under `.agents/skills/` as a skill of its own, which would put `animations`, `gestures` and
the rest in every agent's list.
- Only four of the nine sub-skills are vendored, the ones for libraries in the booth binary
(Reanimated, Gesture Handler, react-native-svg, react-native-worklets). Left out:
`on-device-ai`, `rich-text`, `audio`, `jsi`, and `enable-worklets-bundle-mode` (it patches
Metro and changes the Babel setup). The description and sub-skill table are cut to match, and the
two pointers to the Bundle Mode sub-skill say it is not vendored.
## Updating
Take the files from a newer commit, re-apply the changes above, and update the commit here.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 470k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |