Skip to content

Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins

docs(pr): add pull request template with requirement checklist

v_wyxgwangcfe9656fa746
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
new file mode 100644
index 000000000..538f61dc2
--- /dev/null
+++ b/.github/PULL_REQUEST_TEMPLATE.md
@@ -0,0 +1,13 @@
+## Summary / 概要
+
+<!-- What changed, and why. 改了什么、为什么。 -->
+
+## Requirement link / 需求关联
+
+<!-- Rules: https://github.com/vastsa/PI-Desktop/issues/2137 -->
+<!-- 规则见 https://github.com/vastsa/PI-Desktop/issues/2137 -->
+
+- [ ] Linked requirement issue / 已关联需求 issue:`Closes #N` / `Refs #N`
+- [ ] Requirement issue has a user story and a "why" / 需求 issue 含用户故事与「为什么需要」
+- [ ] UI: requirement issue links a gist HTML demo / 涉及 UI 时,需求 issue 已贴 gist HTML Demo
+- [ ] UI: before / after screenshots under `.github/pr-assets/<slug>/` / UI 变更已附前后对比截图