home/categories/architecture-patterns/fritzandfriends-blazorwebformscomponents-squad-skills-shared-base-extraction-skill-md
architecture-patternsdevelopment

shared-base-extraction

Extracts duplicated properties, methods, and logic from sibling Blazor components into a shared intermediate base class. Covers identification of duplicated surfaces, base class creation, member migration, and @inherits directive updates. Use when three or more components share copy-pasted Parameter declarations, consolidating shared helper methods, or refactoring component inheritance hierarchies.

FritzAndFriends
maintainer
FritzAndFriends
آخر تحديث 3/24/2026
النجوم
446
التفرعات
76
quick start

Installation and usage

Extracts duplicated properties, methods, and logic from sibling Blazor components into a shared intermediate base class. Covers identification of duplicated surfaces, base class creation, member migration, and @inherits directive updates. Use when three or more components share copy-pasted Parameter declarations, consolidating shared helper methods, or refactoring component inheritance hierarchies.

التثبيت
$ install --globalskills.sh
الاستخدام

بعد التثبيت، يمكنك استخدام هذه المهارة بتشغيل الأمر التالي في الطرفية:

skills use shared-base-extraction