flutter-core-modules: Skill for Claude Code

.claude/skills/feature-route/SKILL.md

feature-route is a skill for Claude Code from sampaio-tech/flutter-core-modules. It costs 69 tokens per session (1,479 once invoked), scanned A, original, MIT.

A Flutter presentation feature for building an iOS-style tab navigation shell, where each tab can contain its own navigation stack.

In plain words
What is it for?
Set up tabs, their icons and labels, per-tab navigation keys, named routes, restoration settings, and navigation observers for analytics.
Why use it?
It provides a consistent structure for tab navigation, back-button behavior, and returning to a tab's root screen.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is sampaio-tech/flutter-core-modules's own configuration. It tells Claude Code how to work on flutter-core-modules itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything flutter-core-modules configures →

Reuse

Borrowing it

Nothing to install: this file belongs to sampaio-tech/flutter-core-modules. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/sampaio-tech/flutter-core-modules/main/.claude/skills/feature-route/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/sampaio-tech/flutter-core-modules

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for feature-route

README.md
[![agentmods](https://agentmods.dev/badge/skills/sampaio-tech/flutter-core-modules/feature-route/github.svg)](https://agentmods.dev/skills/sampaio-tech/flutter-core-modules/feature-route)
Your own site
<a href="https://agentmods.dev/skills/sampaio-tech/flutter-core-modules/feature-route"><img src="https://agentmods.dev/badge/skills/sampaio-tech/flutter-core-modules/feature-route/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for feature-route

Your own site · 80×15
<a href="https://agentmods.dev/skills/sampaio-tech/flutter-core-modules/feature-route"><img src="https://agentmods.dev/badge/skills/sampaio-tech/flutter-core-modules/feature-route.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,479 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00069 $0.01479
Opus 5.5 $0.00028 $0.00592
Sonnet 5.5 $0.00014 $0.00296
Haiku 4.5 $0.00007 $0.00148

Measured 2mo ago against content hash 7a823d297487, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

feature-route scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/feature-route/SKILL.md · 191 lines

How it starts

The opening of the file, as written. The whole thing — 191 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Feature: Route

Purpose: Provides a ready-made iOS-style tab navigation shell (CupertinoTabScaffold + CupertinoTabView) with system-back handling, pop-to-root on double-tap, analytics observer integration, and per-tab GlobalKey<NavigatorState> management via Riverpod.

There is no domain or data layer — this feature is presentation-only.


Layer Map

lib/src/features/route/
└── presentation/
    ├── utils/navigation_observers.dart     # defaultNavigatorObservers()
    └── widgets/shell_route_widget.dart     # ShellRouteWidget + NavigationTab + navigatiorKeyProvider

Core Abstractions

NavigationTab — Abstract Tab Definition

File: lib/src/features/route/presentation/widgets/shell_route_widget.dart

abstract class NavigationTab {
  final String name;         // unique identifier
  final IconData icon;       // tab bar icon
  final bool initialTab;     // set true for the default selected tab
  final String? restorationScopeId;

  // Override to provide localized label:
  String label(BuildContext context);

  // Optional: override to provide named routes:
  Map<String, Widget Function(BuildContext)>? get routes;

  // Optional: default title for the CupertinoTabView:
  String? defaultTitle(BuildContext context) => null;

  // Optional: analytics + other navigator observers for this tab:
  List<NavigatorObserver> navigatorObservers(BuildContext context) => [];

  // Resolved via Riverpod — stable GlobalKey per tab instance:
  GlobalKey<NavigatorState> navigatorKey(BuildContext context);
}

Implement this abstract class once per tab in the consuming app.

navigatiorKeyProvider — Per-Tab Navigator Key

// Note: "navigatior" is the spelling used in the codebase (not a typo to fix)
final navigatiorKeyProvider =
    Provider.family<GlobalKey<NavigatorState>, NavigationTab?>(
      (ref, args) => GlobalKey<NavigatorState>(),
    );

Each NavigationTab.navigatorKey(context) calls ProviderScope.containerOf(context).read(navigatiorKeyProvider(this)), which creates a stable GlobalKey per tab identity (based on == + hashCode).

Read the full file on GitHub · 191 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 191 lines · 69 tokens per session scan A 7a823d297487

Subscribe to this mod's changes

feature-route is a skill published in the GitHub repository sampaio-tech/flutter-core-modules (2 stars, last pushed 16d ago), licensed MIT. It adds 69 tokens to every session and 1,479 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

orca-emulator-android

Android device and emulator control from inside Orca over adb, with the live device view in Orca's emulator pane. Use when driving an adb-connected emulator or phone on Windows, Linux, or macOS: booting AVDs, taps, swipes, typing, hardware buttons, rotation, app install and launch, runtime permissions, the…

stablyai/orca · 102 tokens

glance-canonical-layouts

Use this skill to create home screen widgets using Jetpack Glance Canonical Layouts from the Android Platform Samples project, or when asked to implement standard widget layout patterns (including Check List, Image Grid, Snap Scrolling, and Standard Toolbar).

android/skills · 56 tokens

android-tombstone-symbolication

Symbolicate the .NET runtime frames in an Android tombstone file. Extracts BuildIds and PC offsets from the native backtrace, downloads debug symbols from the Microsoft symbol server, and runs llvm-symbolizer to produce function names with source file and line numbers. USE FOR triaging a .NET MAUI or Mono Android app…

dotnet/skills · 176 tokens

dogfood

Systematically explore and test a mobile app on iOS/Android with agent-device to find bugs, UX issues, and other problems. Use when asked to dogfood, QA, exploratory test, find issues, bug hunt, or test this app on mobile.

callstack/agent-device · 55 tokens

winapp-maui

Package and sign .NET MAUI Windows apps with winapp: publish the Windows head first, then point packaging at the resolved resizetizer manifest. Use for a MAUI MSIX or signed unpackaged build, MAUI packaging in CI, or 'manifest contains unresolved placeholders' errors from winapp package.

microsoft/winappCli · 68 tokens

android-pentest

A guide for authorized security testing of Android apps, covering APK inspection, runtime testing, traffic capture, code review, and function hooking. An APK is the installable package used by an Android app.

Netw0rkNoob/VulnClaw · 32 tokens