Logo Create Pr With Evidence

Create Pr With Evidence

Cộng đồng
luoling8192
create-pr-with-evidence

Prepare and create a pull request with verifiable change context, architecture evidence, and before/after visual evidence. Use when the user asks to open, create, publish, or prepare a PR from the current branch.

Tổng quan

Nhà phát hànhluoling8192
Kho mãskills
Tên kỹ năngcreate-pr-with-evidence
Sao
22
Bản fork
0
Tệp đi kèm
2
Giấy phépMIT
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ộ.

  • 2 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 luoling8192 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 Create Pr With Evidence 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/luoling8192/skills/tree/main/skills/create-pr-with-evidence
  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/luoling8192/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/create-pr-with-evidence .claude/skills/create-pr-with-evidence
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 Create Pr With Evidence 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 Create Pr With Evidence 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 Create Pr With Evidence 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.

Create Pull Request With Evidence

Create a reviewable PR from the exact commits intended for publication. The PR body must explain the changed system, not only list changed files.

Repository Rules

Repository instructions take priority over this skill. Read AGENTS.md, CLAUDE.md, CONTRIBUTING.md, and the PR template before you start.

  • Use the repository's rules for the PR title, branch name, commit format, and required checks.
  • If the repository has a PR template, keep its required sections. Add the sections from this skill that improve the review.
  • If the repository has its own skills or scripts for screenshots, uploads, or checks, use them instead of the generic steps below.

Workflow

  1. Inspect the repository instructions, status, branch, remotes, and target branch.
  2. Compute the merge base. Record the exact base...head comparison that the PR will publish.
  3. Detect stacked work. Separate inherited changes from this PR's own changes.
  4. Review the complete diff. Trace changed files to their entry points, callers, state owners, persistence, and external boundaries.
  5. Classify the PR as a feature, fix, refactor, maintenance change, or a combination. Select context evidence that helps reviewers understand this change.
  6. Run checks that match the changed surfaces. Satisfy the repository's required final checks.
  7. If the diff changes user-visible UI, follow the visual-evidence workflow below.
  8. Read the PR body template. Compose the body from verified code and runtime evidence.
  9. Publish the intended commits through the available GitHub or gh workflow.
  10. Create the PR. Then open it and verify the title, base, head, body, diagrams, tables, and image Markdown.
  11. Get the PR review threads, comments, and check status. Fix each confirmed error and run focused checks.
  12. Push each correction. Reply with evidence and resolve the applicable thread.

Context Evidence

Build a small context brief before you write the PR body. Keep the analysis read-only until the normal publication step.

  • Record the repository, target branch, head branch, merge base, and inspected commit range.
  • For a stacked PR, identify the parent PR or branch. Do not describe inherited changes as this PR's own changes.
  • Separate runtime code from generated files, lockfiles, snapshots, and migrations.
  • Trace the changed files to real module boundaries. Include entry points, composition roots, protocols, domain services, persistence, adapters, and callers when applicable.
  • Support architecture claims with file paths or symbols. Mark an unproven business intent as an assumption or an open question.
  • Do not expose tokens, secrets, full user records, or webhook payloads.

PR Body Contract

Use the structure in the PR body template as a decision guide. Match the detail to the scope, risk, and review cost.

  • Every PR needs a concise ## Summary and ## Verification section.
  • Add ## Change map when the diff changes several modules, responsibilities, or ownership boundaries.
  • Add ## Architecture and behavior when a diagram explains the change faster or more accurately than prose.
  • Add ## Boundaries and risks when the change has meaningful failure modes, invariants, migrations, or external effects.
  • Keep a small and local PR body small. Do not add a table or diagram only to satisfy a template.

When a change map is useful, prefer this table:

ModuleBeforeAfterDescription
<module or boundary><previous responsibility or behavior><new responsibility or behavior><reason and effect>

Use module or domain names in the first column. Do not use a raw file list as the module map. Prose is sufficient for a single local module.

Behavior Evidence Workflow

Apply this workflow when the diff changes runtime behavior. A small wording, styling, or local cleanup change does not need a behavior diagram.

  1. List the changed behavior scenarios with a stable ID and short title. Include affected state transitions, async ordering, retries, cancellation, event routing, persistence, cleanup, and failure or recovery paths.
  2. For each scenario, select the smallest evidence form that makes the change reviewable: prose for a local path, a module flow for changed ownership or dependencies, a sequence diagram for ordering, or a state diagram for changed transitions or terminal states.
  3. For a fix that changes a flow or state model, provide comparable Before and After diagrams. For a feature, show the resulting flow or state model and explain any replaced behavior.
  4. Cover every listed scenario in the PR body or name it as unverified. Do not silently omit a changed path because a diagram seems optional.
  5. Inspect the evidence against the diff. Keep node names and abstraction level consistent across a Before and After pair.

When a scenario changes state, show the states, triggering events or commands, and terminal or recovery states that the diff affects. When it changes ordering, show the participants and the order of calls, events, retries, or cleanup. Name correlation and idempotency keys when they isolate concurrent work.

Keep diagrams tied to code. Label arrows with calls, events, commands, or data. Identify domain-rule and mutable-state owners. Show external systems, IPC, queues, databases, caches, and configuration when they affect the behavior. Match each alt branch to a code branch. Mark inferred paths as assumptions or open questions.

Boundary and Verification Mapping

Select risks that match the diff. Start with inputs and side effects. Then examine failure, retry, duplicate delivery, concurrency, ordering, authorization, cleanup, migration, and rollback. Reuse the behavior scenario IDs when they connect an invariant to its evidence.

Map each high-risk invariant to existing tests, new tests, CI checks, or an unverified runtime condition. A green CI result proves only that its configured checks passed.

Use a table when the PR has several meaningful edge cases or invariants:

Invariant or boundaryFailure modeProtectionEvidence or gap
<required behavior><how it can fail><code or design guard><test, runtime evidence, or unverified gap>

Distinguish verified facts, assumptions, and unverified conditions. Do not write "safe," "fixed," or "backward compatible" without evidence.

Visual Evidence Workflow

  1. Trace the diff to every affected page, window, dialog, route, responsive state, theme, and locale. Shared primitives and global styles can require several consumers, not one representative page.

  2. Record a stable ID and human-readable title for each state. Prefer existing repository-owned screenshot scenarios, component stories, routes, and nearby tests.

  3. Use the recorded merge base. Create a detached temporary worktree for that commit. Never switch or overwrite the contributor's active worktree.

  4. Capture the same scenario from the merge base and the proposed HEAD. Use the repository's screenshot tool or skill when one exists. Otherwise use the available browser or app automation tool.

  5. Use identical scenario definitions, viewports, locale, theme, fixture data, and readiness conditions for both revisions.

  6. Write captures to a gitignored or temporary directory. Keep one directory per revision, and keep the capture names identical across revisions.

  7. Inspect every image. Reject blank, loading, error, permission, onboarding, or unstable captures unless that is the documented state.

  8. Pair results by stable ID and retain this handoff record:

    text
    id: settings-connection
    title: Settings / Connection
    runtime: web
    viewport: 1440x900
    before: /absolute/path/before/settings-connection.png
    after: /absolute/path/after/settings-connection.png

    Use before: absent for a new state and after: removed for a deleted state. A capture failure is blocking. Record its reason instead of silently omitting the state.

  9. Upload every local image as a GitHub user asset while composing the PR. Use an upload skill such as upload-github-attachment when one is installed.

  10. Put all pairs under ## Visual changes. Put an image row before its component or page name row:

markdown
| Before | After |
|---|---|
| ![](before-user-asset-url) | ![](after-user-asset-url) |
| Settings / Connection | Settings / Connection |
  1. Verify that every user-asset URL matches the intended capture. Remove temporary worktrees only after upload succeeds. Clear local captures when they are no longer useful.

Visual Evidence Contract

Treat local captures as ephemeral handoff data. GitHub owns the uploaded copy. The repository must remain free of tracked PR-only images.

If GitHub asset upload is unavailable, stop before you create an incomplete UI PR. Report the local image paths that the PR needs.

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 Create Pr With Evidence làm được gì?

Prepare and create a pull request with verifiable change context, architecture evidence, and before/after visual evidence. Use when the user asks to open, create, publish, or prepare a PR from the current branch.

Vì sao nên dùng Create Pr With Evidence 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. Create Pr With Evidence 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 Create Pr With Evidence trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/luoling8192/skills/tree/main/skills/create-pr-with-evidence. 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 Create Pr With Evidence?

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 Create Pr With Evidence 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 Create Pr With Evidence 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 Create Pr With Evidence có miễn phí không?

Có. Kỹ năng này được luoling8192 phát hành trên GitHub theo giấy phép MIT. 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 👇