Check Code Block Highlights

Official

Verify code block highlights in docs.

Authornextflow-io
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps authors and reviewers ensure that hl_lines attributes in Markdown code blocks correctly highlight intended lines, preventing misinterpretation of examples in documentation.

Core Features & Use Cases

  • Validate snippet-relative highlighting: hl_lines values are checked against the actual lines in the code block.
  • Detect off-by-one errors, including blank lines, and ensure headers or comments are not incorrectly highlighted.
  • Generate a concise report with suggested fixes for code blocks in Markdown documentation and tutorials.

Quick Start

Run the check-highlights skill on a sample.md file to verify all hl_lines highlight the intended snippet lines.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Check Code Block Highlights
Download link: https://github.com/nextflow-io/training/archive/main.zip#check-code-block-highlights

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.