本文へスキップ
Skillpedia
APIとサーバー(バックエンド)48k · #4277

cqrs-implementation

できること

このツールは、コンピュータシステムが情報をどう扱うかを整理するお手伝いをします。データを「書き込む」処理と「読み取る」処理を分けることで、システムを高速で管理しやすくします。特にデータ量が多いときや、多くの人が同時に利用するときに効果的です。

使う場面

  • ✓システムがユーザーの質問にすばやく答える必要があるとき。
  • ✓多くの情報の追加と、多くの問い合わせを同時に処理する必要があるとき。
  • ✓すべての変更をイベントとして記録するシステムを作るとき。

スキルのリンク

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/cqrs-implementation/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/cqrs-implementation/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“ユーザーの質問にもっと速く答えられるように、システムを整理するにはどうすればよいですか?”

毎週5つの新しいスキル。1分で読めます。

仕組み

処理を2つに分けて行います。1つは新しい情報を受け取って保存する部分(コマンド)、もう1つは既存の情報を取り出して表示する部分(クエリ)です。これにより、それぞれを個別に最適化できます。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

CQRS Implementation

Comprehensive guide to implementing CQRS (Command Query Responsibility Segregation) patterns.

Use this skill when

  • Separating read and write concerns
  • Scaling reads independently from writes
  • Building event-sourced systems
  • Optimizing complex query scenarios
  • Different read/write data models are needed
  • High-performance reporting is required

Do not use this skill when

  • The domain is simple and CRUD is sufficient
  • You cannot operate separate read/write models
  • Strong immediate consistency is required everywhere

Instructions

  • Identify read/write workloads and consistency needs.
  • Define command and query models with clear boundaries.
  • Implement read model projections and synchronization.
  • Validate performance, recovery, and failure modes.
  • If detailed patterns are required, open resources/implementation-playbook.md.

Resources

  • resources/implementation-playbook.md for detailed CQRS patterns and templates.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
よくある質問

CQRSとは何ですか?

「Command Query Responsibility Segregation(コマンドとクエリの責務分離)」の略で、コンピュータシステムを整理する方法の一つです。

どのような場合には使うべきではありませんか?

システムがとても単純な場合、書き込みと読み取りの部分を分けられない場合、すべての場所で即座に更新される必要がある場合は使わないでください。

さらに詳しい情報はどこで見られますか?

より詳しいパターンやテンプレートについては、「resources/implementation-playbook.md」ファイルを参照してください。

詳細

作者による元の説明

Implement Command Query Responsibility Segregation for scalable architectures. Use when separating read and write models, optimizing query performance, or building event-sourced systems.

repo: sickn33/agentic-awesome-skills

人気

GitHubのスター
48k
ランキング
#4277
ライセンス
MIT
更新日
2026/10/15

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル