scaffold-architecture
CommunityScaffold robust hexagonal frontend infra
Software Engineering#frontend-testing#dependency-injection#presenter#hexagonal-architecture#gateway#blazor#ui-kit
AuthorFoxSilou
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Provides a strict, repeatable rule set and scaffolding guidance to eliminate inconsistent frontend infrastructure, reduce architectural drift, and ensure testable, maintainable Blazor feature areas.
Core Features & Use Cases
- Hexagonal architecture templates for separating UI.Domain, UI.Infrastructure, and UI.Blazor layers so presentation logic remains pure C# and infrastructure concerns implement ports.
- Presenter-first rules and DI conventions that mandate scoped presenters, IDisposable patterns, InvokeAsync usage, and field presenters for validated inputs to keep UI logic testable.
- Gateway and UI Kit encapsulation that enforces immutable DTOs for ports, HTTP gateway implementations, Radzen wrappers confined to a Kit, and centralized error translation for typed frontend exceptions.
- Testing and tooling guidance recommending bUnit/xUnit for presenter tests, Playwright for end-to-end only when necessary, and data-testid selectors to stabilize test suites.
Quick Start
Scaffold a new frontend feature area following the hexagonal Blazor rules: create UI.Domain Presenters and Ports, UI.Infrastructure Gateways, UI.Blazor Pages and Components with Kit wrappers, register presenters as scoped services, and add presenter tests using bUnit.
Dependency Matrix
Required Modules
None requiredComponents
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: scaffold-architecture Download link: https://github.com/FoxSilou/ConfigurationClaude/archive/main.zip#scaffold-architecture Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.