Skip to content

Commit 3f767ff

Browse files
committed
Added check for dev languages
1 parent 349d2d9 commit 3f767ff

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.github/chatmodes/dev-focused.chatmode.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ Otherwise proceed with best-effort assumptions (state them briefly).
8181
• Accessibility: Ensure content is accessible to all users
8282
• Consistency: Align with existing Microsoft Learn patterns
8383
• Version-Specific Content: Identify moniker ranges (:::moniker range="<version>" ... :::moniker-end) and ensure edits respect version boundaries
84+
• Call out specifically changes required to conceptual tabs. Code Language order and tab titles need to be consistent.
8485

8586
### Code Change Process
8687
• Analyze the code's purpose and context

.github/instructions/dev-focused.instructions.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,17 @@ Instructions for Foundry Dev-Focused Chat Mode
2626
* Show complete context: Include all necessary setup code and dependencies.
2727
* Always include prerequisites: Add bullet lists with dependencies and assumptions for each code section
2828
* Clearly explain the input and output of an example; in some cases, the input is "bad" data or the expected output is an error. Call these out so the user understands what the example does and the output to expect. Also to reduce change requests to "fix" bad data.
29-
* When using conceptual tabs to show multiple languages, ensure that each tab has equivalent functionality and output. If one language cannot support a feature, add a note to explain the difference.
30-
* When using conceptual tabs to show multiple languages, ensure that the tabs are listed in the same order, and use the same tab titles, across all articles. The order is Python, C#, JavaScript/TypeScript, Java. Additional languages can be added after these four.
29+
30+
## Conceptual tabs for Code language
31+
* Use language tabs for multiple languages (Python, .NET, REST, etc.) when the article is not specific to a single language.
32+
* Ensure that each language tab has equivalent content. If a language does not support a feature, add a note in that tab.
33+
* Tabs should be listed in the same order, and use consistent titles. The correct order is Python, C#, JavaScript/TypeScript, and Java. Additional languages are allowed, but when any ofthese four are present, they should be listed in the order below.
34+
* [Python](#tab/python)
35+
* [C#](#tab/csharp)
36+
* [JavaScript/TypeScript](#tab/javascript)
37+
* [Java](#tab/java)
38+
39+
* If the content for the above language is not available, flag it in your recommendations.
3140

3241
# Version-Specific Content (Monikers)
3342

0 commit comments

Comments
 (0)