Skip to content

Em dash vs Lean comments

Em dash is an open-source agent skill for developer tools. Lean comments is an open-source agent skill for developer tools.

  • Em dash is best for clean up em dashes in code comments before committing.
  • Lean comments is best for clean up outdated or redundant comments in a codebase.
What it is
Em dash is an open-source agent skill for developer tools.
Lean comments is an open-source agent skill for developer tools.
Best for
Clean up em dashes in code comments before committing
Clean up outdated or redundant comments in a codebase
Kind
Skill
Skill
Pricing
Open source
Open source
Platforms
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
GitHub stars
41.3K
41.3K
Last commit
Nov 2026
Nov 2026
License
MIT
MIT
Open source
Good for
Clean up em dashes in code comments before committing; Review a data file for en and em dashes and replace them with hyphens; Write code comments that avoid non-ASCII dash characters
Clean up outdated or redundant comments in a codebase; Decide whether a new function needs a comment at all; Audit TODO and FIXME markers for stale entries

What Em dash does

  • Dash replacement rule

    Directs the agent to replace em and en dashes with a hyphen in code and comments.

  • Default never-use policy

    Sets a default of avoiding em and en dashes, with exceptions for literature and news text.

  • Raw data handling

    Says existing dashes in raw data or text files should be left as they are.

  • Punctuation reference

    Covers end-of-sentence marks, clause connectors, quotes and slashes, and which characters belong in code.

  • Unicode cleanup commands

    Provides sed and perl one-liners to convert Unicode dashes to hyphen-minus.

  • Dash history background

    Summarizes how the em dash evolved from early printing to modern digital typesetting.

What Lean comments does

  • Necessity test for comments

    Applies a check that asks whether a maintainer would lose non-obvious information without the comment.

  • Deletion-first decision order

    Orders edits so that unnecessary comments are removed before any wording is changed.

  • Declaration documentation guidance

    Explains when doc comments add real contract or semantic detail and when they only repeat the type system.

  • Marker and directive review

    Checks TODO, FIXME and suppression directives for staleness and removes those that are obsolete.

  • Repository audit procedure

    Lays out steps for auditing comments across a repository, including exclusions for generated and vendored code.

  • Single-line comment style rules

    Sets casing, punctuation and wording conventions for short prose implementation comments.

Em dash vs Lean comments: questions

Is Em dash or Lean comments cheaper?

Both are open source. Compare current plans on each official site.

What is the difference between Em dash and Lean comments?

Em dash is an open-source agent skill for developer tools. Lean comments is an open-source agent skill for developer tools.

Keep comparing