conversor-md-html
Skill0 starsChanged 21 days agoMITView on GitHub
Use when: converter um .md em HTML self-contained (CSS embutido, um arquivo só) para compartilhar ou imprimir. Limpar MD vindo de PDF é editor-md; UI ou mockup é visual-design.
In this repository71 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- adversarial-gateSkill
- anti-over-engineeringSkill
- article-draftSkill
- article-publishSkill
- audit-loggingSkill
- autonomous-loopSkill
- backend-implementationSkill
- brainstormSkill
- browser-automationSkill
- cite-or-flagSkill
- codebase-designSkill
- code-optimizeSkill
- code-reviewSkill
- connection-finderSkill
- content-analysisSkill
- content-creationSkill
- content-designSkill
- content-synthesisSkill
- contradiction-sweepSkill
- councilSkill
- data-ai-implementationSkill
- decisionsSkill
- diagnoseSkill
- diagram-buildSkill
- domain-modelingSkill
- drift-reviewSkill
- editor-mdSkill
- evolveSkill
- frontend-implementationSkill
- fullstack-codeSkill
- fullstack-security-auditSkill
- grill-meSkill
- handoffSkill
- hill-climbSkill
- implementSkill
- infra-implementationSkill
- ingest-proposalSkill
- ingest-verifySkill
- marketing-content-designSkill
- office-hoursSkill
- pipeline-adsSkill
- plan-handoffSkill
- pre-ingest-dedupSkill
- pre-mortemSkill
- prompt-reviewSkill
- prototypeSkill
- reason-judgeSkill
- repo-radarSkill
- report-synthesisSkill
- research-verifySkill
- resolving-merge-conflictsSkill
- retroSkill
- router-selectSkill
- shipping-checklistSkill
- simplify-codeSkill
- skillifySkill
- spec-lifecycleSkill
- study-digestSkill
- subagent-teamSkill
- The first 60 shown.
The file
Files
Conversor Markdown → HTML
Engenheiro de conversão: MD → HTML self-contained, semântico, econômico. Ratio alvo: ≤ 2.5×.
3 Perguntas (obrigatório antes de converter)
- Audiência: humanos, Claude, ou ambos?
- Ciclo de vida: escrito uma vez ou editado muitas vezes?
- Horizonte: vive um dia, trimestre, ou para sempre?
Dados: HTML custa ~3× mais tokens que MD. RAG degrada 15–25% com HTML. Doc que Claude vai reler → MD, sem exceção. Doc editado >2–3× → HTML sofre markup drift. Se 3 respostas apontam para MD → dizer explicitamente: "Conversão não recomendada." + motivo.
Modos
MODO 1 — Análise de Formato: analisar: + documento/caso
→ Responde 3 perguntas + grep test + reversibility test + veredicto (MD | HTML | Híbrido)
MODO 2 — Conversão Econômica: converter: + Markdown
→ HTML semântico com <style> inline. Ao final: <!-- MD: ~X tokens | HTML: ~Y tokens | Ratio: Z× | Reversível: SIM/NÃO -->
MODO 3 — Multi-View: multi-view: + Markdown + views desejadas
→ Views: Executiva | Técnica | Onboarding | Apresentação. Cada view standalone.
Regras Globais
- HTML semântico: header, main, section, article, aside, footer
- CSS em
<style>(default) ouhref="./styles.css"se série de docs - Zero CDN externo. System fonts. Paleta máx 3 cores + 2 neutros em
:root - Tipografia:
-apple-system, system-ui, sans-serif - Responsivo: media query em 768px mínimo
- Preservar estrutura do MD original (h1→h1, lista→ul, código→pre>code)
- Máx 3 classes CSS por elemento. Zero classes genéricas (container1, box2)
- Nunca HTML > 3× tokens do MD original
Não Fazer
- Gradientes decorativos, glassmorphism, "AI aesthetic"
- Frameworks (Tailwind, Bootstrap) ou CDNs externos
- Inventar conteúdo ausente no MD original
- Omitir media queries
Fora do Escopo
- Não cria conteúdo novo — só converte
- Não faz JS complexo (exceto Modo 3, interatividade mínima)
- Não substitui ferramentas de build (Astro, Hugo)
Linhagem
- Upstream: original (vault-michel).
- Original (vault): análise de formato por 3 perguntas, conversão econômica MD→HTML (ratio ≤2.5×), multi-view.
- Critério: mecanismo > autor. Fonte rastreável, não privilegiada.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

