Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
4883eb3
Add skill
dbreseman Nov 5, 2026
3d71427
Merge branch 'development' into docs-drafting-skill
dbreseman Nov 16, 2026
d622bc8
Make template instruction generic
dbreseman Nov 16, 2026
783a577
Fix Marketplace headings cascade
dbreseman Nov 16, 2026
7158b0a
Split release notes template for date vs version types
dbreseman Nov 16, 2026
9048fc9
Make Copilot templates reference generic
dbreseman Nov 16, 2026
d3e7220
Fix numberless_headings cascade
dbreseman Nov 16, 2026
6e8ab75
Uncomment URL in template
dbreseman Nov 16, 2026
cf1e143
Update how-to template
dbreseman Nov 16, 2026
562ba0c
Add image and frontmatter directions
dbreseman Nov 16, 2026
f66a417
Merge branch 'development' into docs-drafting-skill
dbreseman Nov 16, 2026
f8fa7e7
Merge branch 'development' into docs-drafting-skill
dbreseman Nov 17, 2026
bc1853e
Update Marketplace Components template
dbreseman Nov 17, 2026
8ba1e57
"say which" -> "specify the version"
dbreseman Nov 17, 2026
95224f2
Add a quote
dbreseman Nov 17, 2026
553ae4a
Add subsection guidance
dbreseman Nov 17, 2026
3b58273
Add section-index-template
dbreseman Nov 17, 2026
775a0bd
Add fallback template
dbreseman Nov 17, 2026
91e5069
Add readme for template selection
dbreseman Nov 17, 2026
22c1c9b
Apply feedback
dbreseman Nov 17, 2026
1530575
Merge branch 'development' into docs-drafting-skill
Karuna-Mendix Nov 18, 2026
f6700a5
Add comments to templates and metadata
Karuna-Mendix Nov 18, 2026
5e8938d
Revert numberless headings front matter adition
Karuna-Mendix Nov 18, 2026
fcb6f67
Add top comment for release note templates
Karuna-Mendix Nov 23, 2026
e1fa09e
Merge branch 'development' into docs-drafting-skill
dbreseman Nov 24, 2026
78b63fc
Rename
dbreseman Nov 24, 2026
b6edbb3
Clarify source read and output
dbreseman Nov 25, 2026
c1a65cd
Merge branch 'development' into docs-drafting-skill
dbreseman Dec 4, 2026
19f51bb
Revert skill changes in this PR
dbreseman Dec 4, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/copilot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ Search the tree to understand where your topic belongs before creating a new fil
* **Terminology** – Capitalize product names (Mendix Portal, Studio Pro, Team Server); use “microflow”, “nanoflow”, etc. consistently. Never use e.g. or i.e.
* **Text formatting** – Reserve bold for UI labels, button names, menu items, or other interface text, or for introductions in list items. Don't use italics except to refer to titles and sections. Use wording or alert shortcodes for emphasis; don't use text formatting for emphasis. Use code font only to wrap literal code, filenames, paths, or command-line input. Use `<kbd>` for keyboard shortcuts.
* **Headings** – H1 is generated from the front‑matter title. Subsequent headings increment by one level at a time. Don't use bold or italics as a replacement for headings. Use title case. Never start headings with numbers.
* **Subsections** – A subsection is the content under a heading one level below its section, such as an H3 under an H2. Add one only for two or more parts that each need a paragraph or more. For a set of options or components that contain figures or tables, use one subsection per member instead of a list or table. Keep procedure steps in a numbered list, even with figures. A linked part can be shorter or stand alone if it has an anchor ID.
* **Lists and tables** – Bullet lists use asterisks; ordered lists use numbers followed by a period. If there are more than three data points per item, use a table instead. Use the same syntax and structure for all list items in a given list. Use complete sentences to introduce lists and tables, not partial sentences completed with the list items.
* **Indentation** – Use four spaces to indent content—for example, to create a sub-list or nest an image or code block in a list. Alerts are an exception: don't indent alert lines but do omit preceding blank line.
* **Links** – Use absolute paths starting with a leading slash (`/deployment/`). Use descriptive link text such as the page title, not “click here”. To link to a heading, add an anchor ID (`{#anchor-id}`) next to the heading and use that ID in the URL (for example, `[Section title](/path/to/page#anchor-id)` to link to a heading in another page or `[Section title](#anchor-id)` to link to a heading in the same page).
Expand Down Expand Up @@ -125,7 +126,7 @@ For comprehensive shortcode examples and edge cases, read `community-tools/contr

If asked to create new content:

1. Read the appropriate template from `templates/`: `how-to-template.md`, `reference-template.md`, `marketplace-component-page-template.md`, or `release-notes-template.md`
1. Read `templates/README.md` to choose the appropriate template, then read that template from `templates/`
2. Create the new file based on the template
3. Remove comment lines (`#`) from the template
4. Follow the editorial workflow above
Expand Down
3 changes: 2 additions & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ Before creating a new file, explore the directory structure and understand where
* **Terminology** – Capitalize product names (Mendix Portal, Studio Pro, Team Server); use "microflow", "nanoflow", etc. consistently. Never use e.g. or i.e.
* **Text formatting** – Reserve bold for UI labels, button names, menu items, or other interface text, or for introductions in list items. Don't use italics except to refer to titles and sections. Use wording or alert shortcodes for emphasis; don't use text formatting for emphasis. Use code font only to wrap literal code, filenames, paths, or command-line input. Use `<kbd>` for keyboard shortcuts.
* **Headings** – H1 is generated from the front‑matter title. Subsequent headings increment by one level at a time. Don't use bold or italics as a replacement for headings. Use title case. Never start headings with numerals.
* **Subsections** – A subsection is the content under a heading one level below its section, such as an H3 under an H2. Add one only for two or more parts that each need a paragraph or more. For a set of options or components that contain figures or tables, use one subsection per member instead of a list or table. Keep procedure steps in a numbered list, even with figures. A linked part can be shorter or stand alone if it has an anchor ID.
* **Lists and tables** – Bullet lists use asterisks; ordered lists use numbers followed by a period. If there are more than three data points per item, use a table instead. Use the same syntax and structure for all list items in a given list. Use complete sentences to introduce lists and tables, not partial sentences completed with the list items.
* **Indentation** – Four spaces for sub-lists and nested content. Alerts in lists are an exception: don't indent alert lines but do omit preceding blank line.
* **Links** – Link using the target page's `url` front matter field, not its file system path (e.g., `/deployment/` from front matter, not `content/en/docs/deployment/_index.md`). Use descriptive link text such as the page title, not "click here". To link to a heading, add an anchor ID (`{#anchor-id}`) next to the heading and use that ID in the URL (for example, `[Prerequisites](/deployment/mendix-cloud/#prerequisites)` to link to a heading in another page or `[Prerequisites](#prerequisites)` to link to a heading in the same page).
Expand Down Expand Up @@ -140,7 +141,7 @@ Less common shortcodes (`button`, `expandable-table`, `youtube`, `vidyard`, `swa

If asked to create new content:

1. Read the appropriate template from `templates/`.
1. Read `templates/README.md` to choose the template that matches the content type, then read that template.
2. Use Write tool to create the new file based on the template.
3. Remove the guidance comments from the template: `#` comments and inline comments in the front matter, and `[//]: #` comments in the body. Complete `title`, `url`, and `description`.
4. Follow the editorial workflow above.
Expand Down
12 changes: 12 additions & 0 deletions templates/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Choosing a Template

Go through the questions in order and use the first template that fits. Each template's opening comment says more about when to use it.

1. Is the page an `_index.md` file that introduces a section and lists its child pages? Use `section-index-template.md`.
2. Is the page release notes?
* Released by version: use `release-notes-version-template.md`.
* Released by date: use `release-notes-date-template.md`.
3. Does the page guide readers through steps to reach a goal? Use `how-to-template.md`.
4. Does the page document a platform-supported Marketplace component, such as a module, widget, or connector? Use `marketplace-component-page-template.md`. For AWS connectors, use `marketplace-aws-connector-page-template.md`.
5. Does the page document the properties of a Studio Pro element? Use `reference-template.md`.
6. Does none of the above fit? Use `general-page-template.md`. Read sibling pages in the same folder for terminology and level of detail, and choose the other headings to fit the topic.
34 changes: 34 additions & 0 deletions templates/general-page-template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
title: "{Page Title}"
url: /{section}/{page-name}/ # Match the URL pattern of sibling pages (for example, /refguide/session-management/)
#linktitle: Optional. If the title is longer than 40 characters, add a short title for the left navigation
#weight: Optional. Lower numbers appear first among sibling pages.
description: "Describes {the topic}." # Start with Describes, for example, "Describes the {topic}" or "Describes how {topic works}"
---

[//]: # "Use only when no other template fits. Text in {braces} is a placeholder; replace it. Headings without braces are literal. Use only the elements that apply, and match sibling pages."
[//]: # "Read sibling pages in the same folder for terminology, level of detail, and any heading that most of them share. Choose the other headings to fit your topic."

## Introduction

{Describe what the topic is and why it matters to the user.}

## {Section Title}

[//]: # "Add the sections the topic needs. Structure varies by topic, so use a heading from sibling pages only when most of them share it."

{Explain this part of the topic.}

[//]: # "Optional: Add an image or code block only when it does something the text can't. Use an image when the reader needs to recognize a screen or see how parts relate, and a code block for literal code or settings the reader copies. Most paragraphs need neither."

### {Subsection Title}

[//]: # "Optional: Use subsections only where the topic has parts that each need a paragraph or more, such as a detail, an alternative, an example the reader can skip, or a common problem and its solution. For other cases, see the Subsections rule in CLAUDE.md."

{Describe the detail, alternative, example, or problem and solution.}

## Read More

[//]: # "Optional: List supplementary links only. Don't repeat cross-references used earlier in the page."

* [{Link title}]({URL}) – {Explanation, if needed, especially for third-party links.}
47 changes: 27 additions & 20 deletions templates/how-to-template.md
Original file line number Diff line number Diff line change
@@ -1,47 +1,54 @@
---
title: "Enter the title of the document - this should be unique to aid Google indexing"
#url: Set the relative URL of the document; after the name of the main directory/product the document is in, use the document title; example for document titled my-new-page.md, in refguide directory: /refguide/my-new-page/
#linktitle: Enter a short title to be used in the left side menu; increases readability and navigation through the menu
#weight: Enter the position of the document compared to other 'child' documents at the same level; number by 10 (for first), 20, 30, etc. for easy ordering of other documents in the future if necessary; don't add brackets or quotation marks
#description: "Set a description with a maximum of 140 characters; this should describe what the goal of the document is, and it can be different from the document introduction; this is optional, and it can be removed"
#draft: Set to true if page should not appear in production
title: "{How-to Title}" # Start with a bare infinitive and name what the reader accomplishes (for example, Set Up Anonymous User Security)
url: /{section}/{page-name}/ # Match the URL pattern of sibling pages (for example, /howto/security/set-up-anonymous-user-security/)
#linktitle: Optional. If the title is longer than 40 characters, add a short title for the left navigation
#weight: Optional. Lower numbers appear first among sibling pages.
description: "Describes how to {task}."
---

[//]: # "Use for step-by-step guides that help readers reach a goal. Text in {braces} is a placeholder; replace it. Headings without braces are literal. Use only the elements that apply, and match sibling pages."

## Introduction

{Describe what this how-to will cover and what the user will learn.}
{Describe what problem this how-to solves and why it matters to the user.}

[//]: # "Optional: Keep the following list when the how-to covers two or more distinct tasks or outcomes. Omit it when the introduction already states the single goal. Make each item a concrete task outcome (such as create, build, or configure)."

This how-to teaches you how to do the following:
This how-to shows you how to do the following:

* Create...
* Build...
* Configure...
* {Outcome 1}
* {Outcome 2}

## Prerequisites

{If there are no prerequisites, leave this section out}
[//]: # "Optional: Keep this section when the steps depend on something the reader needs first, such as a software version, an existing app or module, access rights, a required configuration, or another how-to or documentation page. List only what the steps require. Omit the section if there are none. Don't list baseline knowledge."

Before starting this how-to, make sure you have completed the following prerequisites:
Before starting this how-to, make sure you have the following:

* {Prerequisite 1}
* {Prerequisite 2}

## {Title of Section Using Present Participle Verb/Gerund}
## {Section Title}

[//]: # "Start the heading with a gerund that names the task (for example, Setting Up Security). Make one section for each distinct stage of the task, with its own steps. Add or remove sections as the task requires."
[//]: # "Optional: Add an image under a step where the reader needs to recognize a screen, dialog box, or result. Don't add one for every step."

To {do this task}, follow these steps:

1. {Step 1}

{{< figure src="/attachments/{path}/{image-name}.png" alt="{Describe the image.}" >}}

2. {Step 2}

{{< figure src="/attachments/rest-of-image-path/image-name-and-extension" >}}
### {Subsection Title}

### {Title of Sub-Section}
[//]: # "Optional: Use a subsection for a sub-task with its own steps, an alternative approach, an example the reader can skip, or a common problem and its solution."

{Use sub-sections for more detail.}
{Describe the sub-task, alternative approach, example, or problem and solution.}

## Read More

* {Link 1}
* {Link2} – {an explanation when necessary especially if this is a third-party link}
[//]: # "Optional: List supplementary links only. Don't repeat cross-references used earlier in the page."

{Make sure this section contains a bulleted list only with explanations where necessary. Do not just repeat cross-references you used throughout the document, but list useful supplementary links here.}
* [{Link title}]({URL}) – {Explanation, if needed, especially for third-party links.}
64 changes: 48 additions & 16 deletions templates/marketplace-component-page-template.md
Original file line number Diff line number Diff line change
@@ -1,48 +1,80 @@
---
title: "Enter the title of the document - this should be unique to aid Google indexing"
#url: Set the relative URL of the document; after the name of the main directory/product the document is in, use the document title; example for document titled my-new-page.md, in refguide directory: /refguide/my-new-page/
#linktitle: Enter a short title to be used in the left side menu; increases readability and navigation through the menu
#weight: Enter the position of the document compared to other 'child' documents at the same level; number by 10 (for first), 20, 30, etc. for easy ordering of other documents in the future if necessary; don't add brackets or quotation marks
#description: "Set a description with a maximum of 140 characters; this should describe what the goal of the document is, and it can be different from the document introduction; this is optional, and it can be removed"
#draft: Set to true if page should not appear in production
title: "{Component Name}" # Use the component name as it appears in Marketplace
url: /{section}/{page-name}/ # Match the URL pattern of sibling pages (for example, /appstore/modules/mendix-feedback/)
#linktitle: Optional. If the title is longer than 40 characters, add a short title for the left navigation
#weight: Optional. Lower numbers appear first among sibling pages.
description: "Describes the {Component Name} {module, widget, or connector}, which lets you {do what it does}."
---

[//]: # "Use for pages that document a platform-supported Marketplace component, such as a module, widget, or connector. Text in {braces} is a placeholder; replace it. Headings without braces are literal. Use only the sections that apply, and match sibling pages."

## Introduction

{Provide a basic description of what this platform-supported Mendix Marketplace component does.}
{Describe what the component does. Start with the component name, linked to its Marketplace page.}

### Typical Use Cases

[//]: # "Optional: Keep this subsection when readers need examples of when to use the component."

{Describe the main scenarios the component is used for.}

### Features

[//]: # "Optional: Keep this subsection when readers need a quick overview of what the component can do."

{Component Name} has the following features:

* {Describe a feature.}

### Limitations

[//]: # "Optional: Keep this subsection when readers need to know about restrictions."

{Component Name} has the following limitations:

* {Describe the limitation.}

### Prerequisites

[//]: # "Optional: Keep this subsection when using the component depends on something the reader needs first, such as a Studio Pro version, an account or access rights with a provider, or a resource that must exist first. List required Marketplace modules under Dependencies instead. Omit the subsection if there are none. Don't list baseline knowledge."

Before using {Component Name}, make sure you have the following:

* {Prerequisite 1}
* {Prerequisite 2}

### Dependencies

{List important dependencies, especially when they are other Marketplace components.}
[//]: # "Optional: Keep this subsection to list the Marketplace modules the component requires. If a module is required only for certain versions of the component or Studio Pro, specify the version."

### Demo App
{Component Name} requires the following Marketplace modules:

{Provide a link to a maintained demo app where the component is used if available.}
* [{Module Name}]({URL})

## Installation

{Describe the basic installation of the component if necessary.}
[//]: # "Add any steps the component needs after import, such as setting an After startup microflow or adding a module role. Include version or upgrade warnings, and if the component comes with an app template or starter app that the reader may be using, say so and tell readers they can skip installing it."

Follow the instructions in [Using Marketplace Content](/appstore/use-content/), and add any required modules listed under [Dependencies](#dependencies).

## Configuration

{Describe the properties to be configured.}
[//]: # "Use a subsection for each area to configure, such as a widget property tab or a connector setting. Widgets often call this section Properties Pane."

## Usage
{Describe the properties and settings to configure.}

{Optional: Provide more info for general use cases here if desired. You should provide this info in a reference guide page or how-to for more specific or advanced use cases.}
[//]: # "Less common optional sections: Usage (for general use after configuration; put step-by-step walkthroughs in a how-to), Technical Reference (for entities, activities, and other items the component provides), Styling, and Demo App (or Showcase App). Add them, and any sections specific to this component, after Configuration, and match sibling pages."

## Troubleshooting

{Optional: Provide basic troubleshooting info for configuration here if necessary. You should provide this info in a reference guide page or how-to for more specific use cases.}
[//]: # "Optional: Use a subsection for each common problem and its solution."

### {Problem}

{Describe the cause and the solution.}

## Read More

{Add links to related documents and blog posts. Contextualize necessary third-party links in the above sections, as they should not be put here.}
[//]: # "Optional: List supplementary links only. Don't repeat cross-references used earlier in the page."

* [{Link title}]({URL}) – {Explanation, if needed}
Loading