create_new_feature

Generate Flutter feature modules with Clean Architecture and MVI via Mason.

Updated Jan 18, 2026
One-click install
npx skills add https://github.com/DanhDue/bloc_digital_wallet --skill create-new-feature
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: create_new_feature
Source: https://github.com/DanhDue/bloc_digital_wallet/tree/main/.agent/skills/create_new_feature
Command: npx skills add https://github.com/DanhDue/bloc_digital_wallet --skill create-new-feature

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Creates a clear, repeatable process to scaffold a new feature or subfeature within a Flutter project, aligning with Clean Architecture and MVI to ensure consistency and maintainability.

Core Features & Use Cases

  • Analyze the user request and existing codebase to determine whether to create a New Module or a Subfeature within an existing module.
  • Generate boilerplate structure using Mason, wiring up Domain, Data, and Presentation layers according to the project's patterns.
  • Validate integration points (routing, translations, and testing) with a guided configuration and verification workflow.

Quick Start

Create a new feature named <FeatureName> following the CRITICAL plan and Mason templates.

Frequently Asked Questions about create_new_feature

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

FAQPage Schema
How do I scaffold a new feature in Flutter using Clean Architecture and MVI?▼

Scaffolding a new feature in Flutter involves analyzing your codebase to decide between a new module or subfeature, then generating boilerplate via Mason. It wires domain, data, and presentation layers following Clean Architecture and MVI patterns for consistency.

What is the difference between creating a New Module and a Subfeature in Flutter clean architecture?▼

A New Module establishes a standalone feature structure, whereas a Subfeature integrates within an existing module's boundaries. The workflow analyzes your codebase and request to determine the correct approach, ensuring proper routing, i18n, and testing validation.

Can I use Mason to generate Flutter boilerplate for domain, data, and presentation layers?▼

Yes, Mason generates Flutter boilerplate for domain, data, and presentation layers. The workflow uses Mason templates to wire up these layers following Clean Architecture and MVI patterns, concluding with a guided configuration and end-to-end verification step.

What's the best way to ensure routing and internationalization are configured when adding a Flutter feature?▼

The best way to ensure routing and i18n are configured is through a structured verification workflow. After generating Mason boilerplate, the process validates integration points including routing, translations, and testing to deliver production-ready features.

Do I need to manually wire up MVI presentation layers when generating Flutter feature boilerplate?▼

No, manual wiring is unnecessary. The scaffolding process uses Mason templates to automatically generate and connect domain, data, and presentation layers according to your project's established Clean Architecture and MVI patterns.