flutter-error-code-gen

Community

From API docs to Dart error-code enums.

Authordus2183-commits
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill automates turning error-code definitions written in docs/api/*.md into a reusable Dart enum class, preventing magic numbers and ensuring code stays in sync with API contracts.

Core Features & Use Cases

  • Extract error codes from docs/api/*.md and map them to descriptive enum members.
  • Generate Dart enum classes (e.g., {Module}ErrorCodes) under lib/features/{module}/data/error_codes.
  • Use Case: After flutter-api-design defines error codes, automatically produce consistent client-side constants for all modules.

Quick Start

Use this skill to generate a Dart error-code enum from the docs/api module docs.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: flutter-error-code-gen
Download link: https://github.com/dus2183-commits/flutter-skills/archive/main.zip#flutter-error-code-gen

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.