Logo Pull Request

Pull Request

Tổ chức
wendylabsinc
pull-request

Create and maintain clear, reviewable pull requests. Use when writing or updating a PR description; linking issues or stacked PRs; splitting changes; documenting database, API, SDK, UI, or CLI boundaries; monitoring CI and review feedback; preserving commit history and authorship; or checking PR readiness and merge mechanics.

Tổng quan

Nhà phát hànhwendylabsinc
Kho mãclaude-skills
Tên kỹ năngpull-request
Sao
62
Bản fork
5
Tệp đi kèm
1
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 1 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được wendylabsinc công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Pull Request trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/wendylabsinc/claude-skills/tree/main/pull-request
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/wendylabsinc/claude-skills.git /tmp/claude-skills
mkdir -p .claude/skills
cp -r /tmp/claude-skills/pull-request .claude/skills/pull-request
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Pull Request trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Pull Request ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Pull Request với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Pull Requests

Goal

Make every PR easy to understand, review, validate, and merge without losing issue traceability, current evidence, commit history, or contributor attribution.

This skill owns PR mechanics. Mode selection, human-agreement stages, implementation authorization, and experiential-development workflow belong to the agentic-development skill; see the appendix.

Repository conventions and authorization

Read the repository's contributor guidance, PR template, required checks, and merge policy first. A repository-specific convention takes precedence over this default.

Treat pushing, opening a draft, marking ready, merging, and deploying as distinct mutations. Perform only the stages actually authorized. Do not disturb unrelated dirty state or add opportunistic cleanup.

Issue links and titles

When an issue exists, link it at the top instead of repeating its content:

markdown
- **Closes:** [PROJECT-123 Problem title](https://linear.app/example/issue/PROJECT-123/problem-title)

> **In plain terms:** Describe only what this PR changes for people.

Choose the relationship that is true:

  • Closes — this PR fully resolves the issue.
  • Advances — this PR delivers only part of the issue.
  • Related — the issue provides context without claimed progress.
  • Issue — a neutral association.

Use one line per issue. Only use automatic closing behavior for full resolution. If there is no issue, omit the link and give enough context in In plain terms for the PR to stand alone.

The PR title describes the behavior delivered and need not copy the issue title. The issue remains the problem record; the PR is the implementation record.

Description mechanics

Use this compact default unless the repository template differs:

markdown
- **Closes:** [PROJECT-123 Problem title](https://linear.app/example/issue/PROJECT-123/problem-title)

> **In plain terms:** One short paragraph describing what this PR changes for
> people without repeating the linked issue.

## Summary
- Explain the implemented change and material trade-offs succinctly.

## Tests
- `command that was run`
- Or: Not run (reason)

Keep the body grounded in the cumulative diff and current validation. Avoid file-by-file narration, private helper names, vague bullets, stale intent, and claims not supported by the branch.

Keep it short enough to read in under a minute: relationship links, In plain terms, a few summary bullets, and Tests. Add another section only when it carries something the reviewer cannot get from the diff, the checks, or the linked issue. A body that needs scrolling usually means the PR is too large or the description is padded.

Write plainly and factually, with enough context that a human or an agent arriving cold understands what changed and why. Leave out:

  • problem, cause, or solution essays that restate the linked issue or design document;
  • pasted command output, transcribed verification runs, and "what I checked" tours—evidence belongs in CI, commits, and review replies;
  • revision history such as "this PR has been extended" or corrections to earlier paragraphs; rewrite the body to describe the current branch instead;
  • empty sections, N/A placeholders, unused checklists, and other template scaffolding;
  • hedging, salesmanship, and praise for the change.

Keep AI attribution out of the PR body. Generated-with footers, tool badges, and agent signatures belong in commit trailers if a repository wants them at all; in a description they only add noise.

For complete writing guidance, optional sections, and examples, read references/descriptions.md.

Scope and splitting

Prefer one coherent user, product, or operational outcome per PR. Split work when parts have meaningfully different:

  • outcomes or issue relationships;
  • risk, rollback, deployment, or durable contract boundaries;
  • reviewers or ownership domains;
  • release timing;
  • dependencies that can land independently.

Do not split mechanically by file count, language, directory, or implementation layer. Keep a supporting refactor with its only consumer. Do not create a foundation PR solely to make the visible feature PR look smaller.

Every split PR still needs a coherent purpose, accurate relationship, and validation at its actual boundary. Intermediate PRs use Advances; only the PR completing the issue uses Closes.

Durable boundary changes

Inspect the diff specifically for interfaces that users, clients, persisted data, scripts, or other repositories will depend on and that become costly to reverse:

  • Database schemas: tables, columns, types, constraints, semantically important indexes, persisted meanings, migrations, compatibility windows, and rollback behavior.
  • gRPC and protobuf: services, RPCs, messages, field numbers and presence, enum values, wire meaning, errors, and reservation or compatibility requirements.
  • REST APIs: methods, paths, authentication, request and response shapes, status and error contracts, pagination, defaults, and versions.
  • Public SDK APIs: exported modules, types, functions, signatures, protocols, behavior guarantees, errors, concurrency semantics, platform support, deprecations, and source or binary compatibility.
  • User interfaces: the journey people see—actions, navigation, state, terminology, feedback, accessibility, and screenshots where useful.
  • Command-line interfaces: commands, flags, arguments, defaults, prompts, output formats, exit codes, configuration, environment variables, and scripting compatibility.

When one changes, add a concise section describing only the observable contract delta:

markdown
## Boundary changes
- **REST:** `POST /devices` now returns `409 device_already_exists` for a duplicate identity instead of a generic `400`.
- **CLI:** `wendy deploy --wait` now exits nonzero when device confirmation times out; scripts that ignored the old timeout message may need adjustment.

Use before → after wording when helpful. State whether the change is additive, compatible, deprecated, or breaking, and mention affected consumers and material migration, rollout, or rollback constraints.

Do not list replaceable helpers, handlers, ORM models, view types, or internal refactors here unless they alter the external contract or risk. Do not add an empty boundary section.

In contract-first work, human-selected internal seams belong under Agreed structure, not Boundary changes.

Stack mechanics

Keep stacks shallow. Base each child on its actual parent and declare relationships before In plain terms:

markdown
- **Advances:** [PROJECT-123 Problem title](https://linear.app/example/issue/PROJECT-123/problem-title)
- **Depends on:** [#101 Add the shared transport](https://github.com/example/repository/pull/101)
- **Followed by:** [#103 Expose the user workflow](https://github.com/example/repository/pull/103)

For every stack:

  • describe only the current PR's delta, not the cumulative stack;
  • give each PR its own validation;
  • update bases and links as parents merge;
  • avoid overlapping edits that create cascading conflicts;
  • do not present a child as independently mergeable while its parent is unresolved;
  • merge in dependency order without casually rewriting published history.

Contract-first work uses one of these shapes:

text
Contract → Implementation
Boundary → Structure → Implementation   # rare

Represent the layers mechanically:

markdown
# Combined contract PR
- **Mode:** Contract
- **Followed by:** [#102 Implement the contract](...)

# Optional structure PR
- **Mode:** Structure
- **Depends on:** [#101 Agree the boundaries](...)
- **Followed by:** [#103 Implement the agreed structure](...)

# Implementation PR
- **Mode:** Implementation
- **Depends on:** [#102 Agree the structure](...)
- **Implements:** [#101 Agree the boundaries](...)
- **Implements:** [#102 Agree the structure](...)

The contract or boundary PR records Boundary changes. Selected internal seams use Agreed structure in the combined contract or optional structure PR. The implementation PR links rather than repeats them and includes:

markdown
## Try it
- Preview, experimental build, artifact, or reproducible local journey.

## Contract drift
- **Boundary:** None.
- **Structure:** None.

Omit inapplicable structure lines in a two-level stack. When drift exists, link the owning parent update and renewed agreement. The agentic-development skill defines when these layers are appropriate and how agreement works.

Commits, history, and authorship

Preserve original history and author metadata whenever practical:

  • do not recreate another person's changes under the agent's identity;
  • do not squash, collapse, reorder, or rewrite published commits for cosmetic history;
  • avoid force-pushing published branches unless repository workflow requires it and affected collaborators agree;
  • keep new commits attributable to their actual author;
  • retain valid co-author trailers and sign-offs;
  • prefer follow-up review commits over rewriting commits others may already be reviewing.

When merging is authorized, prefer a merge commit because it preserves commits, ordering, and authors. Do not squash-merge by default, especially with multiple authors. Use squash or rebase merge only when explicitly requested or required by repository policy; preserve required attribution and make the history loss or rewrite clear.

Keep the PR current after every push

After every push:

  1. Re-read the cumulative diff against the current base.
  2. Update the title if delivered scope changed.
  3. Update issue, dependency, and successor links.
  4. Update In plain terms, summary, boundary changes, agreed structure, trade-offs, tests, rollout, Try it, drift, and follow-ups as applicable.
  5. Remove claims invalidated by new commits.

Never let the description claim work absent from the branch or omit material behavior added later.

CI and feedback

After every push, watch relevant CI and automated review to terminal states. Inspect failures, cancellations, skipped required checks, stale checks, and all feedback channels:

  • human reviews, inline threads, and PR comments;
  • tests, lint, documentation, contract generation, migrations, and compatibility;
  • security, dependency, static-analysis, and AI review findings.

Address every finding within authorized scope:

  • fix valid findings and add focused tests where appropriate;
  • reply with the relevant commit or evidence;
  • narrowly resolve or suppress incorrect findings through the tool's documented mechanism and record the rationale;
  • never ignore feedback, hide unresolved results, broadly disable a check, or lower a security baseline merely to turn CI green;
  • ask for direction when feedback conflicts with product intent, repository policy, or scope.

Treat credible security, privacy, credential, data-loss, and supply-chain findings as blocking. Do not expose sensitive scanner output publicly. Avoid wasteful reruns when no relevant input changed.

Ready and merge mechanics

Present a PR as ready only when its description matches the diff, required checks are green, actionable feedback is addressed, invalid findings have evidence-backed resolution, dependencies and material rollout concerns are explicit, and the branch is conflict-free.

Do not approve or present a red, dirty, conflicting, stale, blocked, or misleading PR as ready. Before an authorized merge, recheck status, reviews, base branch, dependency order, and merge strategy.

Useful GitHub commands

bash
gh pr view <number> --json number,title,body,headRefName,baseRefName,isDraft,mergeable,reviewDecision,statusCheckRollup,closingIssuesReferences
git diff --stat <base>...HEAD
git diff <base>...HEAD
gh pr checks <number> --watch
gh pr create --draft --title "..." --body-file <file>
gh pr edit <number> --body-file <file>

GitHub's summary may omit inline threads or third-party findings. Use the provider UI or API as needed before claiming all feedback is addressed.

Appendix: agentic development lifecycle

Load the agentic-development skill when deciding between integrated and contract-first work or handling boundary drafts, human-promoted structure, agreement commits, implementation authorization, previews, live experience, or contract drift.

That skill owns the lifecycle and human/agent collaboration model. This skill only defines how the resulting PRs are represented, maintained, validated, and merged.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Pull Request làm được gì?

Create and maintain clear, reviewable pull requests. Use when writing or updating a PR description; linking issues or stacked PRs; splitting changes; documenting database, API, SDK, UI, or CLI boundaries; monitoring CI and review feedback; preserving commit history and authorship; or checking PR readiness and merge mechanics.

Vì sao nên dùng Pull Request trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Pull Request là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Pull Request trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/wendylabsinc/claude-skills/tree/main/pull-request. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Pull Request?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Pull Request với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Pull Request với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Pull Request có miễn phí không?

Kỹ năng này được wendylabsinc phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇