跳到正文
cccskills
免费在 GitHub 公开

pr

Use when writing a pull request body, or before `gh pr create` or `gh pr edit --body`.

中文简介正在准备中。当前显示原文说明。

kryptamine/herdr-auto-title星标 271(GitHub 271 + cccskills 0)
集成工具GitHub

实测评分 未实测

查看安装方法

包含的文件(2)

  • SKILL.md3.7 KB
  • CREDITS.md3.2 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

PR

Every pull request body here follows .github/pull_request_template.md. Read it, fill each section as below, and delete its HTML comments. Keep the Before merging checklist, ticking only what is true.

Skip preambles and keep prose brief. Use the words the code and docs/architecture use: pane, tab, label, poll, snapshot, source, claim. Write in English, whatever language the request came in. Add no "Generated with" line or other attribution, for the same reason AGENTS.md forbids a co-author trailer in a commit.

Summary

Pick the smallest view that makes the key point clear, and put a line of why beside it. Link the issue with Closes #N, or Related: #N when the issue stays open after this pull request.

  • Logic or an algorithm as pseudocode:
on(poll)
  if the pane's revision did not move and the read is fresh
    reuse the process read
  read pane.process_info
  • Runtime control flow as a call tree:
App.poll
  App.readAndRename
    Labels.Pass
    App.tabsIn
    App.nameTab
      Pass.Tab
    App.namePanes
  • File responsibility or a broad refactor as a shallow file tree:
internal/
├── state/      # a snapshot turned into what each tab is doing
├── resolver/   # that state turned into a title
└── labels/     # that title put on, unless the label is the user's own
  • Component interaction or data flow with Mermaid:
sequenceDiagram
    participant App
    participant Herdr
    App->>Herdr: session.snapshot
    Herdr-->>App: tabs and panes
    App->>Herdr: tab.rename
  • A diff when the point is what changes and the surrounding shape already exists. Match the diff shape to the topic:
 App.readAndRename
   Labels.Pass
   App.tabsIn
   App.nameTab
     Pass.Tab
-  App.namePanes
+  if panes are named
+    App.namePanes
+  App.reportTopics
  • The whole block when most of it is new, when omitted context would hide ownership or order, or when the reader needs a copyable target shape.

Place each visual next to the short text it supports. Keep only the calls, files, fields, states and boundaries needed to make the point. One view is usually enough, several are sometimes needed, all of them never are.

Evidence

Concrete evidence the change works: a before and an after.

  • A tab bar from a live Herdr session is S-tier when the change is visible there; describe it in text when a screenshot is not to hand.
  • Execution-based evidence is A-tier: the exact test that failed and now passes, named, with its output; a make probe-* or scripts/probe.py run.
  • make check green is the floor, not evidence. Say it only in the checklist.

Merge Danger

Door: one-way or two-way. A two-way door is cheap to walk back. Here the usual one-way doors are a label written onto the user's tabs or panes that a revert cannot take back, a token reported to a workspace, a setting in config.env whose meaning changes, and a rename that freezes a workspace's label for good.

Blast Radius: one word, then a line of what could break and for whom: the user's own tab names, Windows or Linux only, a Herdr version, the restart handoff, a poll's cost.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Use when finishing any change to this repository, or when the user says "validate", "check my work", "run checks", or "verify changes". Also use automatically after adding a feature, fixing a bug, or editing Go, Python or documentation here.

中文简介正在准备中。当前显示原文说明。

kryptamine/herdr-auto-title2712026年10月26日 更新

查看 kryptamine 的全部技能

报告此技能的问题