apple-text-writing-tools

Integrate Writing Tools inline proofreading into UITextView, NSTextView, or custom UITextInput editors.

Updated Mar 19, 2026
One-click install
npx skills add https://github.com/sitapix/apple-text --skill apple-text-writing-tools
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: apple-text-writing-tools
Source: https://github.com/sitapix/apple-text/tree/main/skills/apple-text-writing-tools
Command: npx skills add https://github.com/sitapix/apple-text --skill apple-text-writing-tools

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Integrating Writing Tools into native editors is often complex due to the need to coordinate editor lifecycles, protected ranges, and multiple interaction modes.

Core Features & Use Cases

  • Inline integration with UITextView, NSTextView, or custom editors to provide real-time proofreading and rewrite suggestions.
  • Protected ranges and lifecycle hooks to prevent edits during Writing Tools operation.
  • Coordinator-based integration (UIWritingToolsCoordinator) to manage state, animations, and user interactions across different editor implementations.

Use Case: Imagine integrating Writing Tools into a custom editor to show inline proofreading marks while preserving code blocks and quotes.

Quick Start

Initialize the appropriate editor integration path for your editor (TextKit-based views or custom UITextInput) and enable inline Writing Tools mode.

Frequently Asked Questions about apple-text-writing-tools

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I integrate Apple Writing Tools into a custom UITextInput editor?

To integrate Apple Writing Tools into a custom UITextInput editor, initialize the UIWritingToolsCoordinator to manage state, replacements, and content context across inline and panel interaction modes.

What are protected ranges in TextKit 2 and when do I need them for Writing Tools?

Protected ranges in TextKit 2 prevent user edits to specific text segments during Writing Tools operation. You need them to preserve code blocks or quotes while applying inline proofreading and rewriting suggestions.

Can I use UIWritingToolsCoordinator with both UITextView and NSTextView?

Yes, UIWritingToolsCoordinator supports both UITextView and NSTextView. It manages editor lifecycle hooks, state transitions, and animations to provide real-time proofreading across native TextKit-based views.

How does inline Writing Tools integration differ from panel mode in iOS development?

Inline Writing Tools integration shows real-time proofreading marks directly within the text editor, while panel mode displays suggestions in a separate UI, both managed via coordinator APIs for state transitions.

Why does Writing Tools fail to apply suggestions in my custom text editor?

Writing Tools fails when editor lifecycle hooks or protected ranges are improperly configured. Ensure your custom UITextInput properly delegates state transitions and content context replacements to the UIWritingToolsCoordinator.