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.
npx -y skills add Shankulkarni/react-native-ai-plugin --skill deslopAssembled 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)
NativeModulesusage -- legacy bridge, banned in New ArchitecturerequireNativeComponent-- usecodegenNativeComponentinsteadUIManagerusage -- legacy bridge, bannedAsyncStorageusage -- banned, use MMKV or SecureStoreTouchableOpacity/TouchableHighlight-- banned, use PressablePanResponder-- banned, use Gesture Handler v2GestureDetectorfetch(outsidesrc/libs/-- use axios instanceuseEffectwithfetch(-- use React Query- Hardcoded URLs (
https://,http://) in source -- useEXPO_PUBLIC_env vars {expr && <Component>}-- renders0orfalse; use ternary orBoolean()
Medium (warn, review before release)
console.log/console.warnanywhere insrc/-- crashes in Reanimated worklets, banned everywhereTODO/FIXME/HACKcommentsform.watch(-- useuseWatchinterfacedeclaration -- usetypeinstead- RN
Imagefromreact-native-- useexpo-image router.push('/string -- use typed routesstyle={}inline prop -- useclassNamewith NativeWind- Missing
accessibilityRoleon interactive elements
Low (info)
eslint-disablecomments@ts-ignore/@ts-expect-error- Default exports in
src/(except route files inapp/) anytype 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.