Skip to content

PR作成・canary/本番リリース用のClaude CodeスキルとPR同期ルールを追加 - #5828

Merged
TinyKitten merged 9 commits into
devfrom
feature/pr-creation-skills
Apr 16, 2026
Merged

TinyKitten merged 9 commits into
devfrom
feature/pr-creation-skills

Conversation

@TinyKitten

@TinyKitten TinyKitten commented Apr 16, 2026 •

Copy link
Copy Markdown
Member

概要

TrainLCD MobileApp リポジトリでの PR 作成手順を自動化する Claude Code スキルを追加する。create-pr が PR 作成ロジック本体で、create-canary-pr(dev→canary リリース用)・create-release-pr(本番リリース用)は薄いプリセット。あわせて、新コミット push 時に PR タイトルと本文を差分に同期する運用ルールを AGENTS.md に追加する。

変更の種類

  • バグ修正
  • 新機能
  • リファクタリング
  • ドキュメント
  • CI/CD
  • その他

変更内容

  • `.claude/skills/create-pr/SKILL.md`: 汎用 PR 作成スキル。`.github/pull_request_template.md` 準拠、Assignee 自動付与(@TinyKitten)、変更の種類の自動判定(アプリ本体未変更なら「バグ修正・新機能・リファクタリング」は強制 OFF)、base/head 衝突時のブランチ自動切り出し、既存 PR 検知時の更新モード(タイトル・本文を最新差分で再評価して `gh pr edit`)を含む。
  • `.claude/skills/create-canary-pr/SKILL.md`: `create-pr` を呼び出す dev→canary リリース用プリセット。
  • `.claude/skills/create-release-pr/SKILL.md`: 本番リリース用スキル。`release/v` ブランチ切り出し・`npm run version:bump`・品質チェック(biome は check-only で自動修正なし、lint/typecheck/test を順次実行)・`git status` での差分確認 → commit/push を行い、最後に `create-pr` を呼んで master 向け PR を作成する。リリース直前に黙って差分が混入するのを防ぐため `--fix` は意図的に付けない。
  • `AGENTS.md` / `CLAUDE.md`: push 時に PR のタイトル(スコープ整合性を再評価)と本文(変更の種類・変更内容・テスト結果)を差分に合わせて再生成する運用ルールを追加。
  • `.gitignore`: `.claude/settings.local.json`(個人設定ファイル)を無視対象に追加。

テスト

  • `npm run lint` が通ること
  • `npm test` が通ること
  • `npm run typecheck` が通ること

関連Issue

スクリーンショット(任意)

Summary by CodeRabbit

リリースノート

  • Chores
    • プルリクエスト作成プロセスの標準化と自動化を実装
    • 本番リリースワークフロー向けのスキルセットを新規追加
    • カナリアリリース専用ワークフローを整備
    • ローカル開発設定のバージョン管理除外設定を追加
    • プルリクエスト保守ガイドラインを明文化

@TinyKitten TinyKitten self-assigned this Apr 16, 2026
@coderabbitai

coderabbitai Bot commented Apr 16, 2026 •

Copy link
Copy Markdown
Contributor

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 6de831d7-e59e-464b-8e8c-64e966521192

📥 Commits

Reviewing files that changed from the base of the PR and between 60d6a63 and 67419b3.

📒 Files selected for processing (3)
  • .claude/skills/create-pr/SKILL.md
  • .claude/skills/create-release-pr/SKILL.md
  • AGENTS.md
✅ Files skipped from review due to trivial changes (1)
  • AGENTS.md
🚧 Files skipped from review as they are similar to previous changes (2)
  • .claude/skills/create-pr/SKILL.md
  • .claude/skills/create-release-pr/SKILL.md

📝 Walkthrough

Walkthrough

複数の PR 作成ワークフロー文書を追加・更新。create-pr が包括的な PR 作成/更新フローを定義し、create-canary-pr と create-release-pr がそれをそれぞれの固定設定で委譲する。ローカル Claude 設定を .gitignore に追加し、PR 本文同期ルールを AGENTS.md に追記。

変更

Cohort / File(s) Summary
主要 PR 作成スキル
\.claude/skills/create-pr/SKILL.md
完全な gh ベースの PR 作成/更新ワークフローを追加(ローカル git 前提、fetch/diff、base==head の一時ブランチ処理、既存 PR 検出→編集または新規作成、タイトル推論、変更の種類 チェック推論、テンプレート準拠で本文再生成、gh pr create/gh pr edit 実行)。
Canary 用薄ラッパー
\.claude/skills/create-canary-pr/SKILL.md
create-pr を base=canary, head=dev, title=canary, skip_checks=false で呼ぶ薄いラッパー仕様を追加(既存 PR の再利用や未プッシュブランチ確認等の振る舞いを委譲)。
リリース PR ワークフロー
\.claude/skills/create-release-pr/SKILL.md
version 検証 → release/v<version> ブランチ作成 → npm run version:bump → 一連のチェック(biome/lint/typecheck/test)→ ユーザー承認で commit/push → create-pr に base=master 等で委譲するフローを追加。
ローカル設定除外
\.gitignore
環境固有ファイル \.claude/settings.local.json を無視するエントリを追加。
PR 本文同期ポリシー追記
AGENTS.md
新コミットで PR が更新された際にタイトル再評価と本文特定セクション(変更の種類、変更内容、テスト結果)を最新差分に同期するプロトコル、および人手で書かれた本文保護ルールを追記。

Sequence Diagram(s)

sequenceDiagram
  participant Dev as 開発者 (ローカル)
  participant Repo as ローカル Git
  participant CLI as gh CLI / スキル
  participant GH as GitHub

  Dev->>Repo: 作業・コミット(またはステージ)
  Dev->>CLI: スキル実行 (create-pr / create-canary-pr / create-release-pr)
  CLI->>Repo: fetch origin/<base>, origin/<head>, diff チェック
  alt base == head かつ変更あり
    CLI->>Repo: 一時ブランチ作成・コミット・push
  end
  CLI->>GH: gh pr list -> 既存 PR 判定
  alt 既存 PR が存在
    CLI->>GH: gh pr edit (本文再生成の一部/チェック反映)
    GH-->>CLI: 既存 PR 情報 (URL)
  else 既存 PR なし
    CLI->>GH: gh pr create (title, body, checks)
    GH-->>CLI: PR 作成結果 (URL)
  end
  CLI-->>Dev: PR URL と更新されたチェック項目の要約
Loading

Estimated code review effort

🎯 3 (中程度) | ⏱️ ~30分

詩

🐰✨ 指先で跳ねる、スキルの芽生え、
canary へ舞う一歩は小さくて確か。
リリースの枝を慎重に刈り、
本文整えてそっと押すと、
PR はぴょんと雲へ昇る。

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed PR のタイトルは、Claude Code スキル追加と PR 同期ルール追加という主要な変更をまとめて簡潔に表現しており、変更セットの中核を正確に要約しています。
Description check ✅ Passed PR 説明は、概要・変更の種類・変更内容・テスト・関連Issue セクションが揃っており、テンプレートの必須構成を満たし、各セクションが十分に埋められています。
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/pr-creation-skills

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (2)
.claude/skills/create-pr/SKILL.md (2)

93-100: テーブル前後の空行が不足しています。

Markdown の可読性向上のため、テーブルの前後に空行を追加することを推奨します。

📝 空行追加の提案
 各項目を独立に評価(複数該当可、大文字小文字無視・部分一致):
 
 **コミット件名ベース**
+
 | 項目 | トリガ語句 |
 | ---- | ---- |
 | バグ修正 | `fix`, `Hotfix`, `バグ`, `修正`, `不具合` |
 | 新機能 | `feat`, `add`, `新機能`, `追加`, `導入`, `対応` |
 | リファクタリング | `refactor`, `リファクタ`, `整理`, `clean` |
 | ドキュメント | `docs`, `ドキュメント`, `README`, `changelog` |
 | CI/CD | `ci`, `cd`, `workflow`, `release`, `Bump version`, `canary release` |
 
 **変更ファイルパスベース**(コミット判定と OR)
+
 | 項目 | パターン |
 | ---- | ---- |
 | ドキュメント | 変更が `*.md` / `docs/**` / `README*` のみ |
 | CI/CD | `.github/workflows/**`, `.github/**/*.yml`, `fastlane/**`, `eas.json` のいずれかを含む |

Also applies to: 102-106

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.claude/skills/create-pr/SKILL.md around lines 93 - 100, Add a blank line
before and after the Markdown table that starts with the header "| 項目 | トリガ語句 |"
so the table is separated from surrounding text; do the same for the other table
referenced in the comment (the one around lines 102-106). Locate the table
blocks by searching for the header string "| 項目 | トリガ語句 |" and ensure one empty
line precedes and one follows each table to improve Markdown readability.

32-32: Markdown lint の警告は無視して問題ありません。

Hotfix: 内のスペースは意図的なもので、実際のタイトルプレフィックス表記として正しいです。

静的解析ツールの指摘を修正する場合:

📝 Markdown lint 対応案(任意)
-Hot fix の文脈(`head` が `hotfix/` で始まる、または件名に `Hotfix` を含む)では、タイトル先頭に ` Hotfix: ` を付ける(CLAUDE.md ルール)。
+Hot fix の文脈(`head` が `hotfix/` で始まる、または件名に `Hotfix` を含む)では、タイトル先頭に `Hotfix:` を付ける(CLAUDE.md ルール)。
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.claude/skills/create-pr/SKILL.md at line 32, This is an intentional
formatting choice: when the git context indicates a hotfix (the `head` starts
with `hotfix/` or the subject contains `Hotfix`) the title prefix should be `
Hotfix: ` (space included); do not change the prefix to satisfy markdown lint.
If the linter must be silenced, add a targeted markdown-lint exception for this
title pattern or disable the specific rule around the `Hotfix: ` line so the
`Hotfix`/`Hotfix: ` behavior remains unchanged.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In @.claude/skills/create-pr/SKILL.md:
- Around line 93-100: Add a blank line before and after the Markdown table that
starts with the header "| 項目 | トリガ語句 |" so the table is separated from
surrounding text; do the same for the other table referenced in the comment (the
one around lines 102-106). Locate the table blocks by searching for the header
string "| 項目 | トリガ語句 |" and ensure one empty line precedes and one follows each
table to improve Markdown readability.
- Line 32: This is an intentional formatting choice: when the git context
indicates a hotfix (the `head` starts with `hotfix/` or the subject contains
`Hotfix`) the title prefix should be ` Hotfix: ` (space included); do not change
the prefix to satisfy markdown lint. If the linter must be silenced, add a
targeted markdown-lint exception for this title pattern or disable the specific
rule around the `Hotfix: ` line so the `Hotfix`/`Hotfix: ` behavior remains
unchanged.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 4736710b-2c1a-4387-9bfc-dcccba274d9a

📥 Commits

Reviewing files that changed from the base of the PR and between 0f6b0fe and fc595f0.

📒 Files selected for processing (3)
  • .claude/skills/create-canary-pr/SKILL.md
  • .claude/skills/create-pr/SKILL.md
  • .gitignore

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In @.claude/skills/create-pr/SKILL.md:
- Line 32: The Markdown contains a code span with an extra trailing space
(`Hotfix: `) triggering markdownlint MD038; update the code span to remove the
trailing space so it reads `Hotfix:` (replace the `Hotfix: ` token with
`Hotfix:` in the SKILL.md content) to resolve the lint warning.
- Line 115: The checklist markdown uses an invalid GitHub checkbox token `- []`;
update it to the correct form `- [ ]` in SKILL.md (replace the `- []` instance
on the line containing "残りの項目は、コミット件名またはファイルパスのトリガに 1 つでも当てはまれば `- [x]`、それ以外は `-
[]`。" so it becomes `- [ ]`) and scan nearby checklist lines to ensure all
checkboxes use the consistent `- [ ]` / `- [x]` syntax (look for the exact text
snippet containing `- [x]` and `- []` to locate the spot).
- Around line 95-112: Add a blank line both before and after each Markdown table
flagged by markdownlint MD058: specifically insert an empty line before and
after the table that starts with "| 項目 | トリガ語句 |" (the trigger-phrase table),
the table under the "**変更ファイルパスベース**" section that starts with "| 項目 | パターン |",
and the final commit-subject table that also begins with "| 項目 | トリガ語句 |";
ensure there is exactly one blank line separating each table from surrounding
paragraphs/headers.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 01d75e8a-3b12-4f83-bbeb-bc1c722e9dd1

📥 Commits

Reviewing files that changed from the base of the PR and between fc595f0 and f6996a7.

📒 Files selected for processing (1)
  • .claude/skills/create-pr/SKILL.md

Comment thread .claude/skills/create-pr/SKILL.md Resolved
Comment thread .claude/skills/create-pr/SKILL.md Resolved
Comment thread .claude/skills/create-pr/SKILL.md Resolved

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

♻️ Duplicate comments (3)
.claude/skills/create-pr/SKILL.md (3)

117-117: ⚠️ Potential issue | 🟡 Minor

チェックボックス記法の例を - [ ] に修正してください。

文中の `- []` はGitHubの有効なチェックボックス記法ではないため、`- [ ]` に統一してください。

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.claude/skills/create-pr/SKILL.md at line 117, Update the checkbox example
in .claude/skills/create-pr/SKILL.md by replacing the invalid inline code token
"`- []`" with the correct GitHub checkbox notation "`- [ ]`" so the sentence
reads that remaining items use `- [x]` if matched and `- [ ]` otherwise; adjust
only that token in the sentence.

32-32: ⚠️ Potential issue | 🟡 Minor

Hotfix: のコードスパン末尾スペースを削除してください。

markdownlint-cli2(CodeRabbit組み込みツール)の MD038 警告どおり、`Hotfix: ` は `Hotfix:` にしてください。

Based on learnings: TrainLCD/MobileAppのレビューでは、CodeRabbitの組み込みツールによる指摘であることを明示する。

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.claude/skills/create-pr/SKILL.md at line 32, Change the code-span ``
`Hotfix: ` `` to `` `Hotfix:` `` (remove the trailing space inside the
backticks) in the SKILL.md content where the Hotfix title rule is described;
also clarify the parenthetical note to explicitly state this is a
CodeRabbit/markdownlint-cli2 MD038 warning by referencing the tool name (e.g.,
"reported by CodeRabbit's markdownlint-cli2 (MD038)") so reviewers know the lint
source.

97-114: ⚠️ Potential issue | 🟡 Minor

各テーブルの前後に空行を追加してください(MD058)。

この3つの表(Line 97開始 / Line 104開始 / Line 110開始)は、前後の空行不足で markdownlint-cli2(CodeRabbit組み込みツール)警告対象です。各表の前後に1行ずつ空行を入れてください。

Based on learnings: TrainLCD/MobileAppのレビューでは、CodeRabbitの組み込みツールによる指摘であることを明示する。

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.claude/skills/create-pr/SKILL.md around lines 97 - 114, The three Markdown
tables that start with the header rows "| 項目 | トリガ語句 |" and the two "| 項目 | パターン
|" tables are missing blank lines before and after them which triggers
markdownlint MD058 (CodeRabbit); add a single empty line immediately above and
below each of those three tables so there is one blank line separating the
tables from surrounding paragraphs, then re-run lint to confirm the MD058
warning is resolved.
🧹 Nitpick comments (1)
.claude/skills/create-pr/SKILL.md (1)

143-143: `- ` のコードスパンを MD038 非違反の表現に変更してください。

markdownlint-cli2(CodeRabbit組み込みツール)の MD038 回避のため、例えば `-` で始まる連続行 のように末尾スペースをコードスパン外へ出してください。

Based on learnings: TrainLCD/MobileAppのレビューでは、CodeRabbitの組み込みツールによる指摘であることを明示する。

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.claude/skills/create-pr/SKILL.md at line 143, 該当の説明文で使われている「`- `」のコードスパンは
MD038 に抵触するので、コードスパンの末尾スペースを外して表現を修正してください(例:「`-`
で始まる連続行」のようにバッククォート内はハイフンのみ、続けてスペースや日本語をコードスパン外に置く)。対象は SKILL.md の該当行(現在
"冒頭の箇条書きブロック(`- ` で始まる連続行)..."
とある箇所)で、文言を同様に修正しつつ「CodeRabbit組み込みツールによる指摘」であることの注記を残してください。
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Duplicate comments:
In @.claude/skills/create-pr/SKILL.md:
- Line 117: Update the checkbox example in .claude/skills/create-pr/SKILL.md by
replacing the invalid inline code token "`- []`" with the correct GitHub
checkbox notation "`- [ ]`" so the sentence reads that remaining items use `-
[x]` if matched and `- [ ]` otherwise; adjust only that token in the sentence.
- Line 32: Change the code-span `` `Hotfix: ` `` to `` `Hotfix:` `` (remove the
trailing space inside the backticks) in the SKILL.md content where the Hotfix
title rule is described; also clarify the parenthetical note to explicitly state
this is a CodeRabbit/markdownlint-cli2 MD038 warning by referencing the tool
name (e.g., "reported by CodeRabbit's markdownlint-cli2 (MD038)") so reviewers
know the lint source.
- Around line 97-114: The three Markdown tables that start with the header rows
"| 項目 | トリガ語句 |" and the two "| 項目 | パターン |" tables are missing blank lines
before and after them which triggers markdownlint MD058 (CodeRabbit); add a
single empty line immediately above and below each of those three tables so
there is one blank line separating the tables from surrounding paragraphs, then
re-run lint to confirm the MD058 warning is resolved.

---

Nitpick comments:
In @.claude/skills/create-pr/SKILL.md:
- Line 143: 該当の説明文で使われている「`- `」のコードスパンは MD038
に抵触するので、コードスパンの末尾スペースを外して表現を修正してください(例:「`-`
で始まる連続行」のようにバッククォート内はハイフンのみ、続けてスペースや日本語をコードスパン外に置く)。対象は SKILL.md の該当行(現在
"冒頭の箇条書きブロック(`- ` で始まる連続行)..."
とある箇所)で、文言を同様に修正しつつ「CodeRabbit組み込みツールによる指摘」であることの注記を残してください。

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 51c0de8e-310d-4565-9d55-80218dc202ad

📥 Commits

Reviewing files that changed from the base of the PR and between f6996a7 and b0f87ac.

📒 Files selected for processing (2)
  • .claude/skills/create-pr/SKILL.md
  • AGENTS.md
✅ Files skipped from review due to trivial changes (1)
  • AGENTS.md

@TinyKitten

Copy link
Copy Markdown
Member Author

Fixes Applied Successfully

Fixed 1 file(s) based on 3 unresolved review comment(s).

Files modified:

  • .claude/skills/create-pr/SKILL.md

Commit: 60d6a63fe

The latest autofix changes are on the feature/pr-creation-skills branch.

対応内容

  • MD038: `Hotfix:` コードスパン末尾の不要スペースを削除
  • MD058: 変更の種類判定ルール内の 3 テーブルの直前に空行を追加
  • 無効チェックボックス記法: `- []` を `- [ ]` に修正

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In @.claude/skills/create-pr/SKILL.md:
- Line 146: The inline code span containing a trailing space (the sequence `- `
in the diff) triggers markdownlint MD038; remove the trailing space inside the
backticks so the span becomes `` `-` `` (or adjust to the appropriate
punctuation/context if needed) and save the SKILL.md change so the markdownlint
warning is resolved.
- Line 147: Update the wording that currently reads "常に手順 3/5
の結果で上書き(`skip_checks` に従う)" so it accurately refers to step 4 or the
`skip_checks` parameter; replace "手順 3/5" with "手順 4" or change to "常に
`skip_checks` に従う" in the "テスト" line to reflect that test checkbox evaluation is
governed by step 4 (`skip_checks`), not step 3 or step 5.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: e2e31f9e-9ad8-40a2-a669-4fca5e5a2abf

📥 Commits

Reviewing files that changed from the base of the PR and between b0f87ac and 60d6a63.

📒 Files selected for processing (1)
  • .claude/skills/create-pr/SKILL.md

Comment thread .claude/skills/create-pr/SKILL.md Resolved
Comment thread .claude/skills/create-pr/SKILL.md Resolved
@TinyKitten TinyKitten changed the title PR作成用のClaude Codeスキル create-pr と create-canary-pr を追加 PR作成・canary/本番リリース用のClaude CodeスキルとPR同期ルールを追加 Apr 16, 2026

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In @.claude/skills/create-release-pr/SKILL.md:
- Around line 67-69: The markdown code fence containing the release note text
(the block that currently is "```" followed by "v<version> をリリース" and closing
"```") must include a language tag to satisfy markdownlint rule MD040; update
that fence to use a language identifier such as ```bash (or ```text) and keep
the inner content unchanged so the fence becomes "```bash" ... "v<version>
をリリース" ... "```". Ensure this change is applied in the SKILL.md snippet where
the current untagged code fence appears.
- Around line 73-76: 手順中の「git add <bump
で変更されたファイル>」だと差分を取りこぼす恐れがあるので、コミット前に必ず作業ツリーを確認し(git
statusを実行)、必要な変更を確実にステージするよう文言を修正してください。具体的には SKILL.md の該当箇所(現在の "git add <bump
で変更されたファイル>")を、まず "git status で差分を確認" を入れた上で "git add -A"(または必要に応じて個別ファイルを明示して
git add <files>)を実行する手順に置き換え、続く git commit -m "v<version> をリリース" と git push -u
origin release/v<version> の流れになるよう書き換えてください。
- Around line 53-57: The command string "npx biome check --unsafe --fix ./src"
conflicts with the policy sentence "勝手に修正しない"; either remove the "--fix" flag
from the command or change the policy sentence to allow automatic fixes. Update
the SKILL.md entry that contains "npx biome check --unsafe --fix ./src" and the
adjacent policy text so they are consistent (e.g., use "npx biome check --unsafe
./src" if you want no auto-fixes, or change "勝手に修正しない" to explicitly permit
automatic fixes), ensuring the displayed command and the policy sentence match.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 854c5305-b6d7-479e-9609-946b60072a27

📥 Commits

Reviewing files that changed from the base of the PR and between 60d6a63 and 080b6b6.

📒 Files selected for processing (1)
  • .claude/skills/create-release-pr/SKILL.md

@TinyKitten

Copy link
Copy Markdown
Member Author

Fixes Applied Successfully

Fixed 1 file(s) based on 2 applied + 1 deferred (already fixed) review comment(s).

Files modified:

  • .claude/skills/create-pr/SKILL.md

Commit: 6c4a5aef7

The latest autofix changes are on the feature/pr-creation-skills branch.

対応内容

  • MD038 (Line 146): `- ` コードスパン末尾スペースを削除(`- ` → `-`)
  • Line 147: テスト欄の更新方針の参照先を「手順 3/5」から「`skip_checks` に従う」に修正

Deferred

  • MD038 (Line 32): 前回 autofix コミット `60d6a63fe` で修正済み。CodeRabbit 側のスレッドが未 resolved のため追加対応不要

@TinyKitten

Copy link
Copy Markdown
Member Author

Fixes Applied Successfully

Fixed 1 file(s) based on 3 applied + 2 deferred (already fixed) review comment(s).

Files modified:

  • .claude/skills/create-release-pr/SKILL.md

Commit: 235e83489

The latest autofix changes are on the feature/pr-creation-skills branch.

対応内容

  • --fix と方針の矛盾(L53-57): 「勝手に修正しない」→「`biome --fix` による自動修正のみ許可」に修正
  • MD040(L67): コミットメッセージ表示用コードフェンスに `text` 言語タグを追加
  • git add 取りこぼし懸念(L73-76): `git status --short` による差分確認ステップを追加し、`biome --fix` の整形差分も含めてステージするよう注記

Deferred

  • MD038(create-pr SKILL.md L32): 前回 autofix `60d6a63fe` で修正済み
  • MD038(create-pr SKILL.md L146): 前回 autofix `6c4a5aef7` で修正済み

@TinyKitten
TinyKitten merged commit fd946a4 into dev Apr 16, 2026
3 checks passed
@TinyKitten
TinyKitten deleted the feature/pr-creation-skills branch April 16, 2026 23:33
@TinyKitten TinyKitten mentioned this pull request Apr 17, 2026
6 of 9 tasks
TinyKitten added a commit that referenced this pull request Apr 17, 2026
* PR作成用のClaude Codeスキル create-pr と create-canary-pr を追加

* create-pr スキルでアプリ本体変更が無い場合にバグ修正・新機能・リファクタリングを強制OFFにする判定ルールを追加

* PR本文を差分と同期する運用ルールとcreate-prスキルの更新モードを追加

* CodeRabbitの指摘に従いcreate-prスキルのmarkdownlint警告3件を修正

* 本番リリースPR作成用のcreate-release-prスキルを追加

* PR本文同期ルールにタイトル同期も含めてAGENTS.mdとcreate-prスキルに明文化

* CodeRabbitの指摘に従いcreate-prスキルのMD038警告とテスト欄の参照手順誤りを修正

* CodeRabbitの指摘に従いcreate-release-prスキルの方針矛盾とコードフェンス言語指定とgit add手順を修正

* create-release-prスキルで本番リリース時のbiomeチェックを自動修正なしのcheck-onlyに変更
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant