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
Copy file name to clipboardExpand all lines: .github/agents/issue-triage.agent.md
+55-35Lines changed: 55 additions & 35 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,16 @@
1
1
---
2
+
description: Analyzes GitHub issues for ASP.NET Core documentation, determines validity and scope, and provides structured action plans for documentation changes.
3
+
tools:
4
+
- githubread
5
+
- lexical-code-search
6
+
- semantic-code-search
2
7
ai-usage: ai-assisted
3
8
author: tdykstra
4
9
ms.author: wpickett
5
-
ms.date: 11/13/2025
10
+
ms.date: 12/17/2025
6
11
---
7
12
8
-
# GitHub issue analysis and action plan prompt for ASP.NET Core documentation
13
+
# GitHub issue preliminary analysis and action plan prompt for ASP.NET Core documentation
9
14
10
15
## Goal
11
16
Analyze the GitHub issue and provide a **structured report** determining:
@@ -26,7 +31,7 @@ Collect and review:
26
31
* The **published documentation** (via the provided URL).
27
32
* The **source file(s)** in the repository.
28
33
* Any **linked issues, PRs, or external references**.
29
-
***Environment details**: .NET version, tooling versions (VS, VS Code, CLI, EF Core, etc.).
34
+
***Environment details**: .NET version, tooling versions (VS, VS Code, CLI, EF Core, etc.).
30
35
***Code samples or error messages** mentioned in the issue.
31
36
32
37
### 1.5 Source File Analysis
@@ -37,7 +42,7 @@ When examining source files:
37
42
***Quote current content** from specific lines before proposing changes.
38
43
***Use permalinks with commit SHA** when referencing specific versions.
39
44
40
-
Example format for file references:
45
+
Example format for file references:
41
46
* Single line: `https://github.com/owner/repo/blob/main/file.md#L123`.
42
47
* Line range: `https://github.com/owner/repo/blob/main/file.md#L123-L145`.
***In scope**: Related to ASP.NET Core documentation (not product bugs).
48
53
***Accurate**: The reported problem genuinely exists.
49
54
***Clear**: Sufficient information to take action.
50
-
***Current**: Applies to supported .NET versions.
55
+
***Current**: Applies to supported .NET versions.
51
56
52
57
### 3. Translation Requirements
53
-
If any content is not in English:
58
+
If any content is not in English:
54
59
* Include the original text in a quote block.
55
60
* Provide complete English translation.
56
61
* Label clearly as "Original" and "Translation".
@@ -64,13 +69,19 @@ If any content is not in English:
64
69
65
70
### Report Structure
66
71
67
-
#### Header
72
+
#### Header (REQUIRED - Always include this community-facing notice)
68
73
```markdown
69
-
## AI Analysis Report
70
-
**Analyzed by:** @<github-username>
74
+
## 🤖 AI Triage Summary
75
+
76
+
> **📌 Note to community:** This is an automated preliminary analysis to help our documentation team quickly review, determine scope and prioritize this issue. This report is **not a resolution or answer** to your question—it's an internal triage tool that identifies potentially relevant docs, code samples, and versions to look into. A team member will review this issue and respond. Thank you for your contribution!
77
+
78
+
---
79
+
80
+
**This preliminary assessment report was run by:** @<github-username>
71
81
**Date:** <YYYY-MM-DD>
72
-
**Issue:**#<issue-number>
82
+
**Issue:** <issue-number>
73
83
**Model:** GitHub Copilot
84
+
74
85
---
75
86
```
76
87
@@ -85,15 +96,19 @@ If any content is not in English:
Copy file name to clipboardExpand all lines: aspnetcore/blazor/components/index.md
+44Lines changed: 44 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1624,6 +1624,50 @@ Rendered output of the preceding code:
1624
1624
<p>Pet: Nutty Rex</p>
1625
1625
```
1626
1626
1627
+
When the Razor delegate must return more than one HTML element, wrap the result in a `<text>` tag for an [explicit delimited transition](xref:mvc/views/razor#explicit-delimited-transition):
1628
+
1629
+
```razor
1630
+
@RenderTwoElements()
1631
+
1632
+
<h2>ReturnIf</h2>
1633
+
@ReturnIf()
1634
+
1635
+
<h2>ReturnForeach</h2>
1636
+
@ReturnForeach()
1637
+
1638
+
@code {
1639
+
private bool showTrueStatement = true;
1640
+
1641
+
private RenderFragment RenderTwoElements() =>
1642
+
@<text>
1643
+
<h2>Render Two Elements</h2>
1644
+
@ChildFragment
1645
+
</text>;
1646
+
1647
+
private RenderFragment ChildFragment => @<p>This is a paragraph.</p>;
1648
+
1649
+
private RenderFragment ReturnIf() =>
1650
+
@<text>
1651
+
@if (showTrueStatement)
1652
+
{
1653
+
<p>This is true!</p>
1654
+
}
1655
+
else
1656
+
{
1657
+
<p>This is false!</p>
1658
+
}
1659
+
</text>;
1660
+
1661
+
private RenderFragment ReturnForeach() =>
1662
+
@<text>
1663
+
@foreach (var item in new[] { 1, 2, 3 })
1664
+
{
1665
+
<p>Item: @item</p>
1666
+
}
1667
+
</text>;
1668
+
}
1669
+
```
1670
+
1627
1671
## Static assets
1628
1672
1629
1673
Blazor follows the convention of ASP.NET Core apps for static assets. Static assets are located in the project's [`web root` (`wwwroot`) folder](xref:fundamentals/index#web-root) or folders under the `wwwroot` folder.
0 commit comments