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