ClaudSkills / Content / content-misc

Txt Undo

Quality score: 70/100  ·  Category: Content  ·  Sub-category: content-misc
Implement and debug undo and redo in text editors — NSUndoManager grouping with beginUndoGrouping/endUndoGrouping, automatic typing coalescing on UITextView and NSTextView, disabling registration around programmatic edits, the changeInLength bug that breaks undo on custom NSTextStorage subclasses, registering manual inverses on NSTextContentManager, and avoiding cross-talk with Writing Tools revert. Trigger on 'undo isn't working right', 'too many undo steps for one paste', 'undo lost my work after Writing Tools', 'cmd-z behaves wrong' even without NSUndoManager named. Use when undo collapses too many changesUse when undo collapses too many changes, splits one operation into many groups, applies wrong inverse ranges, or stops working entirely after a paste, replace-all, or document load.

What this skill does

Txt Undo is a production-ready Claude Code skill (quality score 70/100) in the content-misc sub-category. It ships as a SKILL.md file that Claude Code auto-discovers under ~/.claude/skills/txt-undo/ and loads when your prompt matches the skill's trigger.

When to invoke it: Use when undo collapses too many changesUse when undo collapses too many changes, splits one operation into many groups, applies wrong inverse ranges, or stops working entirely after a paste, replace-all, or document load.

Who uses this skill

The Txt Undo skill is built for content creators, marketers, copywriters, SEO professionals, and editorial teams. It is part of the open ClaudSkills registry, a community-curated catalog of 15,000+ capabilities you can install for Claude Code — the Claude CLI agent.

How to install

Free

Manual install (2 steps)

mkdir -p ~/.claude/skills/txt-undo
curl -L https://claudskills.com/skills/txt-undo/SKILL.md \
  -o ~/.claude/skills/txt-undo/SKILL.md

Or just download SKILL.md directly and drop it into ~/.claude/skills/txt-undo/. Claude Code auto-discovers it on next session.

Skills live at ~/.claude/skills/txt-undo/SKILL.md on macOS/Linux, or %USERPROFILE%\.claude\skills\txt-undo\SKILL.md on Windows. See the full install guide for step-by-step instructions.

Pro

One-click install via the desktop app

The ClaudSkills desktop app installs any skill directly into ~/.claude/skills/ with one click — no terminal required. Pro starts at $9/mo or $149 lifetime.

More Content skills

Browse all Content skills in the ClaudSkills registry, or explore these top-rated picks from the same category:

Browse all Content skills → Top 100 skills
Part of ClaudSkills — the open registry for Claude Code skills.  ·  What's New  ·  Install guide  ·  About  ·  llms.txt