Skip to content
Back to skills

Navigation Patterns

ASecurity

Provides React Navigation architecture and deep link validation patterns; use when designing mobile app navigation, implementing deep linking, or handling auth flows.

  • 19 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 19, 2026
ai-agentstypescriptgoreact

Security analysis

A100/100

Scanned October 19, 2026

npx -y skills add sawrus/agent-guides --skill navigation-patterns --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Navigation Patterns?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Navigation Patterns
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sawrus-navigation-patterns/badge)](https://www.skillsdirectory.com/skills/sawrus-navigation-patterns)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: navigation-patterns
description: "Provides React Navigation architecture and deep link validation patterns; use when designing mobile app navigation, implementing deep linking, or handling auth flows."
---

# Skill: Navigation Patterns (React Navigation)

## When to load

When designing app navigation, implementing deep linking, or handling auth flows.

## Architecture

```typescript
const RootNavigator = () => {
  const { isAuthenticated, isLoading } = useAuth();
  if (isLoading) return <SplashScreen />;

  return (
    <NavigationContainer linking={linking} ref={navigationRef}>
      {isAuthenticated ? <AppNavigator /> : <AuthNavigator />}
    </NavigationContainer>
  );
};

const AppNavigator = () => (
  <BottomTabs.Navigator>
    <BottomTabs.Screen name="HomeTab" component={HomeStackNavigator} />
    <BottomTabs.Screen name="ProfileTab" component={ProfileStackNavigator} />
  </BottomTabs.Navigator>
);
```

## Deep Link Validation

```typescript
export const linking: LinkingOptions<RootStackParamList> = {
  prefixes: ['myapp://', 'https://myapp.com'],
  config: {
    screens: {
      HomeTab: {
        screens: {
          OrderDetail: {
            path: 'orders/:orderId',
            parse: { orderId: String },
            // Sanitize: only alphanumeric and dashes
            stringify: { orderId: (id) => id.replace(/[^a-zA-Z0-9-]/g, '') },
          },
        },
      },
    },
  },
};
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.