Coding Standards

Enforce reuse of components and data utilities in Flutter/Dart projects.

Updated Nov 28, 2024
One-click install
npx skills add https://github.com/Spicely/get_template_aero --skill coding-standards-spicely
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: Coding Standards
Source: https://github.com/Spicely/get_template_aero/tree/main/__brick__/%7B%7Bproject_name.snakeCase%28%29%7D%7D/.agent/skills/coding_standards
Command: npx skills add https://github.com/Spicely/get_template_aero --skill coding-standards-spicely

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Guidelines for using project-specific components and data utilities. Enforces reuse of lib/app/components and lib/app/data.

Core Features & Use Cases

  • Ensures existing components from lib/app/components are reused rather than creating duplicates.
  • Documents and standardizes data access patterns in lib/app/data.
  • Provides a consistent baseline for Flutter/Dart development across the project.

Quick Start

Follow these standards to ensure reuse of lib/app/components and lib/app/data across the codebase.

Frequently Asked Questions about Coding Standards

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

FAQPage Schema
How do I enforce component reuse in Flutter projects?▼

To enforce component reuse in Flutter projects, apply standardized coding practices that require using existing UI components from the lib/app/components directory rather than creating duplicates. This establishes a consistent development baseline across the repository.

What are the best practices for standardizing data access patterns in Dart?▼

Standardizing data access patterns in Dart involves documenting and enforcing the use of shared data utilities within the lib/app/data directory. This ensures consistent data handling and prevents duplicated access logic across your Flutter application.

Why should I use shared data utilities instead of creating custom ones?▼

Using shared data utilities instead of custom ones prevents code duplication and ensures consistent data access patterns across the project. Adhering to the lib/app/data structures maintains alignment with existing tooling and project-specific architectures.

Does this coding standard work with existing Flutter project structures?▼

Yes, this coding standard works with existing Flutter project structures by aligning with your current patterns and tooling. It specifically requires adherence to the lib/app/components and lib/app/data directories to enforce reuse without breaking existing architecture.

When do I need coding standards for Flutter component reuse?▼

You need coding standards for Flutter component reuse when your repository grows and developers risk creating duplicate UI or data access logic. These standards document project-specific guidelines to ensure consistent use of lib/app components and data utilities.