mdadf-cli
Installation
SKILL.md
mdadf CLI
A CLI that converts Markdown into Atlassian Document Format (ADF). If shell or network access is unavailable, give the user the exact commands for their OS and say clearly that you did not run them.
Core Workflow
1. Check availability, then install only if needed
Run mdadf --version. If it works, skip installation entirely — do not include install commands even as a fallback. When the user states the tool is installed, trust them.
If the binary is missing, install it and then convert. See references/commands.md for exact commands by OS and install method.
2. Convert with the CLI instead of hand-writing ADF
Prefer mdadf over manually constructing ADF JSON.
- Default to
--compactunless the user explicitly wants pretty-printed JSON - For short snippets, pipe Markdown through stdin
- For larger inputs or reusable workflows, pass a file path