Diagram Design
cathrynlavery/diagram-design
Creates branded diagrams, from architecture, flowchart and sequence to charts and maps, as self-contained HTML with inline SVG, with import from draw.io, Mermaid and Excalidraw.
Delete code comments that restate the code, narrate uncontested decisions, or explain frameworks, so the few load-bearing comments stay visible.
$ npx skills add natsukium/dotfiles --skill prune-comments -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install natsukium/dotfiles prune-comments --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/natsukium/dotfiles.git skills-src && mkdir -p .claude/skills && cp -r skills-src/modules/features/coding-agents/common/skills/prune-comments .claude/skills/prune-comments && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "prune-comments" agent skill from https://github.com/natsukium/dotfiles/tree/main/modules/features/coding-agents/common/skills/prune-comments into .claude/skills/prune-comments/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "prune-comments", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/natsukium/dotfiles/tree/main/modules/features/coding-agents/common/skills/prune-commentsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add natsukium/dotfiles --skill prune-comments -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install natsukium/dotfiles prune-comments --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/natsukium/dotfiles.git skills-src && mkdir -p .agents/skills && cp -r skills-src/modules/features/coding-agents/common/skills/prune-comments .agents/skills/prune-comments && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "prune-comments" agent skill from https://github.com/natsukium/dotfiles/tree/main/modules/features/coding-agents/common/skills/prune-comments into .agents/skills/prune-comments/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "prune-comments", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add natsukium/dotfiles --skill prune-comments -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install natsukium/dotfiles prune-comments --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/natsukium/dotfiles.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/modules/features/coding-agents/common/skills/prune-comments .cursor/skills/prune-comments && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "prune-comments" agent skill from https://github.com/natsukium/dotfiles/tree/main/modules/features/coding-agents/common/skills/prune-comments into .cursor/skills/prune-comments/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "prune-comments", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/natsukium/dotfiles.git --path modules/features/coding-agents/common/skills/prune-comments--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add natsukium/dotfiles --skill prune-comments -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install natsukium/dotfiles prune-comments --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/natsukium/dotfiles.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/modules/features/coding-agents/common/skills/prune-comments .gemini/skills/prune-comments && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "prune-comments" agent skill from https://github.com/natsukium/dotfiles/tree/main/modules/features/coding-agents/common/skills/prune-comments into .gemini/skills/prune-comments/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "prune-comments", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install natsukium/dotfiles prune-commentsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add natsukium/dotfiles --skill prune-comments -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/natsukium/dotfiles.git skills-src && mkdir -p .github/skills && cp -r skills-src/modules/features/coding-agents/common/skills/prune-comments .github/skills/prune-comments && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "prune-comments" agent skill from https://github.com/natsukium/dotfiles/tree/main/modules/features/coding-agents/common/skills/prune-comments into .github/skills/prune-comments/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "prune-comments", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add natsukium/dotfiles --skill prune-comments -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install natsukium/dotfiles prune-comments --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/natsukium/dotfiles.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/modules/features/coding-agents/common/skills/prune-comments .opencode/skills/prune-comments && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "prune-comments" agent skill from https://github.com/natsukium/dotfiles/tree/main/modules/features/coding-agents/common/skills/prune-comments into .opencode/skills/prune-comments/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "prune-comments", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
prune-commentsDelete code comments that restate the code, narrate uncontested decisions, or explain frameworks, so the few load-bearing comments stay visible.
Prune Comments is an agent skill from natsukium/dotfiles. Delete code comments that restate the code, narrate uncontested decisions, or explain frameworks, so the few load-bearing comments stay visible. Load when asked to prune, trim, clean up, or reduce comments (「コメントを整理/削除」), when the user says comments are noisy, stale, or excessive, or when writing new code in a codebase that values sparse comments. Works in any language.
Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development, covering Technical documentation. The repository describes itself as: Nix dotfiles for NixOS, Darwin and WSL. The licence is CC0-1.0.
2 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 1457bd1. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
gitFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Prune Comments loads about 1.3k tokens when it runs. Until then it costs about 97 tokens; SKILL.md has 709 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from natsukium/dotfiles at commit 1457bd1, republished under its CC0-1.0 licence (© natsukium). 709 words, ~1,342 tokens.
.claude/skills/prune-comments/SKILL.md (or your agent's skills folder).Over-commented code is worse than under-commented code: the noise buries the few comments that carry real information, and every comment is a liability that drifts from the code it describes. The goal of a prune is not "fewer comments" as a statistic — it is that every surviving comment is one the reader must not miss.
A comment survives in exactly two cases, stated in one or two plain sentences:
Exception: test code is the one place a WHAT comment is welcome — the test name plus at most a short comment saying which promise the test pins. Everything else in the test body follows the same rules as production code.
"The reason isn't visible in the code" is NOT sufficient. Every naming, factoring, and structuring decision has a reason, and none of them get a comment. If nobody would seriously contest the decision, the "because" is narration, not information.
Delete the whole comment, or trim a mixed comment to its surviving clause:
git log owns the past; a comment that only makes sense against a
previous version of the code is stale the day it lands.//go:build, //nolint, # shellcheck disable,
# type: ignore, eslint-disable, pragma, and their kin.description fields, and doc comments on
the public API of a published library (godoc/rustdoc/JSDoc that users
actually read). An internal function's paraphrase-doc is still
deletable; a published API's reference doc is not.Re-run the survival test: boundary agreements and environment quirks stay; justification of local structure and narration of behavior goes. If a repo's own guidelines (CLAUDE.md, contributing docs) are stricter or looser, they win.
<examples>
<example type="delete">
<bad>// parseConfig reads the config file and returns a Config struct.</bad>
<why>Signature paraphrase — the name and types already say this.</why>
</example>
<example type="delete">
<bad>// flake-parts calls perSystem once per system in `systems`, passing the pkgs for that system.</bad>
<why>Framework tutorial, true of every flake-parts project.</why>
</example>
<example type="delete">
<bad>// Previously this used polling; now we rely on inotify events.</bad>
<why>History. Present-tense contract or nothing.</why>
</example>
<example type="keep">
<good>// Dots are excluded from names because the DNS router splits hostnames on dots.</good>
<why>Cross-boundary agreement: the constraint lives in another component.</why>
</example>
<example type="keep">
<good>// --foreground is mandatory: without it the child detaches in turn and forks forever.</good>
<why>Why-not with a non-obvious failure.</why>
</example>
</examples>
© natsukium, CC0-1.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in modules/features/coding-agents/common/skills/prune-comments of natsukium/dotfiles.
Open the folder on GitHubat commit 1457bd1
Prune Comments next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Prune Comments this skillnatsukium/dotfiles | 106 | — | ~1.3k | Automated safety check: Pass | CC0-1.0 | |
| Diagram Designcathrynlavery/diagram-design | 45k | 1 repos | ~7.5k | Automated safety check: Pass | MIT | |
| Simple Englishmoeru-ai/airi | 50k | 2 repos | ~4.6k | Automated safety check: Pass | MIT | |
| Get API Docs with chubandrewyng/context-hub | 14k | 2 repos | ~775 | Automated safety check: Pass | MIT | |
| Doc SyncJetBrains/ideavim | 10k | 2 repos | ~2.6k | Automated safety check: Pass | MIT | |
| Mailspring App ScreenshotsFoundry376/Mailspring | 18k | — | ~1.5k | Automated safety check: Pass | GPL-3.0 |
cathrynlavery/diagram-design
Creates branded diagrams, from architecture, flowchart and sequence to charts and maps, as self-contained HTML with inline SVG, with import from draw.io, Mermaid and Excalidraw.
moeru-ai/airi
Write or rewrite technical text with the rules of ASD-STE100 Simplified Technical English so it is clear, unambiguous, and free of AI slop.
andrewyng/context-hub
Fetches current documentation for third-party APIs and SDKs with the chub CLI before the agent writes code against them, instead of relying on remembered API shapes.
JetBrains/ideavim
Keeps IdeaVim documentation in sync with code changes. An agent skill from JetBrains/ideavim.
Foundry376/Mailspring
Captures screenshots of the running Mailspring dev app for docs, PRs or visual checks by launching it with a debugging port, driving the UI and clipping to an element.
Agents365-ai/drawio-skill
Creates and edits editable draw.io diagrams from descriptions, code, infrastructure files, SQL and API schemas, with sync, review, test and export tools.
natsukium/dotfiles
Delegate a source-grounded design or code review to a fresh pi CLI process using sol or luna, then address verified findings until no blockers remain.
natsukium/dotfiles
Change the org-level CLAUDE.md that governs every attmcojp repository.
natsukium/dotfiles
Clone and reuse GitHub/GitLab repositories under a single managed root (ghq root) instead of fetching files one-by-one via gh api/WebFetch or scratch-cloning into /tmp.
natsukium/dotfiles
Verify a rendering or window-chrome change in any macOS GUI app unattended — find its CGWindowID via JXA, capture that window alone (with per-pixel alpha) using screencapture -l, and read exact RGBA…
natsukium/dotfiles
Verify a rendering or window-chrome change in a GUI app unattended on Linux/Wayland under the niri compositor — enumerate windows and read output scale via niri msg --json, capture a specific window…
natsukium/dotfiles
Orchestrate English→Japanese translation of po/ja.po — classify, delegate translation/review to subagents, iterate until clean
Categories
Delete code comments that restate the code, narrate uncontested decisions, or explain frameworks, so the few load-bearing comments stay visible. Prune Comments is an agent skill from natsukium/dotfiles. Delete code comments that restate the code, narrate uncontested decisions, or explain frameworks, so the few load-bearing comments stay visible.
Prune Comments fits situations like: says comments are noisy; writing new code in a codebase that values sparse comments.
Run `npx skills add natsukium/dotfiles --skill prune-comments -a claude-code`. Or copy the skill folder (modules/features/coding-agents/common/skills/prune-comments in natsukium/dotfiles) into .claude/skills/prune-comments in your project. Claude Code loads it when a task matches its description.
Run `npx skills add natsukium/dotfiles --skill prune-comments -a codex`. Or copy the skill folder (modules/features/coding-agents/common/skills/prune-comments in natsukium/dotfiles) into .agents/skills/prune-comments in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add natsukium/dotfiles --skill prune-comments -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/prune-comments, .gemini/skills/prune-comments, .github/skills/prune-comments and .opencode/skills/prune-comments in your project.
Going by SKILL.md and its folder, Prune Comments needs the command-line tools its instructions call (git).
SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Prune Comments is published under the CC0-1.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.3k tokens (SKILL.md is roughly 5.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Prune Comments: Diagram Design (cathrynlavery/diagram-design, 45k stars), Simple English (moeru-ai/airi, 50k stars), Get API Docs with chub (andrewyng/context-hub, 14k stars) and Doc Sync (JetBrains/ideavim, 10k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
natsukium (a GitHub user) maintains it in natsukium/dotfiles, which has 106 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on October 7, 2026.
Source: natsukium/dotfiles on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.