muratcakmak/shipwright/adapt-platform

Claude Code and agent skill by muratcakmak/shipwright

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Apply iOS-specific platform refinements to a React Native screen. Adds blur effects, haptics, SF Symbols, proper safe area handling, Dynamic Type support, and platform-appropriate gestures. Use after implementing a screen to make it feel native iOS.

Install

npx vskill@latest install muratcakmak/shipwright/adapt-platform

SKILL.md

The same SKILL.md was published earlier as muratcakmak/shipwright/adapt-platform.

Adapt Platform

Apply iOS-native refinements to make a React Native screen feel like a first-class iOS app.

Target screen: $ARGUMENTS

MANDATORY PREPARATION

  1. Read Shipwright Context from CLAUDE.md
  2. Read the target screen's source code
  3. Check installed dependencies in package.json for:
  • expo-blur — blur effects
  • expo-haptics — haptic feedback
  • expo-symbols — SF Symbols
  • react-native-context-menu-view — context menus
  • react-native-safe-area-context — safe areas

REFINEMENTS

1. Blur Effects

Replace solid color headers/tab bars/overlays with blur:

tsx
import { BlurView } from 'expo-blur';
<BlurView intensity={80} tint={isDark ? 'dark' : 'light'} style={styles.header}>
{/* Header content */}
</BlurView>

Use for: navigation bars, tab bars, modal backgrounds, floating action buttons.

2. Haptic Feedback

Add haptics to key interactions:

tsx
import * as Haptics from 'expo-haptics';
// Button press
<Pressable onPress={() => {
Haptics.impactAsync(Haptics.ImpactFeedbackStyle.Medium);
handlePress();
}}>
// Selection change
Haptics.selectionAsync();
// Success/Error
Haptics.notificationAsync(Haptics.NotificationFeedbackType.Success);

Use for: button presses, toggle switches, pull-to-refresh trigger, destructive actions, successful submissions.

3. SF Symbols

Replace custom icons with SF Symbols where possible:

tsx
import { SymbolView } from 'expo-symbols';
<SymbolView name="heart.fill" tintColor={colors.primary} size={24} />

Common mappings:

  • Back: chevron.left
  • Settings: gearshape
  • Search: magnifyingglass
  • Add: plus
  • Delete: trash
  • Share: square.and.arrow.up
  • Edit: pencil
  • More: ellipsis
  • Close: xmark
4. Dynamic Type Support

Ensure text scales with system accessibility settings:

tsx
// Text already scales by default (allowFontScaling: true)
// But containers must accommodate larger text:
<View style={{ minHeight: 44, paddingVertical: spacing.sm }}>
<Text style={typography.body}>{content}</Text>
</View>
// For testing, change text size in simulator:
// Settings → Accessibility → Display & Text Size → Larger Text
5. Context Menus

Add long-press context menus for actionable items:

tsx
import ContextMenu from 'react-native-context-menu-view';
<ContextMenu
actions={[
{ title: 'Copy', systemIcon: 'doc.on.doc' },
{ title: 'Share', systemIcon: 'square.and.arrow.up' },
{ title: 'Delete', systemIcon: 'trash', destructive: true },
]}
onPress={({ nativeEvent }) => handleAction(nativeEvent.name)}
>
<ListItem />
</ContextMenu>
6. Platform-Appropriate Gestures
  • Swipe to go back: Enabled by default with native-stack — don't override
  • Swipe to delete: Use Swipeable from gesture-handler for list items
  • Pull to dismiss: Use gestureDirection: 'vertical' for modals
  • Long press: For context menus, not for selection (that's an Android pattern)
7. Proper Modal Presentation
tsx
// In navigator options:
{
presentation: 'modal', // iOS card-style modal
gestureDirection: 'vertical', // Pull down to dismiss
headerShown: true,
headerLeft: () => null, // No back button on modals
headerRight: () => <CloseButton />,
}
// For form sheets (smaller modal):
{
presentation: 'formSheet',
sheetAllowedDetents: [0.5, 1.0], // Half and full height
sheetGrabberVisible: true,
}
8. System Colors

Use iOS system colors for consistency:

tsx
import { PlatformColor } from 'react-native';
// Or through your token system — map semantic colors to iOS equivalents
backgroundColor: colors.systemBackground, // adapts to light/dark
tintColor: colors.systemBlue, // adapts to accessibility settings

CHECKLIST

  • [ ] Solid color overlays replaced with blur where appropriate
  • [ ] Haptic feedback added to key interactions
  • [ ] SF Symbols used where available
  • [ ] Dynamic Type tested at large and accessibility sizes
  • [ ] Context menus added for actionable list items
  • [ ] Modal presentation uses iOS patterns (sheet, form sheet)
  • [ ] Gestures are platform-appropriate (no Android patterns)
  • [ ] Safe areas properly handled for all device types

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/muratcakmak/shipwright/adapt-platform/badge)](https://verified-skill.com/skills/muratcakmak/shipwright/adapt-platform)

Something wrong with this skill or its page? Tell us.