/sangsoe:prune-commentsfrom sangsoe
Use to cut comments in a diff to what the code cannot say: /prune-comments, "주석 정리해줘", and the step before a diff goes to review. Docs and PR prose are write-plainly.
Ships in sangsoe. 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.
Read when SKILL.md points to them.
A fresh reader prunes the comments in scope; you check its work and act on its flags. The author of a comment is the worst judge of whether it earns its place, so the pruner is a subagent.
The caller's files or diff. Otherwise the current branch against its base plus the working tree. The base is the one the caller names, else the open PR's base branch, else the remote's default branch (git symbolic-ref --quiet --short refs/remotes/<remote>/HEAD, where <remote> is the current branch's upstream remote); if none resolves, say so and stop. The scope is git diff $(git merge-base <base> HEAD), and every new file from git ls-files --others --exclude-standard, which that diff leaves out. Within a diff, the scope is the comments on added or changed lines, plus any nearby comment the diff made false. Untouched code elsewhere is out of scope, however noisy.
If the diff adds or changes no comment, and no existing comment sits beside the code it changed, say "no comments in scope" and stop.
Agent (subagent_type: "general-purpose") with the scope and the absolute path of references/pruner.md. Its brief is that file; do not restate it.diff -u <copy> <file>), never by the whole git diff, which also shows changes that were there before it ran. Revert only hunks the pruner made that change code rather than comments, or that fall outside the scope. Restore a deleted comment only when it matches a keep in the brief and you can point to the proof. If a report gets its facts wrong, rerun once with the error named; a second bad report means you finish the pass by hand and say so.principles skill's Work to an Exit Condition says, and report it with its class.The deletion count, the comments you restored and why, the reshapes done and left open, the constraints encoded, and the constraints still enforced only by a comment.
evals/prune-comments-not-doc/graders/not-prune-comments.md (opens in a new tab)evals/prune-comments-not-doc/prompt.md (opens in a new tab)evals/prune-comments/graders/fires-prune-comments.md (opens in a new tab)evals/prune-comments/prompt.md (opens in a new tab)references/pruner.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub jeongjaesoon/sangsoe --plugin sangsoe14 skills in this plugin
/architectSketch types, signatures and module structure before code, then stay in the loop as it fills in. Use for /architect, 'design this', "상세 설계안 작성해줘", "설계안 다듬어줘", "구현 계획 짜줘", or non-trivial work./challengeBlast radius: what a change could break beyond its diff, proven by running code; 'blast radius of X', "이거 바꾸면 뭐가 깨져", "영향 범위 봐줘", a small diff you don't trust. Interrogate: "interrogate", "adversarial review", "challenge this", "find blind spots" on a design, plan or decision./explain-codeBefore changing unread code: '이 구조 설명해줘', 'X는 어떻게 동작해', '이건 어디에 둬야 해', '왜 이렇게 됐어', '이 결정 배경이 뭐야', 'teach me this', '이거 제대로 이해하고 싶어', '이 변경 이해시켜줘', 'feature map 만들어줘', '기능 지도 그려줘', '지금 뭐가 구현돼 있는지 정리해줘'. A map for driving the app in verification is verification-skill./fan-outFan out parallel workers. Sweep splits one question, returns one report: /swarm, "병렬로 훑어줘", "나눠서 동시에 확인해줘". Compete runs candidates at one task, picks a base, grafts in the rest: /arena, "경쟁시켜줘", "여러 버전 만들어서 비교해줘". Landing several tickets on their own sessions is sangsoe's orchestration./figure-it-outDesign an auditable playbook before code for a large migration or multi-part change, or work reviewed after the human steps away — /figure-it-out, "알아서 설계해서 진행해줘", "자리 비운 동안 끝내줘". Several tickets on their own sessions are a sangsoe program./principlesUse when a design, refactor, verification or delegation call needs a named principle: diff size, where validation goes, proof, follow-up work, splitting work across agents.