npx skills add https://github.com/a2f0/tearleads --skill preen-deferred-fixes完成最近合并的 PR 评审线程中延期的后续承诺,然后通过测试发布修复。
延期修复通过带有 deferred-fix 标签的 GitHub issue 进行跟踪。当评审反馈被延期而非即时修复时,这些 issue 由 /enter-merge-queue 自动创建。
查找延期修复 issue:
./scripts/agents/tooling/agentTool.ts listDeferredFixIssues --state open
如果提供了特定的 issue 编号,则从该编号开始:
./scripts/agents/tooling/agentTool.ts getIssue --number <issue-number>
2. 从 issue 正文中识别延期承诺:
* issue 正文包含一个带有复选框的"延期项"部分
* issue 引用了源 PR 和评审线程
* 如果需要更多上下文,请在源 PR 上使用 `findDeferredWork`:
# 查找包含延期工作模式的评论
./scripts/agents/tooling/agentTool.ts findDeferredWork --number <pr-number>
findDeferredWork 操作会搜索包含"defer"、"follow-up"、"future PR"、"later"、"TODO"或"FIXME"等模式的评论,并为每个匹配项返回 {id, path, line, body, html_url}。
Complete deferred follow-up commitments from recently merged PR review threads, then ship the fixes with tests.
Deferred fixes are tracked via GitHub issues with the deferred-fix label. These issues are created automatically by /enter-merge-queue when review feedback is deferred rather than fixed on-the-fly.
Find deferred fix issues :
./scripts/agents/tooling/agentTool.ts listDeferredFixIssues --state open
If a specific issue number is provided, start from that:
./scripts/agents/tooling/agentTool.ts getIssue --number <issue-number>
2. Identify deferred commitments from the issue body:
* The issue body contains a "Deferred Items" section with checkboxes
* The issue references the source PR and review threads
* If more context is needed, use `findDeferredWork` on the source PR:
# Find comments containing deferred work patterns
./scripts/agents/tooling/agentTool.ts findDeferredWork --number <pr-number>
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
将承诺转换为一个包含清晰、可测试项的清单。
以最小化、保持行为的重构方式实现每个项。
为每个项添加或更新测试(根据需要选择单元/集成/e2e测试)。
首先使用最小、可靠的命令集在本地验证,如果该区域是跨领域的,则进行更广泛的覆盖。
总结已完成的清单项和任何剩余风险。
使用 /commit-and-push 提交并推送,然后使用 /enter-merge-queue 准备合并。
合并后:关闭延期修复 issue(如果所有项都已处理)。
报告:
findDeferredWork 包装器已经过滤到仅包含延期模式:
# 仅返回匹配 defer/follow-up 模式的评论
./scripts/agents/tooling/agentTool.ts findDeferredWork --number <pr-number>
抑制冗长的验证输出:
pnpm lint >/dev/null
pnpm typecheck >/dev/null
pnpm test >/dev/null
git commit -S -m "message" >/dev/null
git push >/dev/null
失败时,重新运行而不抑制输出以进行调试。
每周安装次数
1
仓库
首次出现
1 天前
安全审计
安装于
zencoder1
amp1
cline1
openclaw1
opencode1
cursor1
The findDeferredWork action searches for comments containing patterns like "defer", "follow-up", "future PR", "later", "TODO", or "FIXME" and returns {id, path, line, body, html_url} for each match.
Convert commitments into a checklist with clear, testable items.
Implement each item with minimal, behavior-preserving refactors.
Add or update tests for every item (unit/integration/e2e as needed).
Validate locally using the smallest reliable command set first, then broader coverage if the area is cross-cutting.
Summarize completed checklist items and any remaining risks.
Commit and push with /commit-and-push, then prepare merge with /enter-merge-queue.
After merge : Close the deferred fix issue (if all items are addressed).
Report:
The findDeferredWork wrapper already filters to deferred patterns only:
# Returns only comments matching defer/follow-up patterns
./scripts/agents/tooling/agentTool.ts findDeferredWork --number <pr-number>
Suppress verbose validation output:
pnpm lint >/dev/null
pnpm typecheck >/dev/null
pnpm test >/dev/null
git commit -S -m "message" >/dev/null
git push >/dev/null
On failure, re-run without suppression to debug.
Weekly Installs
1
Repository
First Seen
1 day ago
Security Audits
Installed on
zencoder1
amp1
cline1
openclaw1
opencode1
cursor1
Azure Data Explorer (Kusto) 查询技能:KQL数据分析、日志遥测与时间序列处理
114,200 周安装