vsa-implementation-guard

Community

Prevent common VSA implementation mistakes.

Authorakiramei
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Blazor VSA アプリケーション開発において、Handler/Validator/BoundaryService/Entity などの実装で生じがちなミスを自動的に抑制します。SaveChangesAsync の禁止、BoundaryService での業務ロジックの回避、Result<T> の適切な利用、Value Object の比較ルールなどをガードします。

Core Features & Use Cases

  • Handler での SaveChangesAsync 禁止の自動適用
  • BoundaryService への業務ロジック記述を排除して Entity.CanXxx() へ委譲
  • 例外の過剰伝播を Avoid、Result<T> でのエラーハンドリングを推奨
  • Value Object の正しい比較方法の強制
  • Validator の範囲を形式検証のみへ制限

Quick Start

具体的なサンプルのハンドラ・ BoundaryService・Validator を用意して、生成・修正時にこのガードを適用するようAI に指示します。業務ロジックを Entity に移譲するパターンを中心に適用します。

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: vsa-implementation-guard
Download link: https://github.com/akiramei/blazor-enterprise-architecture-poc/archive/main.zip#vsa-implementation-guard

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 223,000+ vetted skills library on demand.