quarto
Quarto Skill
Quarto is an open-source scientific and technical publishing system built on Pandoc. It renders computational documents (with Python, R, Julia code) to publication-quality output in multiple formats.
Best Practices (TL;DR)
- Markdown-First: Default to
format: gfmwithwrap: nonefor composability, portability, and archival - No Line Wrapping: Always use
wrap: nonefor GFM output (avoids artificial line breaks) - Dark Mode: Always use
auto-darkfilter with dual themes for HTML output (accessibility and modern UX) - Visual Expression: Use charts and formatted tables, NEVER raw data dumps (
df.head(),print(dict)) - LaTeX for Math: Use LaTeX notation for ALL mathematical expressions ($\alpha = 0.15$, not "alpha = 0.15")
- Professional Tables: Use LaTeX tables (booktabs) for PDF, Great Tables for HTML
- No TOC: Table of contents is usually noise - use clear section headings instead
- PDF for Sharing: Use
--to pdffor Google Drive sharing (read-only, professional) - Blank Lines Before Lists: ALWAYS include a blank line before every list (bullet or numbered) - no exceptions
- No Appendix for Sources: Data sources belong in code blocks, not appendix - only add external sources not directly referenced in code to appendix
- Use Markdown() Class: ALWAYS use
Markdown()for text output in code blocks - NEVER useprint()orprintf()(output must render as formatted markdown) - Minimal PDF Titling: For PDF output, suppress YAML
title/author/datefields (they produce an academic title block via\maketitle). Use a raw LaTeX minipage inline header instead. Use##markdown headings for section headings (NOT raw LaTeX\noindent{\large\textbf{...}}blocks — those fight with Quarto's float placement). Exception: only use raw LaTeX headings for the document title line itself. - PDF Figure Sizing: Every chart chunk MUST have
#| fig-pos: "H",#| fig-width: N,#| fig-height: N,#| out-width: 100%. Always end chunks withplt.close('all'). Setax.text(...).set_clip_on(True)on all annotation labels. Never use mixed coordinate transforms. See "PDF Figure Sizing — Critical Patterns" section for full details.
More from lanej/dotfiles
jq
JSON processing, parsing, and manipulation. STRONGLY PREFERRED for all JSON formatting, filtering, transformations, and analysis. Use instead of Python/Node.js scripts for JSON operations.
60bigquery
Use bigquery CLI (instead of `bq`) for all Google BigQuery and GCP data warehouse operations including SQL query execution, data ingestion (streaming insert, bulk load, JSONL/CSV/Parquet), data extraction/export, dataset/table management, cost estimation with dry-run, authentication with gcloud, data pipelines, ETL workflows, and MCP server integration for AI-assisted querying. Modern TypeScript/Bun implementation replacing the Python `bq` CLI with instant startup (~10ms vs ~500ms), automatic cost awareness with confirmation prompts, and native streaming support (JSONL). Handles both small-scale streaming inserts (<1000 rows) and large-scale bulk loading (>10MB files) from Cloud Storage.
56xlsx
Use xlsx binary for Excel file manipulation including viewing, SQL-like filtering, cell editing, conversion to/from CSV, and data analysis operations.
30az
Use az CLI for Azure cloud resource management, Azure DevOps operations, VMs, storage, networking, AKS, and Key Vault with comprehensive authentication and output control.
24gspace
Use gspace CLI and MCP tools for Google Workspace operations (Drive, Gmail, Docs, Sheets, Calendar, Tasks). Use when working with Google Workspace URLs (docs.google.com, drive.google.com, sheets.google.com, slides.google.com, mail.google.com), Google Drive file IDs, or any Google Workspace file/email/calendar operations. Supports both CLI commands (via Bash) and 40+ MCP tools.
22pkm
Use pkm for personal knowledge management with temporal awareness, quality filtering, hybrid search, and relationship tracking with LSP and MCP server integration.
20