skills/mobile/mobile-ui/SKILL.md
Mobile UI patterns, gestures, animations, and platform-specific design.
npx skillsauth add timequity/vibe-coder mobile-uiInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
import Animated, {
useAnimatedStyle,
useSharedValue,
withSpring,
} from 'react-native-reanimated';
function AnimatedCard() {
const scale = useSharedValue(1);
const animatedStyle = useAnimatedStyle(() => ({
transform: [{ scale: scale.value }],
}));
const onPressIn = () => {
scale.value = withSpring(0.95);
};
const onPressOut = () => {
scale.value = withSpring(1);
};
return (
<Pressable onPressIn={onPressIn} onPressOut={onPressOut}>
<Animated.View style={[styles.card, animatedStyle]}>
{/* content */}
</Animated.View>
</Pressable>
);
}
import { Gesture, GestureDetector } from 'react-native-gesture-handler';
function SwipeableCard() {
const translateX = useSharedValue(0);
const pan = Gesture.Pan()
.onUpdate((e) => {
translateX.value = e.translationX;
})
.onEnd(() => {
if (Math.abs(translateX.value) > THRESHOLD) {
// Swipe action
}
translateX.value = withSpring(0);
});
return (
<GestureDetector gesture={pan}>
<Animated.View style={animatedStyle} />
</GestureDetector>
);
}
import BottomSheet from '@gorhom/bottom-sheet';
function MyBottomSheet() {
const snapPoints = useMemo(() => ['25%', '50%', '90%'], []);
return (
<BottomSheet snapPoints={snapPoints}>
<View>{/* content */}</View>
</BottomSheet>
);
}
development
Hidden quality gate that runs before showing "Done!" to user - ensures all tests pass, build succeeds, and requirements met before claiming completion
data-ai
Use when about to claim work is complete or fixed - requires running verification commands and confirming output before making any success claims
tools
Generate UI components from natural language descriptions. Use when: user asks for a page, component, or UI element. Triggers: "create page", "add component", "show form", "make button", "страница", "компонент", "форма".
content-media
10 ready-to-use themes with colors and fonts for consistent styling. Use when: applying visual themes to pages, components, or design systems. Triggers: "theme", "color palette", "color scheme", "fonts", "branding", "visual identity", "design system colors".