/marcoax-skills:md-to-blog-htmlfrom marcoax-skills
Converte un articolo Markdown nell'HTML esatto usato dal campo News.description del blog Magutti (magutti.com), e su richiesta genera le varianti di SEO title e meta description. Usa quando l'utente chiede di convertire un .md per il blog, di preparare l'HTML di un articolo News, o nomina la formattazione del blog Magutti. Non usarla per conversioni Markdown→HTML generiche.
Ships in marcoax-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Converts a Markdown source file into the HTML format used in the News.description field on https://www.magutti.com/.
The canonical output format is documented by the reference at reference/template.html — consult it if you need to extend the converter for unsupported constructs.
python3 <skill-dir>/scripts/convert.py path/to/article.md
Writes path/to/article.html next to the source and copies the HTML to the macOS clipboard (ready to paste into the admin News form).
Flags:
--no-clipboard — skip pbcopy--stdout — also print the HTML to stdout| Markdown | HTML output |
|---|---|
# Title | stripped (title lives in News.title) |
## Section | <hr /> (between sections) + <h2>…</h2> |
### Sub | <h3>…</h3> |
::: intro … ::: | <p class="article-intro">…</p> |
> line (one or more contiguous lines) | <div class="highlight-box">…</div> |
```…``` | <pre><code>…</code></pre> (HTML-escaped) |
- item / * item | <ul><li>…</li></ul> |
1. item | <ol><li>…</li></ol> |
| Plain paragraph | <p>…</p> |
**bold** | <strong>…</strong> |
`code` | <code>…</code> |
[txt](url) external | <a href="url" target="_blank" rel="noopener">txt</a> |
[txt](url) magutti.com or relative | <a href="url">txt</a> |
— (em-dash) | — |
Orphan &, <, > | &, <, > |
Input (article.md):
# My Article Title
::: intro
This article explores **a real-world case** of debugging with AI.
:::
## The Problem
After migrating, this warning appeared:
`bson_append_array(): invalid array detected`
> **AI Conclusion:** None of the proposed solutions eliminated the warning.
## The Lesson
See the [StackOverflow thread](https://stackoverflow.com/questions/69670396) for details.
Output (article.html):
<p class="article-intro">This article explores <strong>a real-world case</strong> of debugging with AI.</p>
<h2>The Problem</h2>
<p>After migrating, this warning appeared:</p>
<p><code>bson_append_array(): invalid array detected</code></p>
<div class="highlight-box"><strong>AI Conclusion:</strong> None of the proposed solutions eliminated the warning.</div>
<hr />
<h2>The Lesson</h2>
<p>See the <a href="https://stackoverflow.com/questions/69670396" target="_blank" rel="noopener">StackOverflow thread</a> for details.</p>
description field of the News record in the admin (and the SEO fields if generated).If a construct is missing, compare the actual blog output against reference/template.html and extend scripts/convert.py (the parser is line-based and easy to extend).
Only after the user confirms in step 3. Produce 2–3 variants for each field directly in chat (no file write — user copies and pastes the one they prefer):
Technical, restrained, factual. No marketing emphasis: avoid superlatives ("ultimate", "powerful", "amazing"), no clickbait ("you won't believe…"), no hype verbs ("master", "unlock", "transform"), no emoji, no hard CTAs. Describe what the article covers, not how exciting it is. Match the article's own register.
SEO title variants:
1. <variant 1> (NN chars)
2. <variant 2> (NN chars)
3. <variant 3> (NN chars)
SEO description variants:
1. <variant 1> (NNN chars)
2. <variant 2> (NNN chars)
3. <variant 3> (NNN chars)
Each variant must include the character count to confirm it fits the range. Match the article's language — if the MD is in Italian, generate Italian SEO fields.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
Generated from the plugin's indexed repository (marcoax/skills) — no native marketplace selected
npx claudepluginhub p/marcoax-marcoax-skills18 skills in this plugin
/add-lessonTurn a lesson's .docx/.md notes into a quiz file, or add words to an existing lesson./add-recapAdd a recap lesson: a fixed random sample plus a dedicated section for words and expressions to distinguish, copied from existing lessons. Argument: the title, e.g. "Ripasso di Natale"./advanced-code-reviewReview code changes against the requested behavior and repository standards, with evidence-backed findings and a PASS/PARTIAL/FAIL verdict./agent-md-creatorGenerate standardized CLAUDE.md or AGENT.md files for projects. Use when users want to document a project for AI agents, set up project instructions, create AI instructions files, initialize agent docs, or say things like "Crea un CLAUDE.md", "Generate AGENT.md", "Setup project documentation", "document this project for agents", "create AI instructions file", "initialize agent docs", "set up project instructions".