agentsclimarketplace

Deslop

Skill Shankulkarni/react-native-ai-plugin/plugins/rn-ai/skills/deslop

Write better React Native code from day one - opinionated Claude Code rules, New Architecture ready.

Install
npx -y skills add Shankulkarni/react-native-ai-plugin --skill deslop

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Use when scanning a React Native app for code quality issues -- hardcoded URLs/secrets, console.logs, legacy bridge APIs, missing error boundaries, placeholder code.

SKILL.md

1.8 KB, 456 tokens by cl100k_base, as published. Nobody here has run it

Deslop -- RN App Code Quality

Run the scanner:

bash "${CLAUDE_PLUGIN_ROOT}/scripts/deslop.sh" ${ARGUMENT:-.}

What It Scans

Critical (exit 1, block deploy)

  • NativeModules usage -- legacy bridge, banned in New Architecture
  • requireNativeComponent -- use codegenNativeComponent instead
  • UIManager usage -- legacy bridge, banned
  • AsyncStorage usage -- banned, use MMKV or SecureStore
  • TouchableOpacity / TouchableHighlight -- banned, use Pressable
  • PanResponder -- banned, use Gesture Handler v2 GestureDetector
  • fetch( outside src/libs/ -- use axios instance
  • useEffect with fetch( -- use React Query
  • Hardcoded URLs (https://, http://) in source -- use EXPO_PUBLIC_ env vars
  • {expr && <Component>} -- renders 0 or false; use ternary or Boolean()

Medium (warn, review before release)

  • console.log / console.warn anywhere in src/ -- crashes in Reanimated worklets, banned everywhere
  • TODO / FIXME / HACK comments
  • form.watch( -- use useWatch
  • interface declaration -- use type instead
  • RN Image from react-native -- use expo-image
  • router.push('/ string -- use typed routes
  • style={} inline prop -- use className with NativeWind
  • Missing accessibilityRole on interactive elements

Low (info)

  • eslint-disable comments
  • @ts-ignore / @ts-expect-error
  • Default exports in src/ (except route files in app/)
  • any type annotations

Never Auto-Fix

  • Hardcoded secrets -- flag only, user removes
  • Legacy bridge APIs -- requires architectural change

After Scanning

List critical issues with file:line format. Suggest fix for each. Group by severity.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 326,970. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.