/onul-development:prune-commentsfrom onul-development
Audit the comments in the regions a branch changed, or in a whole file, path or repo on request, and delete the ones the code already says. Use when the user says "불필요한 코멘트 정리/제거", "주석 정리해줘", "prune the comments", "remove redundant comments", "clean up the comments", or when a change has left behind narration comments.
Ships in onul-development. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Find comments that carry nothing the code does not already say, and delete them. The working criterion is: a comment must carry the why — hidden constraints, non-obvious invariants, workarounds for specific bugs. Everything else is noise a reader has to check against the code.
Use changed hunks by default; ask only when the requested scope is materially ambiguous:
A repo sweep never rides along with unrelated work. Ship it as its own commit or PR.
Read the code around each comment, not the comment list alone — the judgment is whether this comment says something that code does not. So collect files and read them; never work from a list of comment lines stripped of their surroundings.
For the default scope that means git diff --unified=10 <base>...HEAD to locate the changed regions, then opening each file and reading those line ranges in the working tree — the diff picks the range, the file supplies the code. Not git diff | grep '^+', which yields exactly the context-free comment list this step forbids and hides every stale comment sitting in a region the branch edited.
The same holds for the added-lines and touched-files scopes: the command only decides what is in range, and the judgment always happens against the file.
For a large scope, delegate the sweep to a subagent that returns candidates with file, line, the comment text, and the code it sits on, so the raw dump stays out of the main session.
Delete:
# returns the user on return user).// loop over items, // if the user is admin).// --- helpers ---, #####).// note that, // as you can see, // don't forget to).Keep:
# noqa, // eslint-disable-next-line, //go:generate, # type: ignore) — these are code, not prose.TODO/FIXME that names a real, still-open follow-up.Rewrite instead of delete:
When a comment is genuinely ambiguous, keep it and list it for the user rather than guessing.
Delete in place. Two things to watch:
git diff shows deletions only. Any changed code line is either the STEP 3 rewrite case or a mistake.Deliver within the user's authorization and repository commit policy. Keep a wider sweep separately reviewable; do not create a commit or PR merely because a review-only request used this skill.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub etamong-playground/agent-plugins --plugin onul-development8 skills in this plugin
/codebase-designShared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary./compare-spikeSettle a technology/library adoption question by building competing spike prototypes and comparing measured facts. Use when the user asks "should we adopt X or keep our own", wants to compare libraries/SDKs/approaches hands-on, or asks for an A/B prototype evaluation (비교 스파이크)./diagnosing-bugsOther plugins' skills for the same job
3 plugins in one repository ship this exact skill · first indexed Nov 13, 2026