flutter-feature-scaffold

Generate a Flutter feature scaffold with domain, data, and presentation layers under lib/features.

1|Updated Jan 26, 2026
One-click install
npx skills add https://github.com/code-sinobi/hoya-time-travel --skill flutter-feature-scaffold
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: flutter-feature-scaffold
Source: https://github.com/code-sinobi/hoya-time-travel/tree/main/.agent/skills/flutter-feature-scaffold
Command: npx skills add https://github.com/code-sinobi/hoya-time-travel --skill flutter-feature-scaffold

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a standardized scaffold for a new Flutter feature following hoya_app's architecture (Riverpod, go_router, Supabase), reducing setup time and ensuring consistency.

Core Features & Use Cases

  • Generates a new feature folder under lib/features/<feature_name>/ with domain/data/presentation structure.
  • Creates domain models, repository interfaces, and Riverpod providers to wire state and backend.
  • Use Case: when starting a new screen like profile or settings, run this to bootstrap code scaffold aligned with existing project conventions.

Quick Start

Run the scaffold to generate a new feature under lib/features with domain, data, and presentation components.

Frequently Asked Questions about flutter-feature-scaffold

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

FAQPage Schema
How do I scaffold a new Flutter feature with Riverpod and go_router?▼

Scaffolding a Flutter feature generates a standardized folder under lib/features with wired domain, data, and presentation layers including Riverpod providers and go_router integration.

What is the best way to structure a Flutter feature with domain, data, and presentation layers?▼

Structuring a Flutter feature applies a domain/data/presentation layout under lib/features, ensuring consistent architecture and wiring of repository interfaces with state management.

Does this Flutter feature scaffold work with Supabase repositories?▼

This scaffold works with Supabase by generating repository interfaces within the data layer, connecting your backend to Riverpod providers for state management.

Can I bootstrap a Flutter settings or profile screen using this architecture?▼

You can bootstrap a Flutter settings or profile screen by running this scaffold to generate the required feature folder aligned with existing project conventions.

When do I need to generate a new feature folder under lib/features in Flutter?▼

You generate a feature folder under lib/features when starting a new screen like profile or settings, ensuring consistent structure and wiring of domain, data, and presentation layers.

Why use a standardized scaffold for Flutter feature development?▼

Using a standardized scaffold reduces setup time and ensures architectural consistency by automatically wiring domain models, repository interfaces, and Riverpod providers together.