patching-libraries SKILL.md skillA

patching-libraries from anilburcu/claude-code-react-native is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add anilburcu/claude-code-react-native/patching-libraries@git:20260911.98ac3cb

Pins git:20260911.98ac3cb in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
anilburcu/claude-code-react-native
Path
plugins/rn/skills/patching-libraries/SKILL.md
Versions recorded
2
Latest version
git:20260911.98ac3cb, committed Sep 11, 2026
First version recorded
Jul 28, 2026
Size
3,719 bytes
Repository stars
3
License
MIT

Patching, forking or replacing broken third-party libraries. Use when a dependency has a bug with no released fix, for patch-package versus fork decisions, patches breaking after an upgrade, or an abandoned library.

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

# Patching third-party libraries without regret

## The decision ladder

Work down, stop at the first rung that holds:

1. **A released fix exists**: upgrade. Check the library's releases and the issue matching your exact error before doing anything clever.
2. **The fix is small and upstream is alive**: patch locally AND open the upstream PR (or link the existing one). The patch is a bridge, not a home.
3. **The fix is small and upstream is dead**: patch locally and put the library on the replacement list. A patched corpse is still a corpse.
4. **The library is dead and load-bearing**: replace it with the maintained alternative. The new-architecture skill lists the standard swaps.
5. **No alternative exists and the code is small**: vendor it (copy the source into the repo, keep its license header, own it openly). Honest ownership beats a fork nobody watches.
6. **Fork** only when you truly need a living divergent copy. A fork is a maintenance subscription with no unsubscribe button: every upstream fix, security patch and New Architecture change becomes your homework.

## Patch mechanics
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add anilburcu/claude-code-react-native/patching-libraries@sha256:80ebae7574095084

The line at the top of this page pins the label git:20260911.98ac3cb, 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_intdqjq4mlvi2mx3.svg)](https://markdownregistry.com/a/art_intdqjq4mlvi2mx3)

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

Versions

The registry has recorded 2 versions of this file, between Jul 28, 2026 and Sep 11, 2026, about one every 45 days.

versioncommittedcommitsizeaudit
git:20260911.98ac3cb latest2026-09-11 98ac3cb 3,719 BA view · diff
git:20260728.436a4352026-07-28 436a435 3,789 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 (3719 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

anilburcu/claude-code-react-native · 3 stars · license MIT · pushed 2026-09-11 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_intdqjq4mlvi2mx3
GET https://markdownregistry.com/api/v1/resolve?ref=anilburcu/claude-code-react-native/patching-libraries
GET https://markdownregistry.com/api/v1/blob/80ebae7574095084b5736465bb821d1d5a4f7d50d92d57de4e69e9ddc9b420b8

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 anilburcu/claude-code-react-native

deep-linking SKILL.md skill
anilburcu/claude-code-react-native · plugins/rn/skills/deep-linking/SKILL.md · Deep links, universal links and app links in React Native. Use when links do not open the app, for…
git:20260911.98ac3cb · audit A · 3 stars
eas-release SKILL.md skill
anilburcu/claude-code-react-native · plugins/rn/skills/eas-release/SKILL.md · EAS builds, OTA updates and store submission. Use for eas.json profiles, safe OTA publishing, App Store or Play Store…
git:20260911.98ac3cb · audit A · 3 stars
expo-sdk-upgrade SKILL.md skill
anilburcu/claude-code-react-native · plugins/rn/skills/expo-sdk-upgrade/SKILL.md · Upgrading Expo SDK and React Native safely. Use when bumping the SDK or react-native, or when the app broke after an…
git:20260911.98ac3cb · audit A · 3 stars
fix-build SKILL.md skill
anilburcu/claude-code-react-native · plugins/rn/skills/fix-build/SKILL.md · Diagnose and fix a failing iOS or Android build. Use when the build is broken, pod install or Gradle fails, or the user…
git:20260911.98ac3cb · audit A · 3 stars
hermes-crashes SKILL.md skill
anilburcu/claude-code-react-native · plugins/rn/skills/hermes-crashes/SKILL.md · Decoding Hermes crashes and minified production stack traces. Use for "address at index.android.bundle" frames…
git:20260911.98ac3cb · audit A · 3 stars
in-app-purchases SKILL.md skill
anilburcu/claude-code-react-native · plugins/rn/skills/in-app-purchases/SKILL.md · In-app purchases and subscriptions with RevenueCat. Use for paywalls, odd sandbox behavior, premium not arriving after…
git:20260911.98ac3cb · audit A · 3 stars
log-triage SKILL.md skill
anilburcu/claude-code-react-native · plugins/rn/skills/log-triage/SKILL.md · Working with huge build and device logs. Use when a build prints hundreds of lines, for adb logcat or simulator logs…
git:20260911.98ac3cb · audit A · 3 stars
monorepo-metro SKILL.md skill
anilburcu/claude-code-react-native · plugins/rn/skills/monorepo-metro/SKILL.md · React Native and Expo in monorepos. Use for Invalid hook call or duplicate react-native in a workspace app, Metro not…
git:20260911.98ac3cb · audit A · 3 stars
native-build-errors SKILL.md skill
anilburcu/claude-code-react-native · plugins/rn/skills/native-build-errors/SKILL.md · Diagnosing failed iOS and Android builds. Use for pod install, Gradle, Xcode or linker errors, pasted native build…
git:20260911.98ac3cb · audit B · 3 stars
new-arch-check SKILL.md skill
anilburcu/claude-code-react-native · plugins/rn/skills/new-arch-check/SKILL.md · Audit dependencies for New Architecture compatibility and maintenance status. Use when the user asks whether their…
git:20260911.98ac3cb · audit A · 3 stars
new-architecture SKILL.md skill
anilburcu/claude-code-react-native · plugins/rn/skills/new-architecture/SKILL.md · React Native New Architecture (Fabric, TurboModules, bridgeless) compatibility. Use when a library breaks under it, for…
git:20260911.98ac3cb · audit A · 3 stars
perf-audit SKILL.md skill
anilburcu/claude-code-react-native · plugins/rn/skills/perf-audit/SKILL.md · Scan the codebase for React Native performance antipatterns and report ranked findings. Use for a performance review, a…
git:20260911.98ac3cb · audit A · 3 stars

Every file in anilburcu/claude-code-react-native

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