{"data":{"slug":"discovered-860c486d0f07b7f5016fdfb471e89ebe82a2a41ab5b1e45b","title":"No Comments","summary":"Remove unnecessary comments from a code diff using Comment Sicko, focusing on the current diff against the base branch or working tree.","url":"https:\/\/skillshunter.net\/skills\/discovered-860c486d0f07b7f5016fdfb471e89ebe82a2a41ab5b1e45b","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/discovered-860c486d0f07b7f5016fdfb471e89ebe82a2a41ab5b1e45b","markdown_url":"https:\/\/skillshunter.net\/skills\/discovered-860c486d0f07b7f5016fdfb471e89ebe82a2a41ab5b1e45b.md","download_url":"https:\/\/skillshunter.net\/skills\/discovered-860c486d0f07b7f5016fdfb471e89ebe82a2a41ab5b1e45b\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"Ensure the base branch is specified if not using the repo's default branch. Inspect the report carefully before applying changes, and reject edits that affect application code or escape the defined scope.","instructions":"---\nname: no-comments\ndescription: Cut needless comments from a diff via Comment Sicko.\ndisable-model-invocation: true\n---\n\n# No comments\n\nOther empstack skills live at `..\/<name>\/SKILL.md`. Read one to run it.\n\nSpawn Comment Sicko. Act on accepted findings.\n\nDefer to Comment Sicko's fresh perspective.\n\n## Scope\n\nUse the caller's files or diff. Otherwise use the current diff against the base branch, including the working tree. With no base named, use the repo's default branch, or `main` if you cannot tell.\n\n## Steps\n\n1. Spawn `Agent` with `subagent_type: \"empstack:comment-sicko\"`. Pass the scope in a brief that carries `Switch: comment-sicko`. Do not restate its rules.\n2. 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 KILL`s, unless they carry the reason, unexpired date, and human approval that **correct** asks for. Restore deletions only with exact exceptions and scoped proof. Before accepting thin `IMPORTANT` or `do not remove` kills or keeps, trace their symbol or run `\/empstack:why` on it. 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 `\/empstack:no-comments`.\n3. 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 `\/empstack:architect` once for the accepted set and surrounding code. Stop at the sketch. Architect shapes. Step 4 implements.\n4. 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 **fix-root-causes** and **redesign-from-first-principles** principle skills guide intent only. Neither authorizes widening the fence nor fixing instances outside it. Never bolt on symptom guards.\n5. Constraint comments say `do not remove`, `do not change wording`, or `talk to X before changing`. Leave keeps about things we cannot change. Encode each of the rest with the cheapest in-scope type, runtime check, test, or CI lint, without asking, then delete the comment. When no in-scope encoding exists, delete it, report the constraint open, and sketch the out-of-scope work.\n6. Report the deletion count, restored comments, reruns, architect sketch, fixes, encodings, unenforced constraints, and other open work.\n","use_cases":["Cleaning up code diffs before merging","Removing redundant comments from pull requests","Ensuring code changes are focused and free of unnecessary annotations"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/jueyi6\/empstack\/blob\/74181e31d2f00313f8683ba157966efcabbe109e\/skills\/no-comments\/SKILL.md","source_commit":"74181e31d2f00313f8683ba157966efcabbe109e","license":null,"version":null,"listing_approved_at":"2026-12-02","created_at":"2026-11-30T08:55:58.000000Z","updated_at":"2026-12-02T09:15:14.000000Z","seo_title":"Remove Unnecessary Code Comments with Comment Sicko","seo_description":"Automatically remove redundant comments from code diffs using Comment Sicko, ensuring clean and focused changes based on the current diff against the base branch.","seo_keywords":["code comments","diff cleanup","comment removal","code review tools","Comment Sicko"]}}