Community코딩 & 개발github.com

no-comments

Strip code comments down to what AGENTS.md's comment rule keeps: spawn Comment Sicko, fix accepted findings, and offer encodings for claimed constraints. Use when asked to remove comments from a diff or files, and for landing-a-change's comment pass.

no-comments란 무엇인가요?

no-comments is a Claude Code agent skill that strip code comments down to what AGENTS.md's comment rule keeps: spawn Comment Sicko, fix accepted findings, and offer encodings for claimed constraints. Use when asked to remove comments from a diff or files, and for landing-a-change's comment pass.

지원 대상✓Claude Code✓Codex CLI✓Cursor
npx skills add https://github.com/gjermundgaraba/codeatlas/tree/HEAD/.agents/skills/no-comments

Installed? Explore more 코딩 & 개발 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

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.

Review copy

The scope can include uncommitted work, and people may keep editing the checkout during the review. Comment Sicko therefore edits a private copy, and only accepted edits reach the checkout. Use scripts/review-copy.sh beside this file, by its absolute path. It needs Git 2.43 or newer, works from any directory in the repository, and does not write to the repository's .git or index.

  • review-copy.sh take prints a copy directory: a repository with the checkout's HEAD, branches, remote URLs, and staged, unstaged, intent-to-add and untracked files. Shell state may not persist between calls, so pass it literally as <copy>.
  • review-copy.sh diff <copy> [git diff options and paths] shows every edit made in the copy since take.
  • review-copy.sh apply <copy> three-way merges those edits with any edits made to the checkout since take, writes the result to the checkout's files, and leaves its index alone. If both sides changed the same lines, it names the conflicting files and writes nothing.
  • review-copy.sh drop <copy> deletes the copy. It never touches the checkout.

Drop every copy whenever /no-comments ends, whether it succeeds or fails.

Steps

  1. Take a review copy. Invoking this skill is a request to delegate the review, so spawn a subagent for it and never follow references/comment-sicko.md yourself. The subagent must be able to edit files and must start without this conversation's history: in Amp, the Task tool; in Claude Code, a new agent rather than a fork; in Codex, spawn_agent with fork_turns: "none". Brief it with Read <path> and follow it., where <path> is the absolute path of references/comment-sicko.md in this skill's folder, pass the scope as paths relative to the repository root, and add Work only in <copy>. Do not restate its rules. If the host cannot spawn a subagent, stop and fail /no-comments.
  2. Inspect its report and its review-copy.sh 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 that a keep-list exception applies. Audit missed scoped suppressions, such as # noqa or @ts-ignore. codeatlas runs no linter or type checker, so they stay actionable MUST KILLs. Restore deletions only with exact exceptions and scoped proof. Before accepting thin IMPORTANT or do not remove kills or keeps, trace their symbol or trace their rationale per references/rationale.md. If a kill is ambiguous, do not restore. If a keep is refuted or still ambiguous, delete it. Make those restorations and deletions in the copy. Drop one rejected copy, take a new one, and rerun in a fresh subagent with the original brief, the new copy, and the failure named. Drop a second rejected copy, report it open, and fail /no-comments. Once accepted, review-copy.sh apply the copy and drop it. If the apply reports a conflict, report the conflicting files open and fail /no-comments. Steps 3 to 5 edit the checkout.
  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, sketch it once for the accepted set and surrounding code. Trace every system the change touches, then sketch two different shapes (types, signatures, module boundaries) and pick the one where each piece of state has one owner, each task has one way to do it, and callers need to know least. Stop at the sketch. The sketch 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. Two principles guide intent only. Fix the fault, not the place where it surfaced: the root cause is the first place the system did something it should not do, and a guard is a fix only when the state it handles is legitimate. Do not bolt the fix onto the existing design; shape it as if its requirement had been a foundational assumption from the start. 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 runs 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, design sketch, fixes, encoding offers, encodings, unenforced constraints, and other open work.

관련 스킬