Skip to content
Back to skills

Compact Docs

ASecurity

Shorten, deduplicate, or consolidate documentation and code comments by removing repetition, obvious explanations, and obsolete process notes while preserving facts and decision-relevant context.

  • 10 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 9, 2026
documentationdocumentation

Security analysis

A100/100

Scanned November 9, 2026

npx -y skills add sasamuku/dotfiles --skill compact-docs --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Compact Docs?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Compact Docs
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sasamuku-compact-docs/badge)](https://www.skillsdirectory.com/skills/sasamuku-compact-docs)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: compact-docs
description: Shorten, deduplicate, or consolidate documentation and code comments by removing repetition, obvious explanations, and obsolete process notes while preserving facts and decision-relevant context.
disable-model-invocation: true
---

# Compact Docs

対象: $ARGUMENTS。指定がなければ直近の変更で書いた文書・コメント。会話から特定できず不明な場合だけ確認する。

読者の理解・判断に寄与しない記述を削り、重複をまとめる。削減のために事実・条件・意味を変えない。何を残し何を削るかは `principle-documentation` の原則で判断する。

- 加えて削る: 作業実況、文書の自己紹介、同じ指示の言い換え。
- 単に「暫定」「将来」と書かれているだけでは削らない。
- ADR・Design Doc・CHANGELOG・PR本文・コミットメッセージでは、目的に必要な意思決定や変更履歴を保持する。
- 文書構造は読みやすさに必要な範囲で保つ。重複の参照化は、その参照先を読む負担も考慮する。
- 矛盾や削除判断の割れる箇所は勝手に解釈を確定せず、ユーザーに示す。

変更後は意味の保持と参照切れを確認する。毎回、変更前後の行数・文字数と、それぞれの削減率を簡潔に報告する。増減がなくても報告し、文字数をトークン数と混同しない。

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in documentation →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.