em-dash for Openclaw

An expert punctuation agent skill that sanitizes codebase text by enforcing a strict ban on non-standard typographic elements like em dashes.

jhauga
v1.0.0
Jun 18, 2026
0
451
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install em-dash

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install em-dash using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is em-dash?

The em-dash skill is a specialized utility designed for Openclaw Skills to guarantee the typographic safety of technical repositories and system source files. While the em dash is historically celebrated as a dynamic formatting tool within literary works, modern digital typesetting, and conversational AI generation, its presence within software architectures poses severe encoding compatibility issues.

This skill explicitly targets and mitigates the unintentional usage of em dashes, en dashes, and related non-keyboard artifacts within programming instruction environments. By actively policing characters that lack native integration into structural compiler syntaxes, it prevents character rendering compilation failure and guarantees normalized file formatting across development configurations.

em-dash Use Cases

  • Sanitizing codebase text layers during pre-commit structural auditing routines.
  • Automatically correcting text strings or inline code blocks polluted by conversational AI stream-of-consciousness formatting habits.
  • Regularizing text documentation, internal development notes, and standard markdown layouts prior to production code distribution.
  • Auditing incoming developer repository pull requests to enforce consistent keyboard-native punctuation practices.

How em-dash Works

  1. Codebase Scanning: The Openclaw Skills runner scans specified repository paths, evaluating code logic, configuration layers, and technical documentation.
  2. Typographic Isolation: The system scans text objects for non-standard character entities, isolating em dashes, en dashes, or invalid syntax patterns.
  3. Sanitization Processing: Target blocks are parsed dynamically to swap out complex typographic representations for reliable, compiler-safe hyphen equivalents.
  4. Commit Verification: The cleaned contents are written back to storage, eliminating potential unicode corruption bugs downstream.

em-dash Setup

Integrate the em-dash configuration parameter context into your custom Openclaw Skills configuration pipeline.

You can explicitly clear or standardize text streams within code tasks manually by testing the replacement mechanism through standard shell structures:

# Standardize en dash and em dash to safe hyphens
echo - | sed "s/-/-/g"

# Neutralize encoded replacement errors out of localized file texts
echo � | sed "s/�/ /g"

em-dash Data Schema & Taxonomy

The em-dash utility classifies evaluation protocols according to strict keyboard-native standards. Data categorization rules are defined below:

Character Target Keyboard Native Syntax Valid Required Skill Remediation Behavior
Period . true true Retain as valid programmatic or ending character
Question Mark ? true true Retain as valid ternary expression syntax
Exclamation Point ! true true Retain as valid programmatic variable indicator
Semicolon ; true true Retain as valid terminal statement marker
Colon : true true Retain as valid object declaration taxonomy
Apostrophe ' true true Retain as valid literal character wrapping
Quotation Marks " true true Retain as valid literal string boundary encapsulation
Hyphen - true true Keep intact; serve as fallback representation for multi-word connectors
En Dash - FALSE FALSE Replace instantly with hyphen equivalent within standard workflows
Em Dash - FALSE FALSE Replace instantly with hyphen equivalent within standard workflows
Slash / true true Retain as valid mathematical division or documentation block separator

em-dash Advanced Features

  • Literal Data Conservation: Keeps raw structural context intact if explicit flags declare a source path as dedicated literary narrative, allowing targeted multi-agent text operations.
  • Keyboard Native Heuristic Engine: Dynamically measures any unmapped unicode characters against physical keyboard configurations to automatically purge unparseable character corruptions.
  • AI Response Neutralization: Intercepts code generation loops from large language models to clean up conversational punctuation quirks before output writes to disk.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*