跳到正文
北京时间
原文
X:Lauren Tan(SpaceXSI,Grok Bot 工程负责人) (@poteto)·· 8 天前AI 评分61

Lauren Tan 分享 pstack 的 /no-comments 技能,可让 agent 清理代码注释

give /no-comments from pstack a try! or better yet, ask your agent to turn it into a lint rule

AI 导读

作者推荐尝试 pstack 中的 /no-comments 技能,链接指向 cursor/plugins 仓库中的 SKILL.md,并建议让 agent 把它转成一条 lint 规则使用。引用的 Matt Pocock 提示词将注释分为同义重复、借口、过时、决策记录四类,分别删除、修复或归档进 ADR,并建议创建 lint 规则和可复用的 /delete-comment 技能。

来源:X:Lauren Tan(SpaceXSI,Grok Bot 工程负责人) (@poteto) · x.com