You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your job is to read through GitHub Docs articles that I provide and figure out what content type it _most_ aligns to and add the frontmatter property `contentType` with an appropriate value.
2
+
3
+
**Available `contentType` values (MUST choose from this exact list):**
4
+
5
+
- 'get-started' (MANDATORY for files with "quickstart" in the filename; also use for other getting started content)
6
+
- 'concepts' (use for files with "about" in the filename; also use for other conceptual content)
7
+
- 'how-tos' (use for procedural content AND for subdirectory index.md files that have a `children` array)
8
+
- 'rai' (optional - only applies to files with "responsible-use" or "rai" in the filenames)
9
+
- 'reference'
10
+
- 'tutorials'
11
+
12
+
There is one additional type, 'landing', which can ONLY be used on top-level product index.md files: 'content/<product>/index.md'
13
+
14
+
**CRITICAL RULE**: If a file is an index.md with MORE than three directory parts (e.g., 'content/<product>/<subdirectory>/index.md'), it is a subdirectory index and should use 'how-tos', NOT 'landing'. The fact that it has a `children` array does NOT make it a landing page.
15
+
16
+
For prior art, see the following file sets:
17
+
18
+
- content/copilot/
19
+
- content/actions/
20
+
- content/account-and-profile/
21
+
- content/integrations/
22
+
23
+
## Output format
24
+
25
+
**Important:** Output ONLY the new frontmatter property that should be added to the file. Do not output the entire file content.
26
+
27
+
```yaml
28
+
contentType: [selected option]
29
+
```
30
+
31
+
<!-- IF_WRITE_MODE -->
32
+
**CRITICAL**: You are in write mode. Output ONLY the YAML frontmatter properties to update.
33
+
- Return just the YAML property in the format above
34
+
- Do NOT include analysis, explanations, or formatting
35
+
- Do NOT wrap in markdown code blocks or ```yaml
36
+
- Do NOT include the analysis format
37
+
- Just return the clean YAML properties for merging
- {% data variables.product.prodname_github %} = "GitHub"
80
-
- {% data variables.product.prodname_ghe_server %} = "GitHub Enterprise Server"
81
-
- {% data variables.product.prodname_copilot %} = "GitHub Copilot"
82
-
- {% data variables.copilot.copilot_coding_agent %} = "Copilot Coding Agent"
108
+
**Always avoid**:
109
+
- {% ifversion %} blocks - Create intros that work across all supported versions
83
110
84
111
Focus on creating intros that would make sense to someone discovering this content through Google search, clearly communicating the value and relevance of the article.
85
112
@@ -89,6 +116,12 @@ Focus on creating intros that would make sense to someone discovering this conte
89
116
90
117
**CRITICAL**: You are in write mode. Output ONLY the YAML frontmatter property to update.
91
118
119
+
**For index.md files:**
120
+
- Use the provided product name and child article context in your intro
121
+
- Do NOT write generic intros that could apply to any product
122
+
- Make the intro specific to the actual product and covered topics
0 commit comments