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