- Home
- Skills
- Technical Documentation
- Catch Broken Code Examples Before You Share Your Markdown
More screenshots
Works with the AI Agents you already use
Catch Broken Code Examples Before You Share Your Markdown
Paste a Markdown file. Get back fence line numbers, marker type, language tag, and any opening fence that is still unclosed.
$5
Catch Broken Code Examples Before You Share Your Markdown
Example session with this skill installed
python3 scripts/code_fence_audit.py examples/sample.md
examples/sample.md contains a python code block that closes, and a ~~~ block that never closes.
- Read your context and instructions
- Compiled the catch broken code
Markdown fence audit: 2 fence(s); 1 unclosed
line 3-5: ``` python
line 7-UNclosed: ~~~ (no language tag)
Connects securely to your tools. The creator never sees your data.
About this skill
For README writers, this shows which code examples are closed and where an unfinished block starts, so you can fix the Markdown before sharing it.
Paste a Markdown file and get fence line numbers, marker type, language tag, and any opening fence that still needs a close.
What it does
- Pairs backtick and tilde fences with at most three leading spaces.
- A closing fence must use the same marker and at least as many characters as its opener; trailing text makes a line invalid as a close.
- Shows the first info-string word as the language tag.
- Prints a text report, or JSON, CSV, or Markdown with --format. --fail-on-unclosed returns status 1 when an opening fence remains unclosed.
Limits
- Reads only UTF-8 and UTF-16 text up to 1,000,000 bytes.
- Four-space-indented blocks are outside this fence rule.
- It does not parse Markdown dialect extensions, render a page, validate code inside a block, fetch links, or execute content.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Technical Documentation.
Max file size 1MB. Supports UTF-8/UTF-16. Only checks fence syntax, not Markdown semantics or code validity.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 5 days ago
- Software
Python 3