No Comments

作者 cursorccb5507cec15无许可证10K 个星标收录于 2026年10月8日更新于 2026年10月8日仓库今天更新

Spawn Comment Sicko, fix accepted findings, and offer encodings for claimed constraints.

AI 生成的概览

启动 Comment Sicko 子代理审查代码注释,修复已接受的发现,并为约束提供 lint 编码方案。

功能
该技能编排一套审查流程,针对调用方提供的文件或相对基础分支的当前 diff 启动一个名为 Comment Sicko 的子代理。它会检查子代理的报告,拒绝无效的编辑、删除或标记,并直接修复简单的已接受发现。对于约束类注释,它会提供范围内成本最低的类型、运行时、测试或 CI lint 编码方案,并在编码和删除前等待交互式批准。最后报告删除数量、恢复的注释、重跑、修复、编码提议以及未完成的工作。
适用场景
当你想要清理或删除文件集或 diff 中不必要的代码注释,并需要对保留或删除哪些注释进行结构化审查时使用。它适合需要将约束类注释替换为可执行的 lint、类型、运行时、测试或 CI 检查的工作流。它面向交互式使用,无人值守或评测运行需要调用方预先批准。
运行要求
仅以指令形式运行,不附带脚本。它需要能够启动类型为 Comment Sicko 的 Task 子代理,并能访问调用方的文件或相对基础分支(默认 main)的 git diff。它引用了 /how、/why 和 /architect 命令以及 principle-fix-root-causes 和 principle-redesign-from-first-principles 技能,编码约束时需要交互式批准。

No comments

Spawn Comment Sicko. Act on accepted findings.

Defer to Comment Sicko's fresh perspective.

Scope

Use the caller's files or diff. Otherwise use the current diff against the base branch, default main, including the working tree.

Steps

  1. Spawn Task with subagent_type: "Comment Sicko". Pass the scope. Do not restate its rules.
  2. Inspect its report and diff. Reject application-code edits, scope escapes, exception-protected deletions, misstated MUST KILL reasons, and flags that treat kept intentional code as guilty. Reshape flags on our-code surprises stay actionable. Do not restore those comments. A keep survives only with proof it is about something we cannot change. Audit missed scoped lint and TypeScript suppressions. Correctness or safety suppressions stay actionable MUST KILLs. Restore deletions only with exact exceptions and scoped proof. Before accepting thin IMPORTANT or do not remove kills or keeps, run /how or /why on their symbol. If a kill is ambiguous, do not restore. If a keep is refuted or still ambiguous, delete it. Revert and rerun one rejected report with the failure named. Reject a second, report it open, and fail /no-comments.
  3. Fix trivial accepted flags directly by deleting a dead path, dropping a parameter, or using the real API. If any fix needs a shape, run /architect once for the accepted set and surrounding code. Stop at the sketch. Architect shapes. Step 4 implements.
  4. Implement the smallest root-cause fix in scope. Remove every named workaround. If the root cause is out of scope, land the smallest in-scope fix and report the rest open. The principle-fix-root-causes and principle-redesign-from-first-principles skills guide intent only. Neither authorizes widening the fence nor fixing instances outside it. Never bolt on symptom guards.
  5. Constraint comments say do not remove, do not change wording, or talk to X before changing. Leave keeps about things we cannot change. Offer the cheapest in-scope type, runtime, test, or CI lint. Wait for interactive approval. Unattended and eval require caller pre-approval. If approved, encode then delete. Otherwise delete, report the constraint open, and sketch out-of-scope work.
  6. Report the deletion count, restored comments, reruns, architect sketch, fixes, encoding offers, encodings, unenforced constraints, and other open work.

来源与署名

来源:cursor/plugins位于pstack/skills/no-comments提交ccb5507

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架