Skip to content
Agentmart
Submit a tool

updating-pr-title-and-description

Pull Request作成・更新時に使用。タイトルと説明文を自動生成・更新する。

Skill by syou6162

IndexedMIT★ 11
Write a review

Chalk Labs

Need help deploying updating-pr-title-and-description?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/syou6162-updating-pr-title-and-description

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Pull Request作成・更新時に使用。タイトルと説明文を自動生成・更新する。

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/updating-pr-title-and-description

What's inside

Skill name
updating-pr-title-and-description
Description
Pull Request作成・更新時に使用。タイトルと説明文を自動生成・更新する。
License
MIT
Compatibility
Requires gh (GitHub CLI) and git
Instructions
136 lines in SKILL.md · view on GitHub

Files (2)

  • SKILL.md
  • description-rules.md · reference/

SKILL.md (first lines)

# Pull Requestのタイトルと説明文を更新する

Pull Requestのタイトルと説明文を以下の手順で更新してください。

## 禁止事項

<important>

- **開発日誌(esa.io)のURLをPR descriptionに記載しない**: 開発日誌はチーム内の作業記録であり、PRの説明文に含めるべきではない。`yasuhisa.esa.io` や esa.io ドメインのURLは関連情報セクションにも記載禁止

</important>

## 実行手順

<procedure>

1. **デフォルトブランチの取得**

   デフォルトブランチを取得:
   ```bash
   git symbolic-ref refs/remotes/origin/HEAD --short | cut -d/ -f2
   ```

2. **修正内容の確認**

   デフォルトブランチからの差分を確認:
   ```bash
   # <default-branch> には手順1で取得したブランチ名を使用
   git diff <default-branch>...HEAD
   ```

3. **コミットメッセージの確認**

   デフォルトブランチからのコミット履歴を確認(本文も含む):
   ```bash
   # <default-branch> には手順1で取得したブランチ名を使用
   git log <default-branch>..HEAD
   ```

4. **説明文ファイルの準備**

   `.github/PULL_REQUEST_TEMPLATE.md`が存在する場合はコピー:
   ```bash
   cp .github/PULL_REQUEST_TEMPLATE.md .claude_work/pr_body_draft.md
   ```

   存在しない場合は新規ファイル作成:
   ```bash
   touch .claude_work/pr_body_draft.md
   ```

5. **Pull Requestの説明文を作成**
   - **重要**: 説明文を書く前に、必ず **reference/description-rules.md** を読み、そのルールに従うこと
   - 作業ファイル(`.claude_work/pr_body_draft.md`)を編集
   - 上記で取得した情報とチャットの会話内容を考慮して説明文を作成
   - **説明文は必ず日本語で記載すること**
   - **重要**:ファイル編集には必ず`Write`ツールまたは`Edit`ツールを使用すること
   - bashコマンド(`cat <<EOF > file`、`echo "..." > file`など)でファイルを書き込んではいけません

5.5. **CIチェックボックスの確認と記入(PR template使用時)**

   **重要**: PR templateにCIチェックボックスがある場合、PR作成/更新前に必ずCI状態を確認してチェックを記入すること。後からの確認は禁止。

   a. CIチェックボックスの検出:

   `.claude_work/pr_body_draft.md`内にCIチェックボックスがあるか確認:
   ```bash
   grep -iE '- \[ \].*(CI|test|check|テスト)' .claude_work/pr_body_draft.md
   ```

   b. PRが既に存在する場合のCI状態確認:

   PRが存在するか確認し、存在する場合はCI状態を確認:
   ```bash
   # PRが存在するか確認
   if gh pr view >/dev/null 2>&1; then
     # CI状態を確認
     gh pr checks --json name,conclusion
   fi
   ```

   c. CI状態に基づくチェックボックスの記入:

   - 全てのCIチェックが成功(`conclusion: SUCCESS`または`SKIPPED`)している場合、Editツールでチェックを記入:
     - `- [ ] CI` → `- [x] CI`
     - `- [ ] テスト` → `- [x] テスト`
     - `- [ ] Tests pass` → `- [x] Tests pass`
   - 一部でも失敗またはペンディングの場合、チェックを入れない(`- [ ]`のまま)

   d. PRが新規作成の場合:

   - この段階ではCIがまだ実行されていないため、チェックボックスは空(`- [ ]`)のまま
   - 手順6でPRを作成した後、CIの完了を待つ必要がある場合は以下を実行:
     1. CI完了を待機:`gh pr checks --watch`
     2. CI完了後、手順5.5に戻ってチェックを記入
     3. `gh pr edit --body-file .claude_work/pr_body_draft.md`でPR説明文を更新

6. **リモートへのプッシュとPull Requestの作成または更新**

   現在のブランチ名を確認してプッシュ:
   ```bash
   # ブランチ名を確認
   git rev-parse --abbrev-ref HEAD
   # ブランチ名を指定してプッシュ(例: git push origin feature/new-feature)
   git push origin <branch-name>
   ```

   PRの存在確認と作成/更新:
   ```bash
   # PRが存在するか確認
   if gh pr view >/dev/null 2>&1; then
     # PRが存在する場合:更新
     gh pr edit --title "修正内容を考慮したタイトル" --body-file .claude_work/pr_body_draft.md
   else
     # PRが存在しない場合:ドラフトPRを作成
     gh pr create --draft --title "修正内容を考慮したタイトル" --body-file .claude_work/pr_body_draft.md
   fi
   ```

From syou6162/agent-skills, MIT.

More from syou6162/agent-skills

Signals

Stars
11
Forks
0
Open issues
1
Last commit (this folder)
Apr 11, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from syou6162

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get updating-pr-title-and-description running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying updating-pr-title-and-description?

CallGet help
Cite this page

updating-pr-title-and-description skill. Agent Mart. https://agentmart.dev/skills/syou6162-updating-pr-title-and-description (last updated 2026-10-24)