AGENT SKILL

issue-summary

Add a Chinese nav summary + HITL checklist to a ready-for-agent Gitee issue.

License 许可
MIT
所属仓库
kipyin/kstack
最近更新
2026-11-14
Stars
★ 0
Forks
0

01 前言 Front Matter

name
issue-summary
description
Add a Chinese nav summary + HITL checklist to a ready-for-agent Gitee issue.
disable-model-invocation
true

02 资源文件 1

03 SKILL.md 正文

Issue Summary

Add a navigation comment on a ready-for-agent Gitee issue: where it sits in the plan, and how a human verifies the implementation agent's output. Audience is the accepting human (often actuarial). The summary is the verification checklist — not a tutorial.

When

Open issues only, once labeled ready-for-agent, before the implementer starts.

Gate — is it actually ready? Read the body plus parent / blockers. Confirm enough contract to write a concrete HITL list: logic/algorithm, verification expectation (golden or observable), change scope, entrypoint, interfaces. If a checklist step would need invented commands or goldens, switch the label to needs-info, list what is missing, and stop. Do not invent a summary.

Steps

1. Standalone or child ticket

Read the body. Child: has ## Parent or belongs to a sliced feature set. Standalone: no parent.

Done when: one sentence names which kind it is.

2. Place in the plan

Child: one mermaid dependency graph for the whole slice (graph TD / flowchart / sequenceDiagram only — Gitee's engine). Node ids = issue numbers (IK3MES). No custom themes or click handlers. Below the diagram, one locator line:

本 issue:<编号>  <-- YOU ARE HERE(方位词)

Standalone: no diagram. List blockers and known dependents.

Done when: a reader can say where they are, what blocks them, and what they unlock.

3. Background and goal

Three beats in plain language:

  • 大任务: what the epic/parent is doing (from parent problem/solution; no jargon dump).
  • 这个 ticket 是 …: stage inside that epic (setup, deepen, finish).
  • 这个 ticket 的目标: what becomes usable after delivery. Cite frozen field names from the parent contract; skip implementation detail.

Prefer the words「这个 ticket」over「这张/本票」.

Done when: without reading acceptance criteria, a reader can state epic background, this ticket's stage, and post-delivery capability.

4. HITL section

Follow「HITL 怎么写」below.

Done when: a human can execute each step and mark pass or fail without guessing.

5. Publish on Gitee

Chinese throughout. Edit an existing comment or create one:

gitee api -X PATCH repos/<owner>/<repo>/issues/comments/<comment_id> -F body=<新内容>

Done when: the comment is on the issue and mermaid/code fences render on Gitee.

HITL 怎么写

HITL raises human comfort. It does not re-run unit tests. Ask first: which behaviors do automated checks already cover? Leave those out.

Cover only what needs a human: end-to-end product use, actuarial judgment of numbers, UX/sensory checks, human-readable docs.

Each HITL item has three parts: 做什么 + 操作或命令 + expectation.

  • 可照做: full commands (args + where values come from) or explicit UI/agent steps. If the entrypoint is this ticket's job and still undefined → needs-info, do not placeholder. If it waits on an upstream ticket → placeholder plus「等 #XXX 确定后替换」. Bare <触发 X 的命令> is not allowed.
  • 看得到对错: expectation states pass vs fail and what the human should see (status/fields, golden magnitude, UI reaction, answer must-include, doc wording). Prefer a short example when possible.
  • 无教学,也不论证: no「这验证了…」「test 覆盖不了…」. Fail cases in plain failure language.

Vehicle

Pick the form from the verification object (not a fixed template):

验证对象 vehicle expectation
HTTP / API hit the endpoint status + field names
精算 / 数值 input scenario vs computed numbers golden or boundary
大模型 / 流程 run the flow contract points met
工具 / CLI run the command output shape
UI open app + checklist visible reaction
构建 / 部署 build or deploy artifact + doc wording

Golden

Precise expectations only where an independent correct answer exists. LLM prose, animation, timing stay descriptive. Wrong precision is noise.

Humans supply golden data; the implementer owns test code.

Format

  • Commands in fenced blocks; UI as numbered lists.
  • Python via uv run (do not assume an open venv).
  • Gitee issue refs in prose use #IK3MES; mermaid node ids stay bare.
  • Placeholders <NAME> always say where the value comes from.
  • Preconditions (server up, env, task id) at the top of that HITL block.

Samples for six vehicles: EXAMPLES.md. Reuse the writing shape; re-pick the vehicle for this ticket.

04 同仓库更多 Skills

kipyin
kipyin/kstack

solvency-agent-playbook

solvency playbook: use at the start of any solvency/ work — develop, debug, test, refactor, or query. Covers edits under solvency/, solvency pytest, Postgres reads/writes for solvency tables, and solvency diffs.

★ 0
kipyin
kipyin/kstack

pr-debrief

给 PR 出一份业务验收 debrief:在做什么 / 做对了吗 / 真人要验什么,人话,贴到 Gitee。

★ 0
kipyin
kipyin/kstack

issue-title-convention

Lint and autofix open Gitee issue titles to the four team prefixes.

★ 0
kipyin
kipyin/kstack

gitee-pr-workflow

End-to-end workflow for landing a change on both Gitee and GitHub using the `gitee` Rust CLI. Delegates commit + PR creation to `gitee-pr-submit` (plain-language body, HITL verification, `Linked: #IKxxxx`), then approves it, squash-merges with `--no-close-issue`, adds an evidence comment and closes the linked issue, syncs Gitee main back to local, pushes local main to GitHub, then watches GitHub Actions Build py_total and replaces artifacts/py_total.exe. Post-land CI failures use a hotfix PR; never push new commits directly to main. Trigger: "gitee pr workflow", "commit and pr to gitee", "land changes on gitee and github", "create gitee pr", "approve and merge gitee pr", "watch py_total", "download py_total artifact".

★ 0
kipyin
kipyin/kstack

gitee-pr-submit

Commit local changes in logical chunks, push a feature branch to Gitee, and open a PR whose body is plain language: what we did, what we verified, with human-in-the-loop (HITL) verification called out explicitly. Links the related issue with `#IKxxxx` in the body (the # is mandatory; without it Gitee neither links nor autocloses the issue). Submit only: do not approve, merge, or sync here. Trigger: "submit pr", "提交 PR", "create gitee pr", "开个 PR", "commit and pr", "提交评审".

★ 0
kipyin
kipyin/kstack

gitee-pr-review

Adversarial two-axis review of a Gitee PR, then post ONE PR-level review comment. Sets up an isolated worktree off main, delegates the Standards+Spec review to the code-review skill, explains findings two ways (CEO = plain user-facing value; intern = file:line mechanics assuming no codebase familiarity), drafts the comment in the PR's language, shows it for approval, then posts via the gitee CLI after a --preview dry run. Never attempts inline/diff line comments (broken in this toolchain, see Pitfalls). Review-only: never approve or merge. Trigger: "review gitee pr", "评审 PR", "adversarial review pr", "pr review", "review PR <number>", "review this branch".

★ 0