@daichan132/git-pr-ops
Bこのリポジトリ向けの Git 操作・コミット・PR 作成・PR レビュー手順。差分確認、コミット分割、PR 作成/ドラフト/更新、コードレビュー依頼のときに使う。
Install
agr install @daichan132/git-pr-ops --target claudeWrites 1 file into .claude/skills/, pinned to git-5bfcb72f.
- .claude/skills/git-pr-ops/SKILL.md
Document
name: git-pr-ops description: このリポジトリ向けの Git 操作・コミット・PR 作成・PR レビュー手順。差分確認、コミット分割、PR 作成/ドラフト/更新、コードレビュー依頼のときに使う。
Git / PR 運用 — YLC 固有ルール
汎用的な Git・PR 操作はシステムプロンプトに従う。本スキルはこのリポジトリ固有の規約のみ記載する。
コミット前チェック
- 基本3点セット:
yarn lint→yarn test:unit→yarn build - i18n 変更時は2箇所を同時に更新する:
shared/i18n/assets/*.json(ランタイム)+public/_locales/*/messages.json(ストア表示)。片方だけ更新するとランタイムとストア表示で文言がずれる。
コミット分割
runtime / e2e / docs など関心ごとにグルーピングして分割コミットする。無関係差分を混ぜない。
PR 本文
- 言語方針: 英語先頭 + 日本語は
<details><summary>日本語版</summary>...</details> - 実行していない検証コマンドを書かない。
- E2E の
skipは「外部前提不足」か「不具合」かを本文で区別する。
PR レビュー — 高リスク経路
以下を優先確認する:
- fullscreen トグル・mode/source 解決・native/extension の排他
- ロジック変更に unit、挙動変更に E2E があるか
Trustgrade B
- passBody integrity
Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.
- passType matchnot applicable to this artifact type
Whether the artifact is really the kind of thing its metadata claims it is.
- passFreshness
How long since the source repository was last pushed to.
- passPrompt injection
Scans the artifact's own text for instructions aimed at your agent rather than at you.
- warnLicensecopyleft/unknown — index-and-link only
Whether the source repository declares an SPDX license permissive enough to redistribute.
How the grade is calculated
Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:
- Aevery check passed
- Bone warning
- Ctwo warnings
- Dprompt injection or body integrity failed, or three warnings
- Fone of those failed, and something else is wrong
These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged — not that the artifact is safe.
Versions
git-5bfcb72f7cb32026-07-31