project-plugin

Generate native Flutter plugins with Mason templates for multiple platforms.

2|Updated Jul 3, 2025
One-click install
npx skills add https://github.com/gsmlg-app/flutter-app-template --skill project-plugin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: project-plugin
Source: https://github.com/gsmlg-app/flutter-app-template/tree/main/.claude/skills/project-plugin
Command: npx skills add https://github.com/gsmlg-app/flutter-app-template --skill project-plugin

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies the process of creating native plugins for Flutter applications, ensuring platform-specific code is correctly structured and integrated.

Core Features & Use Cases

  • Plugin Scaffolding: Generates boilerplate code for both simple and federated native plugins using Mason templates.
  • Platform Support: Configures plugins for Android, iOS, Linux, macOS, and Windows.
  • Use Case: When you need to add a feature that requires direct interaction with device hardware or platform APIs (e.g., accessing the camera, reading device sensors), this skill provides the framework to build that native plugin.

Quick Start

Use the project-plugin skill to create a new native plugin named 'my_camera_plugin'.

Frequently Asked Questions about project-plugin

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

FAQPage Schema
How do I create a native Flutter plugin for iOS and Android?

This skill generates native Flutter plugins using Mason templates, scaffolding platform-specific boilerplate code for iOS and Android to enable direct interaction with device hardware and platform APIs.

What is a federated Flutter plugin and when do I need it?

A federated Flutter plugin separates platform-specific implementations into independent packages, useful when supporting multiple platforms or distributing maintenance. This skill scaffolds both simple and federated plugin architectures.

Does this Mason template support desktop platforms like macOS and Windows?

Yes, the Mason template supports configuring native plugins for Android, iOS, Linux, macOS, and Windows, enabling cross-platform development across mobile and desktop environments.

What's the best way to structure a Flutter plugin for device hardware access?

The best way to structure a Flutter plugin for hardware access is using Mason templates to scaffold a federated architecture, correctly separating platform-specific native code for cross-platform integration.

How do I scaffold boilerplate code for a Flutter native plugin?

You scaffold boilerplate code for a Flutter native plugin by using this skill to generate the project structure via Mason templates, configuring the desired platforms and plugin architecture type.