Files
SoonDesign/.cursor/rules/github-pr.mdc
T
24kycj 88c6ce8ccc 重构 monorepo 并完善网页端订阅与首页体验
- 迁移为 frontend-web、frontend-electron、backend-web 与 docker 部署结构
- 网页端:订阅门禁二次弹窗、套餐/支付组件化、顶栏分组对齐
- 首页:最近文件与模板库布局优化,缩略图对齐,下载与删除操作
- 新增管理后台、支付与云端文件 API,更新 README 与项目规范

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-08 18:17:39 +08:00

15 lines
840 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
description: GitHub 任务用 gh;创建 PR 流程
alwaysApply: true
---
# GitHub / PR
- 所有 GitHub 相关操作(issues、PR、checks、releases、从 URL 取信息)用 `gh`,通过 Shell 执行。
- 创建 PR 前并行:`git status`、`git diff`、检查当前分支是否跟踪远端及是否与远端同步、`git log` + `git diff <base-branch>...HEAD`(覆盖从 base 分叉起的全部提交,非只看最新一条)。
- 分析将纳入 PR 的全部改动与全部相关 commit,再写 PR 摘要。
- 顺序:必要时建新分支 → 需要时 `git push -u origin HEAD` → `gh pr create``--body` 用 HEREDOC。
- PR body 结构:`## Summary`13 条)、`## Test plan`(可勾选清单)。
- 完成后把 PR URL 返回给用户。
- 禁止:`git config` 修改;禁止用户未要求时 `push`。