jimmc414

Hn Rewrite — Design skill for Claude Code

Design community

Read {{arg1}} (either a file path or GitHub issue URL) and rewrite it in a technical, matter-of-fact style suitable for a discerning Hacker News audience.

How to install Hn Rewrite

Installs to ~/.claude/commands/jimmc414-kosmos-hn-rewrite.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/jimmc414/Kosmos/HEAD/.claude/commands/hn-rewrite.md -o ~/.claude/commands/jimmc414-kosmos-hn-rewrite.md

Restart Claude Code, or start a new session, for it to be picked up.

What Hn Rewrite does

Read {{arg1}} (either a file path or GitHub issue URL) and rewrite it in a technical, matter-of-fact style suitable for a discerning Hacker News audience.

**Input Detection:**

  • If {{arg1}} starts with http:// or https:// - fetch the URL content first using WebFetch
  • Otherwise, treat {{arg1}} as a file path and read the file

Apply these transformations:

  1. Remove all emojis (🎉, ✅, 🚀, etc.)
  2. Remove exclamation points - replace with periods or rephrase
  3. **Eliminate bombastic

Alternatives in Design

Full documentation available on GitHub

View Source Repository