Install
$ agentstack add skill-abhatt-rh-redhat-docs-agent-tools-dita-entity-reference ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo 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.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
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 →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:
- Identify the target folder or file containing AsciiDoc content
- Find all
.adocfiles in the target location - Run the Ruby script against each file:
``bash ruby ${CLAUDE_SKILL_DIR}/scripts/entity_reference.rb ``
- 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"orsubs="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.
- Author: abhatt-rh
- Source: abhatt-rh/redhat-docs-agent-tools
- License: Apache-2.0
- Homepage: https://redhat-documentation.github.io/redhat-docs-agent-tools/
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.