{
    "url": "https://delaparra-services.nl/skills/adr-creation",
    "locale": "en",
    "title": "ADR Creation (Dual Format) | DeLaParra Services",
    "description": "Creates and maintains dual-format ADRs — Markdown (source of truth for agents) and HTML (rich explainer for humans with diagrams). Keeps both formats in sync on updates. Use when user says \"create an ADR\", \"document this decision\", \"write an ADR\", \"ADR for X\", or when creating or updating a file in docs/adr/.",
    "alternates": {
        "en": "https://delaparra-services.nl/skills/adr-creation",
        "nl": "https://delaparra-services.nl/nl/skills/adr-creation"
    },
    "formats": {
        "csv": "https://delaparra-services.nl/skills/adr-creation.csv",
        "md": "https://delaparra-services.nl/skills/adr-creation.md",
        "json": "https://delaparra-services.nl/skills/adr-creation.json",
        "zip": "https://delaparra-services.nl/skills/adr-creation.zip",
        "pdf": "https://delaparra-services.nl/skills/adr-creation.pdf"
    },
    "downloads": [
        {
            "url": "https://delaparra-services.nl/skills/adr-creation.csv",
            "encodingFormat": "text/csv",
            "name": "adr-creation.csv"
        },
        {
            "url": "https://delaparra-services.nl/skills/adr-creation.json",
            "encodingFormat": "application/json",
            "name": "adr-creation.json"
        },
        {
            "url": "https://delaparra-services.nl/skills/adr-creation.md",
            "encodingFormat": "text/markdown",
            "name": "adr-creation.md"
        },
        {
            "url": "https://delaparra-services.nl/skills/adr-creation.pdf",
            "encodingFormat": "application/pdf",
            "name": "adr-creation.pdf"
        },
        {
            "url": "https://delaparra-services.nl/skills/adr-creation.zip",
            "encodingFormat": "application/zip",
            "name": "adr-creation.zip"
        },
        {
            "url": "https://delaparra-services.nl/skills/adr-creation/download",
            "encodingFormat": "application/zip",
            "name": "adr-creation-files.zip"
        }
    ],
    "markdown": "# ADR Creation (Dual Format)\n\n \n\nCreates and maintains dual-format ADRs — Markdown (source of truth for agents) and HTML (rich explainer for humans with diagrams). Keeps both formats in sync on updates. Use when user says \"create an ADR\", \"document this decision\", \"write an ADR\", \"ADR for X\", or when creating or updating a file in docs/adr/.\n\n \n\n**Licence** MIT\n\n \n\n**Source** ceilidhboy/skills\n\n [Download zip](<https://delaparra-services.nl/skills/adr-creation/download>)   \n\n# ADR Creation (Dual Format)\n\n \n\n## Core Principles\n\n \n\n1. **Markdown** (` <adr-dir>/YYYY-MM-DD_kebab-title.md `) is the source of truth. Concise, technical — for AI agents. The ADR directory is ` docs/adr/ ` by default, but mirror the project's existing ADR location if it differs (e.g. ` wip/docs/adr/ `). \n1. **HTML** (` <adr-dir>/html/YYYY-MM-DD_kebab-title.html `) is the human explainer. Rich, narrative, with diagrams. **Lead with the problem** — open with a concrete before-state so the reader feels the pain before learning the fix. The HTML destination is task-derived — do not consult ` htmlOutputDir ` settings for ADRs. \n1. **HTML targets non-technical readers.** The markdown is for developers and AI agents — concise, technical, assumes domain knowledge. The HTML is for sending to clients, stakeholders, project managers, and non-programming colleagues. Include explainers for concepts the markdown takes for granted. If you must use a technical term, define it inline. Use analogies. Assume the reader knows the business problem but not the code. \n1. **Keep both in sync.** Stale HTML is worse than no HTML.\n\n \n\n## File Naming\n\n \n\nBoth files share the same YYYY-MM-DD\\_kebab-case-title, differing only by extension. No ADR numbering — numbers clash across branches. Refer by date + title (e.g. \"see Capture Referrer As Intended Login URL (2026-07-19)\").\n\n \n\n## Process: Creating a New ADR\n\n \n\n### 1. Gather context\n\n \n\nAsk: What decision was made? What was the problem? What alternatives were considered? Why was this approach chosen?\n\n \n\nAuto-detect project name and repo URL from README.md or ` git remote get-url origin `.\n\n \n\n### 2. Create the Markdown ADR\n\n \n\nDetermine the ADR directory first: use where the project's existing ADRs live (look for ` docs/adr/ `, ` wip/docs/adr/ `, etc.), defaulting to ` docs/adr/ ` when none exist yet. Write to ` <adr-dir>/YYYY-MM-DD_kebab-title.md `. Use the template in template-markdown.md.\n\n \n\n### 3. Create the HTML ADR\n\n \n\nWrite to ` <adr-dir>/html/YYYY-MM-DD_kebab-title.html `. The HTML should:\n\n \n\n- Expand freely — diagrams, narrative, safety checks. Never contradict the markdown. \n- Follow the **section order** below. \n- Be self-contained (single HTML file, no external dependencies).\n\n \n\n### Design system and SVG conventions\n\n \n\n**YOU MUST check whether the ` html-output ` skill is installed.** If it is, read its ` references/DESIGN_SYSTEM.md ` for the canonical CSS tokens, colour palette, typography, spacing, and CSS patterns — and its ` references/SVG_GUIDELINES.md ` for SVG diagram conventions (figure structure, common diagram types, flowcharts, timelines). These are the authoritative sources and take precedence over the bundled fallback.\n\n \n\nIf ` html-output ` is NOT installed, fall back to the bundled html-design-system.md — an abridged subset of the design system sufficient for standalone ADR creation.\n\n \n\nFollow the narrative guide in html-narrative-guide.md — audience, story examples, readability principles, before/after diagrams.\n\n \n\n#### HTML section order\n\n \n\n1. **Problem in plain English** — Concrete before-state example. A story that answers \"why should I care?\" Assume your reader is a project manager or client — they know the business problem but not the code or terminology. Define technical terms inline. \n1. **Why it happened** — Root cause in lay terms. Before/after flow diagrams. \n1. **What we changed** — The fix or improvement. Include any safety guards added. \n1. **Consequences** — Positive outcomes and trade-offs, in plain language.\n\n \n\n### 4. Add cross-links\n\n \n\n- Markdown frontmatter: add ` html ` (relative) and ` html_github ` (absolute) fields. \n- HTML header: link back to the markdown on GitHub.\n\n \n\n### 5. Present to the user\n\n \n\nShow both files for review before committing. On WSL, link HTML files as ` file://wsl.localhost/Ubuntu-24.04/... `.\n\n \n\n## Process: Updating an Existing ADR\n\n \n\n1. Edit the markdown first (source of truth). \n1. Regenerate the HTML — same narrative depth, consistent facts. \n1. Cross-link consistency — both files link to each other correctly. \n1. Present for review.\n\n \n\n## Cross-Reference URLs\n\n \n\n```\nMarkdown: https://github.com/{owner}/{repo}/blob/HEAD/docs/adr/YYYY-MM-DD_kebab-title.md\nHTML:     https://github.com/{owner}/{repo}/blob/HEAD/docs/adr/html/YYYY-MM-DD_kebab-title.html\n```\n\n \n\nUse ` HEAD ` (not a branch name). Derive ` {owner} ` and ` {repo} ` from ` git remote get-url origin `. Adjust the ` docs/adr/ ` path in the URLs if the project's ADR directory differs.\n\n \n\n## Markdown Notes\n\n \n\n- The markdown is for AI agents. Keep it concise and technical. \n- Context → Decision → Consequences is sufficient. No narrative treatment. \n- Only explain non-obvious system behaviour; skip what's self-evident.\n\n \n\n## Reference Files\n\n \n\n- template-markdown.md — Markdown template \n- template-html.html — HTML boilerplate \n- html-narrative-guide.md — Audience, story examples, readability principles, before/after diagrams \n- html-design-system.md — CSS tokens, visual style rules (fallback; superseded by ` html-output/references/DESIGN_SYSTEM.md ` when the ` html-output ` skill is installed)\n\n \n\n## Files\n\n \n\n- ` LICENSE ` \n- ` SKILL.md ` \n- ` SOURCE.md ` \n- ` html-design-system.md ` \n- ` html-narrative-guide.md ` \n- ` template-html.html ` \n- ` template-markdown.md `\n\n \n\n## Related terms\n\n \n\n- [ADR (Architecture Decision Record)](<https://delaparra-services.nl/knowledge-hub/adr-architecture-decision-record>)\n\n \n\n[Installing an agent skill in Claude Code, Codex, Cursor and Copilot](<https://delaparra-services.nl/manuals/een-skill-installeren-in-je-ai-assistent>)\n\n[HTML version](https://delaparra-services.nl/skills/adr-creation)\n",
    "structured_data": {
        "@context": "https://schema.org",
        "@graph": [
            {
                "@type": "Organization",
                "@id": "https://delaparra-services.nl/#practice",
                "logo": "https://delaparra-services.nl/logo.png",
                "name": "DeLaParra Services",
                "legalName": "DeLaParra Services",
                "url": "https://delaparra-services.nl/",
                "description": "Bespoke software, web applications and mobile apps, developed in Laravel by a single developer in Groningen. Fixed price agreed in advance, full source code provided upon delivery.",
                "email": "info@delaparra-services.nl",
                "address": {
                    "@type": "PostalAddress",
                    "addressLocality": "Groningen",
                    "addressRegion": "Groningen",
                    "addressCountry": "NL"
                },
                "areaServed": "Groningen, the Netherlands",
                "knowsLanguage": [
                    "en",
                    "nl"
                ],
                "knowsAbout": [
                    "Web design and development",
                    "App development",
                    "Custom software and web applications",
                    "OpenSpec",
                    "AI code review",
                    "Your own coding agent"
                ],
                "founder": {
                    "@id": "https://delaparra-services.nl/#person"
                }
            },
            {
                "@type": "WebPage",
                "@id": "https://delaparra-services.nl/skills/adr-creation#webpage",
                "url": "https://delaparra-services.nl/skills/adr-creation",
                "name": "ADR Creation (Dual Format) | DeLaParra Services",
                "description": "Creates and maintains dual-format ADRs — Markdown (source of truth for agents) and HTML (rich explainer for humans with diagrams). Keeps both formats in sync on updates. Use when user says \"create an ADR\", \"document this decision\", \"write an ADR\", \"ADR for X\", or when creating or updating a file in docs/adr/.",
                "isPartOf": {
                    "@id": "https://delaparra-services.nl/#website"
                },
                "about": {
                    "@id": "https://delaparra-services.nl/#practice"
                },
                "inLanguage": "en",
                "breadcrumb": {
                    "@id": "https://delaparra-services.nl/skills/adr-creation#breadcrumb"
                }
            },
            {
                "@type": "BreadcrumbList",
                "@id": "https://delaparra-services.nl/skills/adr-creation#breadcrumb",
                "itemListElement": [
                    {
                        "@type": "ListItem",
                        "position": 1,
                        "name": "Home",
                        "item": "https://delaparra-services.nl/"
                    },
                    {
                        "@type": "ListItem",
                        "position": 2,
                        "name": "ADR Creation (Dual Format)"
                    }
                ]
            },
            {
                "@type": "Person",
                "@id": "https://delaparra-services.nl/#person",
                "name": "Reinier de la Parra",
                "url": "https://delaparra-services.nl/about"
            },
            {
                "@type": "SoftwareSourceCode",
                "@id": "https://delaparra-services.nl/skills/adr-creation#skill",
                "url": "https://delaparra-services.nl/skills/adr-creation",
                "name": "ADR Creation (Dual Format)",
                "description": "Creates and maintains dual-format ADRs — Markdown (source of truth for agents) and HTML (rich explainer for humans with diagrams). Keeps both formats in sync on updates. Use when user says \"create an ADR\", \"document this decision\", \"write an ADR\", \"ADR for X\", or when creating or updating a file in docs/adr/.",
                "inLanguage": "en",
                "license": "https://spdx.org/licenses/MIT.html",
                "subjectOf": {
                    "@id": "https://delaparra-services.nl/skills/adr-creation#dataset"
                }
            },
            {
                "@type": "Dataset",
                "@id": "https://delaparra-services.nl/skills/adr-creation#dataset",
                "name": "ADR Creation (Dual Format)",
                "description": "Creates and maintains dual-format ADRs — Markdown (source of truth for agents) and HTML (rich explainer for humans with diagrams). Keeps both formats in sync on updates. Use when user says \"create an ADR\", \"document this decision\", \"write an ADR\", \"ADR for X\", or when creating or updating a file in docs/adr/.",
                "url": "https://delaparra-services.nl/skills/adr-creation",
                "identifier": "https://delaparra-services.nl/skills/adr-creation#dataset",
                "about": {
                    "@id": "https://delaparra-services.nl/skills/adr-creation#skill"
                },
                "creditText": "ceilidhboy/skills",
                "publisher": {
                    "@id": "https://delaparra-services.nl/#practice"
                },
                "license": "https://spdx.org/licenses/MIT.html",
                "isAccessibleForFree": true,
                "inLanguage": "en",
                "dateModified": "2026-11-28T15:33:18+00:00",
                "isPartOf": {
                    "@type": "Dataset",
                    "@id": "https://delaparra-services.nl/knowledge-hub#skills",
                    "name": "Skills for AI coding assistants",
                    "url": "https://delaparra-services.nl/knowledge-hub"
                },
                "includedInDataCatalog": {
                    "@type": "DataCatalog",
                    "@id": "https://delaparra-services.nl/knowledge-hub#catalog",
                    "name": "Knowledge hub data catalog",
                    "url": "https://delaparra-services.nl/knowledge-hub"
                },
                "distribution": [
                    {
                        "@type": "DataDownload",
                        "name": "adr-creation.csv",
                        "encodingFormat": "text/csv",
                        "contentUrl": "https://delaparra-services.nl/skills/adr-creation.csv",
                        "inLanguage": "en",
                        "dateModified": "2026-11-28T15:33:18+00:00",
                        "license": "https://spdx.org/licenses/MIT.html"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "adr-creation.json",
                        "encodingFormat": "application/json",
                        "contentUrl": "https://delaparra-services.nl/skills/adr-creation.json",
                        "inLanguage": "en",
                        "dateModified": "2026-11-28T15:33:18+00:00",
                        "license": "https://spdx.org/licenses/MIT.html"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "adr-creation.md",
                        "encodingFormat": "text/markdown",
                        "contentUrl": "https://delaparra-services.nl/skills/adr-creation.md",
                        "inLanguage": "en",
                        "dateModified": "2026-11-28T15:33:18+00:00",
                        "license": "https://spdx.org/licenses/MIT.html"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "adr-creation.pdf",
                        "encodingFormat": "application/pdf",
                        "contentUrl": "https://delaparra-services.nl/skills/adr-creation.pdf",
                        "inLanguage": "en",
                        "dateModified": "2026-11-28T15:33:18+00:00",
                        "license": "https://spdx.org/licenses/MIT.html"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "adr-creation.zip",
                        "encodingFormat": "application/zip",
                        "contentUrl": "https://delaparra-services.nl/skills/adr-creation.zip",
                        "inLanguage": "en",
                        "dateModified": "2026-11-28T15:33:18+00:00",
                        "license": "https://spdx.org/licenses/MIT.html"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "adr-creation-files.zip",
                        "encodingFormat": "application/zip",
                        "contentUrl": "https://delaparra-services.nl/skills/adr-creation/download",
                        "inLanguage": "en",
                        "dateModified": "2026-11-28T15:33:18+00:00",
                        "license": "https://spdx.org/licenses/MIT.html"
                    }
                ]
            }
        ]
    }
}