- name
SKILL.md
Tệp skill vẫn nằm trong kho mã của nhà phát hành.
Dán lệnh đã sao chép vào terminal. Lệnh sẽ cài đặt tệp SKILL.md này vào agent đó.
npx skills add MiniMax-AI/mcode-stack --skill pr-description -a cursor -yDán lệnh đã sao chép vào terminal. Lệnh sẽ cài đặt tệp SKILL.md này vào agent đó.
npx skills add MiniMax-AI/mcode-stack --skill pr-description -a claude-code -yDán lệnh đã sao chép vào terminal. Lệnh sẽ cài đặt tệp SKILL.md này vào agent đó.
npx skills add MiniMax-AI/mcode-stack --skill pr-description -a codex -yDán lệnh đã sao chép vào terminal. Lệnh sẽ cài đặt tệp SKILL.md này vào agent đó.
npx skills add MiniMax-AI/mcode-stack --skill pr-description -a grok -yGửi tin nhắn đã sao chép trong cuộc trò chuyện Grok Bot. Bot sẽ lấy tệp SKILL.md này từ GitHub và thêm vào bộ skill mà mọi Bot của bạn dùng chung.
Install this skill: https://github.com/MiniMax-AI/mcode-stack/tree/HEAD/stacks/jiachen/skills/pr-descriptionTừ nhà phát hành
On GitLab a PR is a merge request; the format is the same on both hosts.
Write the description in the user's language, or in the output language a prompt names. A PR opened through a CLI or an API does not get the repository's PR template, so write every section yourself. When the repository has a template (.github/pull_request_template.md on GitHub, .gitlab/merge_request_templates/ on GitLab), keep its headings and checklists and fit the sections below into it.
MCode Review asks for the verification and rollback sections on L and XL PRs and on PRs that touch risk paths. Write all sections for every PR anyway; they cost little and answer the reviewer's first questions.
## Background
<the problem, who hits it, how it shows up; link the ticket or discussion>
## Changes
<what changed, by mechanism, not by file list>
Behavior changes:
- <each user-visible or caller-visible change; write "None" when there is none>
## Out of scope
- <things a reviewer might expect but this PR leaves alone, and why>
## Verification
- <the test that failed before the fix and passes after it, with its name>
- <commands run and their result>
## Rollback
<how to revert, and what happens to data, config or clients written by the new version>
## Not done
- <checks not done, such as manual testing on a platform>
## Related
- <related PRs and how they interact>
In Chinese, keep the same sections in the same order with these headings: 背景, 改动 (with 行为变化:, and 无 when there is none), 明确不改的, 验证, 回滚方式, 未执行, 关联.
Read the PR's diff as well as its description, then report each missing or empty section, each claim the diff does not support, each behavior change in the diff that the description leaves out, and a missing rollback plan for changes to stored data or config. Suggest the missing text; leave sections that are fine alone.
Show the text first, and post it only when the user asks. Write it to a file, then:
gh pr create --title "<title>" --body-file <file> for a new PR, gh pr edit <n> --body-file <file> for an existing one.glab mr create --title "<title>" --description-file <file>, or glab mr update <n> --description-file <file>. Older glab versions without --description-file take --description "$(cat <file>)".Do not change a PR's title, labels, reviewers or target branch unless the user asks.
Draft or check a pull request description in a fixed format (background, changes, behavior changes, out of scope, verification, rollback, not done, related) for GitHub or GitLab. Use when opening a PR
---name: pr-descriptiondescription: Draft or check a pull request description in a fixed format (background, changes, behavior changes, out of…---# stacks/jiachen/skills/pr-description/SKILL.mdTổng quan
Draft or check a pull request description in a fixed format (background, changes, behavior changes, out of scope, verification, rollback, not done, related) for GitHub or GitLab. Use when opening a PR, when the MCode Review summary reports missing description sections, or when the user asks for a PR description.
Câu hỏi thường gặp
Tải stacks/jiachen/skills/pr-description/SKILL.md từ nhà phát hành, hoặc sao chép đường dẫn và mở kho mã. PlugMCP chỉ liệt kê skill và không lưu trữ tệp này.
Nhà phát hành duy trì nó tại https://github.com/MiniMax-AI/mcode-stack.
Claude, Cursor, Codex và Grok Build có thể đọc tệp SKILL.md mà bạn thêm từ kho mã của nhà phát hành. Grok Bot cài đặt skill khi bạn gửi liên kết thư mục GitHub của skill trong cuộc trò chuyện.