craft-coder/mobile/mobile-ui/SKILL.md
Mobile UI patterns, gestures, animations, and platform-specific design.
npx skillsauth add timequity/plugins 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>
);
}
tools
Backup strategies, disaster recovery planning, and business continuity.
devops
Cloud cost management, rightsizing, and FinOps practices.
testing
CI/CD pipeline design with GitHub Actions, GitLab CI, and best practices.
development
Validate idea and create detailed PRD. Saves docs/PRD.md to project. Use when: user describes an app idea, wants to create something new. Triggers: "I want to build", "create app", "make website", "build MVP", "хочу создать", "сделать приложение".