Agent skill
master-data
マスターデータ(SQLite)のパターンとチェックリスト。新規マスタ追加時に参照。
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/master-data
SKILL.md
Master Data Patterns
概要
マスターデータはSQLiteから読み込む読み取り専用データ。
SQLite → SQLiteMasterDataManager → MasterDataLoader → MasterDataCache
↓
各サービスで使用
Definition型
Domain/MasterData/ に配置。
ルール:
struct+Identifiable+Sendable+Hashableletで不変- ネストした構造体で関連データをグループ化
SQLiteクエリ
Application/MasterData/SQLite/SQLiteMasterDataQueries.*.swift に配置。
ルール:
SQLiteMasterDataManagerのextensionとして実装- ファイル名は
SQLiteMasterDataQueries.{Entity}.swift - 複雑な結合はBuilderパターンを使用
新規マスターデータ追加時のチェックリスト
Domain/MasterData/に*MasterModels.swift作成*Definition構造体を定義
Application/MasterData/SQLite/SQLiteMasterDataQueries.*.swift作成fetchAll*()メソッドを実装
MasterDataCache.swiftにプロパティ追加MasterDataLoader.swiftでロード処理追加- 必要に応じてゲーム用語定義を更新
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?