
callstackincubator/agent-skills
6 skills36.3k installs8.5k starsGitHub
Install
npx skills add https://github.com/callstackincubator/agent-skillsSkills in this repo
1React Native Best PracticesReact Native Best Practices is a performance playbook for solo and indie builders shipping Expo or bare React Native apps. The skill packages guideline files you invoke when the app feels janky, animations stutter, startup (TTI) is slow, bundles are bloated, or you suspect JS or native memory leaks. Each topic uses a fast-lookup layout—incorrect versus correct snippets, shell measurement commands, config snippets, summary tables, and deeper step-by-step sections with prerequisites and common pitfalls. Scope spans the JavaScript thread, React rendering, lists (including FlashList), animations, Hermes tuning, native module/bridge overhead, and binary/bundle size. It does not replace product design or greenfield scaffolding; it steers agents toward evidence-based fixes aligned with production RN work. Use during active mobile build work and again before launch when you harden perf budgets.15.7kinstalls2Upgrading React NativeUpgrading React Native is an agent skill from Callstack that walks solo and indie builders through the full React Native version bump: choosing the right upgrade path, applying rn-diff-purge / Upgrade Helper template diffs, updating npm dependencies, aligning React if needed, migrating native iOS and Android configuration (CocoaPods, Gradle), handling breaking API changes, and optionally layering an Expo SDK upgrade. It is built for moments when you must move from one RN 0.x to another, refresh a stale mobile stack before shipping fixes, or unblocks CI after a failed bump. The workflow emphasizes sequencing—diff first, then deps, then Expo, then verify—so you do not patch random files while the template drift remains. Expect shell and registry access to read current versions and fetch diffs. Intermediate-to-advanced familiarity with Xcode, Android Studio, and package managers helps; the skill reduces guesswork but not the need to resolve project-specific breakages.5.3kinstalls3GithubGitHub Workflows is an agent skill for solo and indie builders who ship feature stacks as chained pull requests. It documents the Merge PR Chain pattern: when PR #2 targets PR #1’s branch and only the tip targets main indirectly, you squash-merge from the bottom up, rebase each subsequent branch onto updated main excluding the old base’s commits, retarget the PR base to main, and merge again. The skill fits Claude Code, Cursor, Codex, and similar agents that can run git and GitHub CLI in your repo. Use it during ship and review when you want a clean main history without manually cherry-picking or losing per-PR attribution. It assumes gh is authenticated, branches are named in the chain, and you accept force-with-lease after intentional rebases. It does not replace branch protection policy, CI gates, or conflict resolution judgment—you still fix conflicts and wait for checks between steps.4.9kinstalls4Github ActionsGitHub Actions Builds is an agent skill for solo and indie React Native developers who want cloud-built Android emulator APKs without reinventing workflow YAML on every repo. It centers on a composite action you copy into `.github/actions/github-actions/android-build/action.yml`, then wire into workflows so Linux runners with JDK 17, the Android SDK, and your Gradle wrapper produce debug-style emulator artifacts and upload them reliably. The skill explains when to use it—needing emulator binaries for QA, wanting one action to toggle variants, or needing stable download paths via `gh` and GitHub’s API—and how outputs flow into later jobs. It is intermediate complexity because you must already have RN dependencies installed and SDK tooling in the repository. It is not a full mobile release or iOS pipeline; it is a focused DevOps pattern from the Callstack incubator skill set for RN CLI teams shipping with Claude Code, Cursor, or Codex.4kinstalls5Validate Skillsvalidate-skills is a checker skill for solo builders and small teams who maintain a `skills/` tree for Claude Code or compatible agents. Invoked via `/validate-skills`, it walks each skill directory, reads SKILL.md, and scores compliance with the agentskills.io specification plus Claude-oriented authoring norms—name and folder alignment, description length and voice, optional license and metadata, body size limits, link formatting, and avoidance of duplicated frontmatter in the body. It is meant as a repeatable lint pass before you commit skill changes, open a PR on a skill monorepo, or publish to a directory like Prism. The output is a per-skill issue list you can fix in place without guessing which rule failed. Pair it with your normal git workflow: find directories, validate, patch SKILL.md, re-run until clean.3.8kinstalls6React Native Brownfield MigrationReact Native Brownfield Migration is a prescriptive agent skill from Callstack for solo builders and small teams stuck on legacy native code who still want React Native velocity. It enforces an incremental adoption path: assess whether Expo or bare fits, run initial brownfield setup, package React Native as XCFramework on iOS and AAR on Android, integrate a single surface into the host app, validate startup and runtime, then repeat per feature. Global guardrails require picking one track per task and substituting documented placeholders for real module and target names. The skill is intermediate-to-advanced mobile work aimed at shipping one integrated screen before committing to wider migration. It reduces the all-or-nothing rewrite risk that kills indie timelines while keeping native navigation and authentication layers intact until you choose to replace them.2.5kinstalls