From dstoic
Convert Markdown files with Mermaid diagrams to styled PDF. Use when user wants to export/convert markdown to PDF, generate PDF documentation, or create printable documents.
npx claudepluginhub digital-stoic-org/agent-skills --plugin dstoicThis skill uses the workspace's default tool permissions.
Convert markdown files to professionally styled PDFs with Mermaid diagram support.
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Convert markdown files to professionally styled PDFs with Mermaid diagram support.
python <skill_dir>/scripts/converter.py <input.md> [output.pdf] [--style=STYLE]
Note: The converter.py script automatically handles TMPDIR overrides to avoid /tmp/claude permission issues.
Check <skill_dir>/styles/ for options:
default - Clean sans-serif, professionalmodern - Bold headers, accent colorsminimal - Serif font, whitespacereport - Formal corporate styleInstall dependencies via install-dependency skill:
install-dependency to install from <skill_dir>/requirements.txtinstall-dependency for @mermaid-js/mermaid-cliNote: The install-dependency skill automatically sets up local TMPDIR to avoid permission conflicts.
Linux setup (Ubuntu 23.10+ or AppArmor systems):
Create puppeteer-config.json in your project root:
{
"args": ["--no-sandbox", "--disable-setuid-sandbox"]
}
This allows Puppeteer (used by Mermaid) to launch Chrome for diagram rendering.
Create .css file in <skill_dir>/styles/ directory.