/jiachen:pr-descriptionfrom Jiachen's MCode Stack
Drafts or checks pull request descriptions in a fixed format (background, changes, behavior changes, verification, rollback) for GitHub or GitLab. Useful when opening a PR or when a review summary reports missing sections.
Ships in Jiachen's MCode Stack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub minimax-ai/mcode-stack --plugin jiachen7 skills in this plugin
/lifting-loopsFinds loops where the user keeps acting as a manual step for agents (retrying, judging output, approving, carrying context, starting the same task by hand, doing the agent's work) and proposes how to lift the user out: delete a stale rule, change a skill / AGENTS.md / playbook, add a script or metric, add a skill or scheduled task, or advise the user. Keeps a private loop ledger and promotes Claude Code auto-memory into artifacts. With a task already in the session, reflects on that session; in an empty session, scans recent local Claude Code, MiniMax Code, omp, pi and Codex sessions, a claude.ai export and an Obsidian vault. Triggers: /lifting-loops, retro, post-task reflection, "find repeated work", 反思一下, 复盘这次会话, 总结最近的会话, 找找重复劳动, 哪些事可以不用我; the weekly scheduled run; settling a proposal ("accept P-003", 采纳 P-003, 拒绝 P-003)./making-contentContent production in three modes: rewrite, Xiaohongshu (小红书) image post, short video. Rewrite (default): turns an AI-sounding Chinese or mixed Chinese-English draft (post, newsletter, engineering blog, commentary) into the author's restrained style: few emoji, short paragraphs, hedged claims, neutral wording, English terms split by spaces. Triggers: 按我的风格改, 去 AI 味, 润色, 改改这篇, or a vague 帮我改改 when the context is a structured draft. Also for a Xiaohongshu image post from scratch (title, cover, cards, body, hooks); read references/xhs-post.md first. Also turns a document, research, notes or an article into a 60-180 s vertical video (抖音, 小红书, 视频号, B站: real sources, voice-over, captions, cover). Triggers: 做成视频, 做个短视频, 剪个 90 秒版本, 配音, 换成我的声音, or complaints of 字太密, AI 味太重, 容易走神; read references/video-pipeline.md first./pr-quizWrite multiple-choice questions that check whether a PR's author understands their change. Use only when the MCode Review pipeline asks for an author quiz./pr-reviewReview a pull request or the current branch with the MCode Review rules (severity, evidence ladder, lens checklists, review principles) and the repository's own .mcode-review.json and .mcode-review.md. Works with GitHub pull requests and GitLab merge requests. Use when the MCode Review CI pipeline starts a review pass, or when a developer asks to review their PR or branch before asking a person to review it./pr-review-ciConnects a GitHub or GitLab repository to the MCode Review CI and keeps the setup current. Use when someone adds MCode Review to a repository on GitHub Actions or GitLab CI, upgrades or rolls back the pinned plugin commit, changes the repository's rule pack, language, models, shadow or enforce phase, author quiz or Feishu card, checks the security setup, or troubleshoots a review run that failed./pr-review-tuningThe weekly self-tuning loop for the MCode Review bot on GitHub or GitLab. Measures the bot on a repository's recent PRs (threads per PR, which kinds people answer or dismiss, what was unanswered at merge, cost per round, time to merge, follow-up fixes), finds noise and misses, proposes at most three rule changes with their expected effect on each goal, backtests them on past PRs with known outcomes within an agreed token budget, has an independent check recompute the numbers, and changes rules only after a person approves. The first run only measures. Use for requests to run pr-review-tuning or to measure or tune the review bot, for the weekly scheduled run, and for settling a proposal (approve or reject P1).Other plugins' skills for the same job