AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified Apache-2.0 Self-run

Dita Entity Reference

skill-abhatt-rh-redhat-docs-agent-tools-dita-entity-reference · by abhatt-rh

Replace HTML character entity references with Unicode equivalents for DITA compatibility. Use this skill when asked to fix entity references, replace HTML entities, or prepare files for DITA conversion.

No reviews yet
0 installs
29 views
0.0% view→install

Install

$ agentstack add skill-abhatt-rh-redhat-docs-agent-tools-dita-entity-reference

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-abhatt-rh-redhat-docs-agent-tools-dita-entity-reference)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
4mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Dita Entity Reference? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Entity reference transform skill

Replace unsupported HTML character entity references with their Unicode equivalents for DITA compatibility.

Overview

This skill uses the entity_reference.rb Ruby script to find and replace HTML character entity references (like  , —, ©) with their Unicode character equivalents. DITA only supports five XML entities: &, <, >, ', and ".

What it transforms

Common replacements

| Entity | Unicode | Description | |--------|---------|-------------| |   | | Non-breaking space | | – | | En dash | | — | | Em dash | | … | | Horizontal ellipsis | | © | © | Copyright | | ® | ® | Registered trademark | | ™ | | Trademark | | → | | Right arrow | | ← | | Left arrow |

Supported entity categories

  • Spaces and breaks
  • Dashes and hyphens
  • Quotation marks
  • Punctuation
  • Currency symbols
  • Math and symbols
  • Arrows
  • Greek letters
  • Accented characters

Usage

When the user asks to fix entity references:

  1. Identify the target folder or file containing AsciiDoc content
  2. Find all .adoc files in the target location
  3. Run the Ruby script against each file:

``bash ruby ${CLAUDE_SKILL_DIR}/scripts/entity_reference.rb ``

  1. Report the number of replacements made and any unknown entities found

Dry run mode

To preview changes without modifying files:

ruby ${CLAUDE_SKILL_DIR}/scripts/entity_reference.rb  --dry-run

Output to different file

ruby ${CLAUDE_SKILL_DIR}/scripts/entity_reference.rb  -o 

Example invocations

  • "Fix entity references in modules/getting_started/"
  • "Replace HTML entities in the assemblies folder"
  • "Run entity reference transformation on all AsciiDoc files"
  • "Fix the entities in modules/deploying-with-podman.adoc"
  • "Preview entity changes in modules/ --dry-run"

Behavior notes

  • Preserves supported entities: &, <, >, ', and " are left unchanged
  • Skips code blocks: Entities inside code blocks (---- or ....) are not replaced unless the block has subs="replacements" or subs="normal"
  • Skips comments: Entities inside comment blocks (////) and single-line comments (//) are not replaced
  • Reports unknowns: Unknown entities are reported but not modified

Output format

: Replaced N entity reference(s)
  Unknown entities (not replaced):
    Line X: &unknown;

Extension location

The Ruby script is located at: ${CLAUDE_SKILL_DIR}/scripts/entity_reference.rb

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.