Skip to content

Commit 0b77d7b

Browse files
committed
Nest formatting under reporting
1 parent 8828ac8 commit 0b77d7b

2 files changed

Lines changed: 41 additions & 33 deletions

File tree

workflows/shared/formatting.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
# Shared content formatting fragment — imported by other fragments
3+
---
4+
5+
## Content Structure
6+
7+
Structure your output with an overview followed by detailed content:
8+
9+
1. **Content Overview**: Start with 1-2 paragraphs that summarize the key findings, highlights, or main points of your report. This should give readers a quick understanding of what the report contains without needing to expand the details.
10+
11+
2. **Detailed Content**: Place the rest of your report inside HTML `<details>` and `<summary>` tags to allow readers to expand and view the full information. **IMPORTANT**: Always wrap the summary text in `<b>` tags to make it bold.
12+
13+
**Example format:**
14+
15+
`````markdown
16+
Brief overview paragraph 1 introducing the report and its main findings.
17+
18+
Optional overview paragraph 2 with additional context or highlights.
19+
20+
<details>
21+
<summary><b>Full Report Details</b></summary>
22+
23+
## Detailed Analysis
24+
25+
Full report content with all sections, tables, and detailed information goes here.
26+
27+
### Section 1
28+
[Content]
29+
30+
### Section 2
31+
[Content]
32+
33+
</details>
34+
`````
35+
36+
## Footer Attribution
37+
38+
**Do NOT add footer lines** like `> AI generated by...` to your comment. The system automatically appends attribution after your content to prevent duplicates.

workflows/shared/reporting.md

Lines changed: 3 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,11 @@
11
---
2-
# No frontmatter configuration needed - this is a pure instructions file
2+
imports:
3+
- shared/formatting.md
34
---
45

56
## Report Formatting
67

7-
Structure your report with an overview followed by detailed content:
8-
9-
1. **Content Overview**: Start with 1-2 paragraphs that summarize the key findings, highlights, or main points of your report. This should give readers a quick understanding of what the report contains without needing to expand the details.
10-
11-
2. **Detailed Content**: Place the rest of your report inside HTML `<details>` and `<summary>` tags to allow readers to expand and view the full information. **IMPORTANT**: Always wrap the summary text in `<b>` tags to make it bold.
12-
13-
**Example format:**
14-
15-
`````markdown
16-
Brief overview paragraph 1 introducing the report and its main findings.
17-
18-
Optional overview paragraph 2 with additional context or highlights.
19-
20-
<details>
21-
<summary><b>Full Report Details</b></summary>
22-
23-
## Detailed Analysis
24-
25-
Full report content with all sections, tables, and detailed information goes here.
26-
27-
### Section 1
28-
[Content]
29-
30-
### Section 2
31-
[Content]
32-
33-
</details>
34-
`````
8+
Follow the content structure and formatting guidelines from the imported formatting fragment above.
359

3610
## Reporting Workflow Run Information
3711

@@ -74,7 +48,3 @@ When your analysis is based on information mined from one or more workflow runs,
7448
- Choose the most relevant or representative runs (e.g., failed runs, high-cost runs, or runs with significant findings)
7549
- Always use the actual URL from the workflow run data (specifically, use the `url` field from `RunData` or the `RunURL` field from `ErrorSummary`)
7650
- If analyzing more than 3 runs, select the most important ones for references
77-
78-
## Footer Attribution
79-
80-
**Do NOT add footer lines** like `> AI generated by...` to your comment. The system automatically appends attribution after your content to prevent duplicates.

0 commit comments

Comments
 (0)