navigation-architecture

Trace deep-link routing through router contracts to feature-owned UI destinations.

51|6|Updated Mar 10, 2019
One-click install
npx skills add https://github.com/AniTrend/anitrend-v2 --skill navigation-architecture
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: navigation-architecture
Source: https://github.com/AniTrend/anitrend-v2/tree/main/.agents/skills/navigation-architecture
Command: npx skills add https://github.com/AniTrend/anitrend-v2 --skill navigation-architecture

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you understand and debug AniTrend’s hybrid navigation model so you can trace how a URI or in-app action reaches the correct Activity, Fragment, or Compose screen without breaking module boundaries.

Core Features & Use Cases

  • Clarifies the three-layer navigation model (DeepLink entry → shared router contracts → feature-owned destinations) with concrete flow guidance.
  • Guides safe extension of navigation by updating the correct layer (deeplink routes, shared routers, feature providers, and DI/Koin bindings).
  • Supports architecture drift reviews by helping you verify whether a feature is legacy fragment-backed, Activity-only, or Compose-local NavHost based.

Quick Start

Use navigation-architecture to trace a deep link or router call from its entry point to the final Activity or Fragment implementation, then decide which layer should be changed to add or modify the destination.

Frequently Asked Questions about navigation-architecture

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I trace deep links to feature destinations during a Compose migration?

Trace deep links by following URI entry points through shared router contracts to feature-owned UI destinations. This involves navigating the three-layer model of deep link entry, shared routers, and feature providers to identify the correct Activity, Fragment, or Compose screen target.

How does navigation routing work with router contracts and Koin?

Navigation routing works by resolving deep link routes through NavigationTargets router contracts, which are then backed by Koin FeatureProvider implementations. This bridges deep link parsing to the correct feature module hosting the final UI destination.

Can I use Compose NavHost alongside legacy Activity and Fragment navigation?

Yes, you can use Compose NavHost alongside legacy navigation, but you must respect Activity-to-Fragment bridge boundaries. The architecture supports verifying whether a feature is fragment-backed, Activity-only, or Compose-local NavHost based during your staged migration.

Why does my deep link route to the wrong Activity or Fragment target?

A deep link routes to the wrong target when module boundaries are broken or router contracts are mismatched. Debugging requires tracing the URI through the deep link entry, shared router contracts, and feature providers to find where the routing logic diverges from the intended destination.

What are the limitations of modifying navigation architecture across feature modules?

The main limitation is respecting architecture boundaries across deeplink, app/navigation, and feature modules. When modifying navigation, you cannot update just one layer; deeplink Route parsing and feature hosting must be updated consistently to avoid breaking the Activity-to-Fragment bridge.