rugged-gemini: Skill for Claude Code

.gemini/skills/project-structure-flutter/SKILL.md

project-structure-flutter is a skill for Claude Code, Gemini CLI from irahardianto/rugged-gemini. It costs 0 tokens per session (577 once invoked), scanned A, original, MIT.

A recommended folder structure for Flutter mobile apps that keeps each feature in a self-contained module.

In plain words
What is it for?
It is for structuring Flutter applications, especially their mobile features, networking, storage, themes, routing, and generated files.
Why use it?
It gives developers a consistent way to organize screens, widgets, state, models, and shared app services.

Skill for Claude CodeGemini CLI

Written for Claude Code and Gemini CLI: paths in frontmatter, but also installed under .gemini/. Also seen: mentions Gemini CLI.

This is irahardianto/rugged-gemini's own configuration. It tells Claude Code and Gemini CLI how to work on rugged-gemini 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 rugged-gemini configures →

Reuse

Borrowing it

Nothing to install: this file belongs to irahardianto/rugged-gemini. 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/irahardianto/rugged-gemini/main/.gemini/skills/project-structure-flutter/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/irahardianto/rugged-gemini

Made for: Claude Code, Gemini CLI.

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 project-structure-flutter

README.md
[![agentmods](https://agentmods.dev/badge/skills/irahardianto/rugged-gemini/project-structure-flutter.svg)](https://agentmods.dev/skills/irahardianto/rugged-gemini/project-structure-flutter)
Your own site
<a href="https://agentmods.dev/skills/irahardianto/rugged-gemini/project-structure-flutter"><img src="https://agentmods.dev/badge/skills/irahardianto/rugged-gemini/project-structure-flutter.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 577 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.00000 $0.00577
Opus 5 $0.00000 $0.00289
Sonnet 5 $0.00000 $0.00115
Haiku 4.5 $0.00000 $0.00058

Measured 4d ago against content hash 0dc89636d745, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

project-structure-flutter 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 4d 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.

.gemini/skills/project-structure-flutter/SKILL.md · 86 lines

How it starts

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

Flutter/Mobile Layout

Vertical slice — features are self-contained modules.

apps/
  mobile/
    lib/
      core/                         # Foundation
        network/
          api_client.dart           # Dio/http with base config
          api_interceptor.dart      # Auth, logging interceptors
        storage/
          local_storage.dart        # SharedPreferences/Hive wrapper
        theme/
          app_theme.dart            # ThemeData, color schemes
          app_typography.dart       # TextStyles, font families
        router/
          app_router.dart           # GoRouter config (@riverpod)
          app_router.g.dart         # Generated
        constants/

      features/                     # Vertical slices
        task/
          screens/
            task_list_screen.dart    # Route target (ConsumerWidget)
            task_detail_screen.dart
          widgets/
            task_card.dart
            task_form.dart
          state/
            task_notifier.dart       # @riverpod class
            task_notifier.g.dart     # Generated
            task_state.dart          # freezed state classes
          models/
            task.dart               # freezed domain model
            task.g.dart             # json_serializable
            task.freezed.dart       # freezed
          logic/
            task_logic.dart         # Pure business rules
          repository/
            task_repository.dart    # Abstract interface
            task_repository_impl.dart
            task_repository_mock.dart
          api/
            task_api.dart           # REST calls (Dio)
        auth/
        settings/

      shared/                       # Cross-feature, NO domain logic
        widgets/
          app_button.dart
          app_text_field.dart
          loading_indicator.dart
        utils/
          date_formatter.dart
          validators.dart
        models/
          api_response.dart
          pagination.dart

    test/                           # Mirrors lib/ layout
      features/
        task/
          state/task_notifier_test.dart
          logic/task_logic_test.dart
          widgets/task_card_test.dart
          api/task_api_test.dart
      integration_test/
        task_flow_test.dart

    pubspec.yaml
    analysis_options.yaml           # Includes riverpod_lint

Key differences from web: screens/ = views, widgets/ = components, state/ = Riverpod 3, repository/ = data + cache. ProviderScope at root for DI (no manual locator). *.g.dart/*.freezed.dart = codegen artifacts. Tests in test/ mirroring lib/ (Flutter convention). Naming: *_test.dart (unit), *_integration_test.dart (integration).

Read the full file on GitHub · 86 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. 4d ago First seen · 86 lines · 0 tokens per session scan A 0dc89636d745

Subscribe to this mod's changes

project-structure-flutter is a skill published in the GitHub repository irahardianto/rugged-gemini (5 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 577 tokens. 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-09-03.

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

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, resolving the resizetizer manifest dependency. Use when packaging or signing a .NET MAUI Windows app, building a MAUI MSIX or signed unpackaged build in CI, or fixing 'manifest contains unresolved placeholders ($placeholder$)' errors from winapp package.

microsoft/winappCli · 71 tokens

apple-search-ads

When the user wants to set up, optimize, or scale Apple Search Ads (ASA) campaigns — including keyword bidding, match types, campaign structure, Creative Product Sets, CPP routing, and ROAS optimization. Use when the user mentions "Apple Search Ads", "ASA", "Search Ads", "Search tab ads", "Today tab ads", "CPT"…

Eronred/aso-skills · 127 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