text-editor

Apply %%...%% instructions and rewrite ==...== passages in annotated text.

Updated Dec 26, 2023
One-click install
npx skills add https://github.com/Selogaz/Obsidian-vault-cpp --skill text-editor-selogaz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: text-editor
Source: https://github.com/Selogaz/Obsidian-vault-cpp/tree/main/skills/text-editor
Command: npx skills add https://github.com/Selogaz/Obsidian-vault-cpp --skill text-editor-selogaz

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill solves the challenge of applying embedded editing directives found in annotated text by executing %%instructions%% exactly and rewriting ==passages== with context, while returning a clean, marker-free output.

Core Features & Use Cases

  • Apply %%instruction%% blocks exactly as written to surrounding text.
  • Rewrite ==passage== blocks to strengthen and clarify marked passages using context.
  • Strip all %%...%% and ==...== markers from the final output.
  • Preserve unmarked text verbatim and maintain original structure and style.
  • Triggers: INVOKE when the user provides annotated text with %%...%% or ==...== markers to apply edits.

Quick Start

Paste your annotated text containing %%instructions%% and ==highlights== for immediate editing.

Frequently Asked Questions about text-editor

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

FAQPage Schema
How do I apply inline editing instructions and markers to rewrite text?

Annotated text editing uses %%instruction%% blocks for exact execution and ==passage== blocks for context-based rewriting. The system applies these embedded directives to your marked-up text and strips all marker syntax, returning a clean, edited document that preserves unmarked content verbatim.

What is the best way to clean up annotated text and remove editing markers?

The best way to clean up annotated text is to process the document through an instruction-execution system that recognizes %%...%% and ==...== syntax. It applies the embedded edits, removes all marker formatting, and preserves the original structure and style of unmarked content.

How do I rewrite highlighted text passages while preserving unmarked content?

To rewrite highlighted passages while preserving unmarked content, mark the target text with ==...== syntax. The system rewrites those specific passages using surrounding context for judgment, while leaving all unmarked text verbatim and maintaining the original document structure.

Can I use annotated text editing for documents in different languages and lengths?

Yes, you can use annotated text editing across different languages and document lengths. The system processes %%instructions%% and ==passages== regardless of text size, applying edits contextually and returning marker-free output that maintains the original structure and style.

What happens to my original text structure when applying %%instruction%% markers?

When applying %%instruction%% markers, your original text structure is fully preserved. The system executes the embedded instructions exactly as written on the surrounding text, removes the marker syntax, and maintains the original style and formatting of all unmarked content.