本文へ移動
cccskills
無料GitHub で公開

sql-perf-review

Use whenever SQL, ORM/jOOQ code, schema or migrations, indexes, N+1, or database load are in play, even without the word "review" — delegates the performance review of the current branch diff to the sql-performance-reviewer agent.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md1.5 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

SQL パフォーマンスレビュー

レビュー本体は専任サブエージェント sql-performance-reviewer。あなたは対象の確定 → 起動 → 中継だけ。

  1. 対象: git merge-base <default> HEAD から HEAD + 作業ツリー(staged / unstaged / 未追跡)。<default> は git symbolic-ref refs/remotes/origin/HEAD(無ければ main → master の順で存在確認)。既定ブランチ上にいるなら作業ツリーだけ。git diff <base> --stat、git status --short。 SQL 関連 = .sql・スキーマ・マイグレーション・ORM / クエリビルダの呼び出し・SQL 文字列・接続やプールの設定。明白に無ければその旨を報告して終える。迷ったら起動する。
  2. sql-performance-reviewer を起動(バックグラウンド可)。渡すのは: ルートの絶対パス、基点 SHA とブランチ名、作業ツリーも対象、変更ファイル一覧。diff 全文は貼らない。
  3. レポートを削らずに提示する(場所・重大度・遅くなる仕組み・修正案)。
  4. ビルド後の hook から呼ばれたときは、High / Medium をその場で直す(提示で終えない)。それ以外はユーザーが求めるまで直さない。

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Use when adding or changing REST endpoints or the OpenAPI contract — deriving endpoints from the Lean commands and views, writing documents/codebase/openapi.yaml first, then regenerating the backend controller interfaces and the frontend client.

日本語の概要は準備中です。原文の説明を表示しています。

asuka1975/cradle42026年10月1日 更新

Use after a backend build succeeds or whenever authentication, authorization, actor/identity handling, external service calls (IdP, JWKS, DB, clock), logging, observability, configuration or error contracts are in play — delegates to the backend-design-reviewer agent for a design-quality review of the current branch.

日本語の概要は準備中です。原文の説明を表示しています。

asuka1975/cradle42026年10月1日 更新

Use when it is time to make the backend follow the Lean model — regenerate Kotlin from Lean, implement the generated interfaces (UseCase, QueryService, Repository, Entity), wire every generated contract test, make the build green, then run the design and SQL reviews. Backend comes after the human confirmed the screens.

日本語の概要は準備中です。原文の説明を表示しています。

asuka1975/cradle42026年10月1日 更新

cradle

無料

Use when you need the current position in the Lean spec-driven pipeline, or any deterministic check of a Cradle project — status, golden regression, Lean layer walls, regeneration impact, unslop lint, ddd cleanup. Runs the scripts under scripts/ and reports their output verbatim.

日本語の概要は準備中です。原文の説明を表示しています。

asuka1975/cradle42026年10月1日 更新

Use to start a new product on Cradle or to add the Cradle skeleton to an existing repository — writes cradle.json, the project-facts instruction (.apm/instructions/project.instructions.md), documents/{ddd,ai-notes,infra-design,codebase} templates, CI, and a compiling Lean executable-spec scaffold with a minimal example domain, mockup and CLI.

日本語の概要は準備中です。原文の説明を表示しています。

asuka1975/cradle42026年10月1日 更新

Use when the product owner asks where the project stands, what to do next, or which phase of the Lean spec-driven pipeline is current — runs cradle status and proposes exactly one next step.

日本語の概要は準備中です。原文の説明を表示しています。

asuka1975/cradle42026年10月1日 更新

asuka1975 のスキルをすべて見る

このスキルの問題を報告する