contributing_brasil_fields

Guide contributions to the brasil_fields Flutter package with formatter and test guidelines.

144|42|Updated Dec 30, 2018
One-click install
npx skills add https://github.com/flutterbootcamp/brasil_fields --skill contributing-brasil-fields
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: contributing_brasil_fields
Source: https://github.com/flutterbootcamp/brasil_fields/tree/main/.agent/skills/contributing_brasil_fields
Command: npx skills add https://github.com/flutterbootcamp/brasil_fields --skill contributing-brasil-fields

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a clear roadmap for developers looking to contribute to the brasil_fields package, ensuring consistency and quality in code maintenance, bug fixes, and feature additions.

Core Features & Use Cases

  • Repository Structure Guidance: Understands the organization of the brasil_fields package.
  • Adding New Formatters: Details the process for implementing and exporting new input formatters.
  • Testing and Quality Assurance: Emphasizes the importance of tests and adherence to code quality standards.
  • Use Case: A developer wants to add a new Brazilian state abbreviation formatter to the package. They consult this Skill to understand where to place the code, how to implement the TextInputFormatter, and how to write the corresponding tests.

Quick Start

Follow the guidelines in this Skill to add a new formatter to the brasil_fields package.

Frequently Asked Questions about contributing_brasil_fields

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

FAQPage Schema
How do I add a new input formatter to a Flutter package?

To add a new input formatter to a Flutter package, implement the TextInputFormatter class, place the code in the correct repository structure, and export it properly to maintain package consistency.

What is the process for contributing to brasil_fields?

Contributing to brasil_fields involves understanding the repository structure, adding new formatters, writing corresponding tests, and adhering to established code quality standards for maintainability.

Do I need to write tests when adding Brazilian formatters to a Dart package?

Yes, writing tests is required when adding Brazilian formatters to a Dart package. Testing and quality assurance are emphasized to ensure maintainability and consistency during bug fixes and feature development.

How should I structure a Flutter package when adding new formatters?

Structure a Flutter package by following the established repository organization, placing new input formatters in the designated locations, and ensuring they are properly exported for use.

What are the code quality standards for contributing to brasil_fields?

Code quality standards for contributing to brasil_fields require writing tests for new input formatters and adhering to the package's established architecture to ensure consistency and maintainability.