# Universal MD Output Template Use this canonical structure for any country's report. Country playbooks may add country-specific blocks but must keep this skeleton. ```markdown # Property Due-Diligence: **Date**: **Country**: **Listing**: **Coordinates**: , **Locality**: (, ) **Population**: () **Sub-region**: --- ## Price Assessment --- ## Traffic Profile --- ## Tax Estimate --- ## Rental Income Analysis --- ## Local Work Options for --- ## Risk Map --- ## Mains Drains Verification --- ## TL;DR - 🔴 / 🟠 / 🟡 / 🟢 - - ## Sources - [Source 1 description](url) - [Source 2 description](url) - ... --- *Generated by `/property-deep-dive` on . Verify all numerics with the seller's diagnostics, the local authority, and a notary/solicitor before signing. AI-assisted research; double-check critical figures.* ``` ## Single-section output When the user requests only one section (e.g., `--risks` only), output just that section under its `## H2` header, plus a brief `## TL;DR` and the `## Sources` block. Skip the unused sections. ## Filename convention `property----.md` Examples: - `property-fr-adriers-all-2026-04-25.md` - `property-de-berlin-mitte-tax-risks-2026-04-25.md` - `property-uk-bath-all-2026-04-25.md` ## Save-path priority 1. `_local/reports/` if exists in current working directory 2. Else `_local/reports/` if `_local/` exists 3. Else `_local/reports/` if `.gitignore` mentions `_local` 4. Else `/` If `--save=` is passed, use that path verbatim (create parent dirs if needed). ## Terminal output Same content as the MD, just printed. Add a final line: > 📄 *Saved to ``* (only when `--save` was used) ## Slug rules ``: - Lowercase - Latin transliterate (é → e, ß → ss, etc.) - Spaces → `-` - Strip diacritics - Strip punctuation ``: - Sort the list of selected sections alphabetically - Join with `-` - If `--all`, use `all` ## Frontmatter conventions - Always include the address verbatim (don't normalise) - Include both ISO2 country code AND full country name - Coordinates to 4 decimals - Population trend as percent change with year (e.g., "-6% since 2006") - "Listing" line: full URL OR explicit "no listing provided" ## Body conventions - Use `## H2` for the 7 sections - Use `### H3` for sub-blocks within a section - Tables for any 3+ row comparison data - Inline emoji for verdict colours: 🟢 🟡 🟠 🔴 - Currency: always with the local symbol (€, £, $, CHF, etc.) - Dates: ISO format (YYYY-MM-DD) - All claims sourced inline OR collected in the final Sources block