Deslop
Skill Shankulkarni/RN-Lib-Claude/plugins/rn-lib-claude/skills/deslop
Use when scanning a React Native library for code quality issues — legacy bridge APIs, console.log in worklets, hardcoded values, missing peer deps, placeholder code.From its SKILL.md
npx -y skills add Shankulkarni/RN-Lib-Claude --skill deslopAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 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.
SKILL.md
1.6 KB, 367 tokens by cl100k_base, as published. Nobody here has run it
Deslop — RN Library Code Quality
Run the scanner:
bash "${CLAUDE_PLUGIN_ROOT}/plugins/rn-lib-claude/scripts/deslop.sh" ${ARGUMENT:-.}
What It Scans
Critical (exit 1, block publish)
NativeModulesusage — legacy bridge, banned in New ArchitecturerequireNativeComponent— usecodegenNativeComponentinsteadUIManager— legacy bridge APIconsole.loginside worklet functions — crashes New Architecture runtimethrow new Error('TODO')/ empty function bodies — placeholder code- Hardcoded secrets or API keys in source
- Empty catch blocks
catch (e) {} import { Animated } from 'react-native'— use Reanimated
Medium (warn, review before publish)
console.log/console.warnanywhere insrc/— remove before publishTODO/FIXME/HACKcomments insrc/- Hardcoded colors (
'#fff','red','black') — should be props - Hardcoded dimensions (magic numbers without comment)
PanResponder— use GestureDetector
Low (info)
eslint-disablecomments — should fix root cause@ts-ignore/@ts-expect-error— should fix type issue- Missing
displayNameon components - Default exports — should be named exports
Never Auto-Fix
- Hardcoded secrets — flag only, user removes
- Legacy bridge APIs — requires native code rewrite
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.