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

Dita Task Step

skill-abhatt-rh-redhat-docs-agent-tools-dita-task-step · by abhatt-rh

Fix list continuations in procedure steps for DITA compatibility. Use this skill when asked to fix task steps, add list continuations, or prepare procedure files for DITA conversion.

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

Install

$ agentstack add skill-abhatt-rh-redhat-docs-agent-tools-dita-task-step

✓ 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-task-step)

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 Task Step? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Task step (list continuation) skill

Fix list continuations in procedure steps for DITA compatibility.

Overview

This skill uses the task_step.rb Ruby script to find procedure steps that contain multi-block content without proper list continuation markers (+) and adds them.

What it detects

The Vale rule TaskStep.yml detects content in procedure modules that appears after steps but is not properly attached to a step using the list continuation marker (+).

List continuations explained

In AsciiDoc, a list continuation marker (+ on its own line) attaches a block to the preceding list item. Without it, the block is not part of the list item.

See: https://docs.asciidoctor.org/asciidoc/latest/lists/continuation/

What it fixes

Missing continuation before code blocks

Before:

.Procedure

. Run the following command:

[source,bash]
----
oc get pods
----

. Check the output.

After:

.Procedure

. Run the following command:
+
[source,bash]
----
oc get pods
----

. Check the output.

Missing continuation before paragraphs

Before:

.Procedure

. Configure the settings.

The configuration file is located at `/etc/myapp/config.yaml`.

. Restart the service.

After:

.Procedure

. Configure the settings.
+
The configuration file is located at `/etc/myapp/config.yaml`.

. Restart the service.

Missing continuation before admonitions

Before:

.Procedure

. Run the installer.

[NOTE]
====
The installation may take several minutes.
====

. Verify the installation.

After:

.Procedure

. Run the installer.
+
[NOTE]
====
The installation may take several minutes.
====

. Verify the installation.

Usage

When the user asks to fix list continuations:

  1. Identify the target folder or file containing AsciiDoc content
  2. Find procedure modules (files with :_mod-docs-content-type: PROCEDURE)
  3. Run the Ruby script against each file:

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

  1. Report the changes made

Dry run mode

To preview changes without modifying files:

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

Output to different file

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

Process all files in a directory

find  -name "*.adoc" -exec ruby ${CLAUDE_SKILL_DIR}/scripts/task_step.rb {} \;

Example invocations

  • "Fix list continuations in modules/"
  • "Add missing + markers to procedure steps"
  • "Fix task steps in the getting_started folder"
  • "Preview list continuation changes in modules/ --dry-run"

Behavior notes

  • Only processes procedures: Files without :_mod-docs-content-type: PROCEDURE are skipped
  • Only in Procedure section: Only content within the .Procedure section is processed
  • Detects orphan content: Paragraphs, code blocks, admonitions, and other blocks after steps are detected
  • Adds + markers: The list continuation marker is inserted on a line by itself
  • Preserves existing continuations: Existing + markers are not duplicated
  • Handles nested lists: Nested list items are properly handled

Output format

: Added N list continuation(s)

Or:

: No missing list continuations found

Or:

: Not a procedure module (skipped)

Extension location

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

Related Vale rule

This skill addresses the warning from: .vale/styles/AsciiDocDITA/TaskStep.yml

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.