← 返回 Skills 市场
djc00p

GitHub PR Writer

作者 Deonte Cooper · GitHub ↗ · v1.0.2 · MIT-0
linuxdarwinwin32 ✓ 安全检测通过
194
总下载
0
收藏
1
当前安装
3
版本数
在 OpenClaw 中安装
/install github-pr-writer
功能描述
Write clear, structured GitHub pull request descriptions using a standardized template. Use when creating a PR, updating a PR description, or when asked to d...
使用说明 (SKILL.md)

GitHub PR Writer

Generates structured, thorough PR descriptions using a consistent template.

Template

See assets/pull_request_template.md for the full template to copy into your repo's .github/pull_request_template.md.

How to Fill It

When writing a PR description, gather context first:

# See what changed vs base branch
git diff main --stat

# See commit messages
git log --oneline main..HEAD

# See full diff (for smaller PRs)
git diff main

Then fill in each section:

Summary

One or two sentences. What does this PR do and why? Link the issue if there is one.

Closes #123
Adds user authentication via Devise with email confirmation.

Type of Change

Check exactly one (or two if truly applicable). Be honest — don't check "safe" if there are breaking changes.

Implements / Fixes

Link issues or describe the specific feature/bug this addresses. Be specific enough that a reviewer knows what to look for.

Description of Changes

Bullet points — what actually changed in the code:

  • New files created
  • Existing files modified and why
  • Anything removed
  • Config changes
  • Database migrations

Group related changes together. Lead with the most important change.

Impact

Honest assessment. If you changed a shared concern, a base class, or anything that touches many parts of the app — flag it.

Testing Notes

Tell the reviewer how to verify the changes work:

  • What specs were added/changed
  • Manual QA steps if needed
  • Edge cases that were considered
  • Anything that was intentionally NOT tested and why

Rules

  • Fill every section — empty sections signal an incomplete review
  • Check appropriate checkboxes — don't leave all unchecked
  • Be specific in Description — "Updated stuff" is not useful
  • Be honest about Impact — reviewers need to know what to watch for
  • Never merge — PRs are for review; the author or maintainer merges

Example (filled)

# 📦 Pull Request

## Summary
Closes #44
Adds the driver availability system for ride booking. When a patron requests a ride,
the system checks which approved drivers are available based on schedule windows,
existing ride conflicts, and drive-time buffers.

---

## ✅ Checklist Before Merging
### Code
- [x] Code runs locally without errors
- [x] My code has no unused or commented-out sections
- [x] I have reviewed my code
- [x] I have added comments to any complex logic

### Testing
- [x] All tests are passing
- [x] I have added or updated tests as needed

---

## 🧪 Type of Change
- [x] 🚀 New feature

---

## 🛠️ Implements / Fixes
Implements driver availability checking for Phase 1 ride scheduling.

---

## 📋 Description of Changes
- Added `role` column to `user_rides` (driver/patron, default: patron)
- Created `driver_schedules` table for recurring and one-off availability windows
- Added `DriverSchedule` model with `covers_time?` method
- Added `GeoapifyDriveTimeService` for real drive time via Geoapify Route Matrix API
- Added `DriverAvailabilityService` — 4-step availability check
- Updated seeds and factories to include `role`

---

## 💣 Impact
- [x] This PR is safe (does not break existing functionality)

---

## 🧪 Testing Notes
- [x] All/most tests changed

75 new tests across 3 spec files. Final suite: 729 examples, 0 failures.
安全使用建议
This skill is an instruction-only helper that reads your repository history (git diff/log) and formats a PR body using the included template. It does not request credentials or install code. Before using it, confirm your agent will not perform push/merge operations automatically (the README says “Never merge”), and verify whether the agent will actually call the GitHub CLI (gh) in your environment — if so, ensure your GitHub credentials are stored and managed appropriately. If you want to be extra cautious, run the suggested git commands yourself and paste the diff/context into the tool rather than granting the agent direct repo access.
功能分析
Type: OpenClaw Skill Name: github-pr-writer Version: 1.0.2 The skill bundle is designed to help an AI agent generate structured GitHub pull request descriptions. It uses standard git commands (git diff, git log) to gather context and provides a markdown template in assets/pull_request_template.md, with no evidence of malicious intent, data exfiltration, or unauthorized execution.
能力评估
Purpose & Capability
Skill name/description (generate PR descriptions) aligns with the instructions (run git diff/log to gather context and fill a template). Minor note: metadata declares the gh CLI as required, but the SKILL.md only shows git commands — gh is plausible for PR workflows but is not actually invoked in the provided instructions.
Instruction Scope
Runtime instructions are limited to reading git diffs and commit logs in the repo and filling sections of the included PR template. There are no instructions to read unrelated system files, export data, contact external endpoints, or access environment secrets.
Install Mechanism
No install spec and no code files — instruction-only. Nothing is downloaded or written to disk by the skill itself.
Credentials
The skill declares no required environment variables or credentials. The operations it recommends (git diff, git log) do not require secrets. If a user chooses to use gh later, that would need GitHub auth, but the skill does not request it.
Persistence & Privilege
Skill is not always-enabled and is user-invocable; it does not request persistent system presence or modify other skills or system-wide settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install github-pr-writer
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /github-pr-writer 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
Fix: replace bare code blocks with ```text for consistent rendering
v1.0.1
Fix: Added clawdbot runtime metadata
v1.0.0
Initial release — structured PR description template with guidance on filling each section. Includes a drop-in pull_request_template.md for your .github/ folder.
元数据
Slug github-pr-writer
版本 1.0.2
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 3
常见问题

GitHub PR Writer 是什么?

Write clear, structured GitHub pull request descriptions using a standardized template. Use when creating a PR, updating a PR description, or when asked to d... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 194 次。

如何安装 GitHub PR Writer?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install github-pr-writer」即可一键安装,无需额外配置。

GitHub PR Writer 是免费的吗?

是的,GitHub PR Writer 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

GitHub PR Writer 支持哪些平台?

GitHub PR Writer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(linux, darwin, win32)。

谁开发了 GitHub PR Writer?

由 Deonte Cooper(@djc00p)开发并维护,当前版本 v1.0.2。

💬 留言讨论