Skip to content

Commit 718b380

Browse files
author
dazhi
committed
docs: suggest a short PR opener with the long description folded
Most PR descriptions here are agent-written and run to 40-140 lines. Ask for a one-to-three sentence opener, keep what reviewers check in view (tested environment, unverified behaviour, remaining warnings, new access or minimum version), and fold the rest in <details><summary>, following https://simonwillison.net/2026/Nov/9/details-summary/. It is a suggestion, not a review gate. Assisted-by: Claude Opus 5.5 (OpenCode)
1 parent c8f6b1e commit 718b380

3 files changed

Lines changed: 10 additions & 2 deletions

File tree

‎AGENTS.md‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ package at `plugins/<github-username>/<plugin-id>/`; the rest change the checks
2626
4. Add one row to the table in both root READMEs.
2727
5. Run `npm run check`. Done when it reports no errors and every warning is either fixed or
2828
explained in the PR description.
29+
6. Open the PR with a short opener: one to three sentences on what changed and why, plus a
30+
screenshot when the page looks different. Keep these visible below it: the tested environment
31+
and results, what you did not verify, each remaining `npm run check` warning with its reason,
32+
and any new access or higher minimum client version. Put the rest of a long description inside
33+
`<details><summary>Written by <model></summary> … </details>`. Ask the person you work for to
34+
read and edit the opener before you submit.
2935

3036
## Hard rules
3137

@@ -90,6 +96,8 @@ suggestion.
9096
- CI validates every package under `plugins/`. A new error must leave existing packages at zero
9197
errors; otherwise ship it as a warning first.
9298
- Keep contract changes in their own PR, apart from package updates.
99+
- Describe the PR as in step 6 of "Add or update a Mini App": a short opener, what was and was
100+
not verified in view, the rest folded.
93101

94102
## Navigation
95103

‎CONTRIBUTING.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ The plugin directory name must match `name` in `.minimax-plugin/plugin.json`. **
1414

1515
Submit ready-to-run files. If the app requires a build step, include its source and build instructions. Do not commit `node_modules/`, credentials, real session records, personal data, or runtime caches. Use synthetic or thoroughly anonymized data in screenshots and examples.
1616

17-
Before submitting, install the app in MiniMax Code, open it, and check its main features. Include your test environment and results in the pull request, and state any unverified behavior. When updating an existing app, keep its plugin ID and update the version and usage instructions as appropriate.
17+
Before submitting, install the app in MiniMax Code, open it, and check its main features. Include your test environment and results in the pull request, and state any unverified behavior. If an AI agent wrote the description, write its first two or three sentences yourself, keep the test results and unverified behavior visible, and fold the rest into `<details><summary>…</summary> … </details>`. When updating an existing app, keep its plugin ID and update the version and usage instructions as appropriate.
1818

1919
Working with an AI coding agent? It reads `AGENTS.md` automatically; `docs/` holds the same rules for people.

‎CONTRIBUTING.zh-CN.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@
1414

1515
提交可直接运行的文件;如果需要构建,附上源码和构建说明。不要提交 `node_modules/`、密钥、真实会话记录、个人数据或运行缓存。截图和示例请使用合成数据或充分脱敏的数据。
1616

17-
提交前在 MiniMax Code 中手动安装、打开并检查主要功能,在 PR 中写明测试环境和结果;未验证的部分如实说明。更新已有作品时,保留插件 ID,并按改动更新版本与使用说明。
17+
提交前在 MiniMax Code 中手动安装、打开并检查主要功能,在 PR 中写明测试环境和结果;未验证的部分如实说明。如果 PR 描述是 AI 写的,请自己写开头两三句,测试结果和未验证的部分保持可见,其余内容放进 `<details><summary>…</summary> … </details>` 折叠起来。更新已有作品时,保留插件 ID,并按改动更新版本与使用说明。
1818

1919
使用 AI 编码助手时,它会自动读取 `AGENTS.md`;`docs/` 里是同一套规则的人类可读版本。

0 commit comments

Comments
 (0)