template-mason-brick

Guide Mason brick creation, modification, and deletion with tests and CI integration.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies the process of creating, updating, and removing Mason bricks, ensuring that new templates are well-tested and integrated into the CI workflow.

Core Features & Use Cases

  • Brick Creation: Guides through setting up brick.yaml, template files, and tests for new bricks.
  • Brick Updates: Provides a checklist for modifying existing bricks, including tests and CI.
  • Brick Removal: Details steps for cleanly removing a brick from the project.
  • Use Case: When a developer needs to add a new reusable code template (e.g., a new type of Flutter widget or a BLoC pattern) to the project, this skill ensures it's done correctly and efficiently.

Quick Start

Use the template-mason-brick skill to create a new brick named 'feature_card'.

Frequently Asked Questions about template-mason-brick

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

FAQPage Schema
How do I create a new Mason brick with proper test coverage?

To create a Mason brick, define the brick.yaml configuration, generate template files, and write corresponding unit tests. This ensures new reusable code templates are well-tested before integration.

What's the best way to update an existing Mason brick?

Updating a Mason brick involves a structured checklist for modifying template files, verifying brick configurations, and running corresponding unit tests to ensure seamless CI workflow integration.

How do I cleanly remove a Mason brick from my project configuration?

Removing a Mason brick requires detailing clean deletion steps from the project, which includes unregistering the brick from the project's Mason configuration to maintain consistency.

Does Mason brick development require CI workflow integration?

Mason brick development benefits from CI workflow integration to ensure comprehensive test coverage and validate that new code generation templates function correctly within the project lifecycle.

When do I need to use a Mason brick for code generation?

You need a Mason brick when adding a new reusable code template, such as a Flutter widget or BLoC pattern, to ensure it is properly configured, tested, and registered.

What limitations exist when managing Mason bricks across a project?

Managing Mason bricks requires maintaining consistent brick.yaml configurations and unit tests, as improper modifications can disrupt the CI workflow and break existing code generation templates.