Normalize report formatting guidelines across Phase 1 workflows#14311
Normalize report formatting guidelines across Phase 1 workflows#14311
Conversation
- Added standardized "Report Formatting Guidelines" section to 12 workflows - Guidelines include: header levels (h3+), progressive disclosure (<details> tags), report structure pattern, and design principles - Updated workflows: daily-mcp-concurrency-analysis, daily-multi-device-docs-tester, daily-safe-output-optimizer, daily-secrets-analysis, daily-syntax-error-quality, daily-team-evolution-insights, daily-testify-uber-super-expert, copilot-pr-merged-report, copilot-pr-nlp-analysis, copilot-pr-prompt-analysis, copilot-session-insights, commit-changes-analyzer - Recompiled all 147 workflows successfully Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
🔍 PR Triage ResultsCategory: chore | Risk: low | Priority: 53/100 Scores Breakdown
📋 Recommended Action: batch_reviewThis workflow consistency improvement should be reviewed together with PRs #14302 and #14296 as part of the workflow configuration batch ( Batch Context: Review with other workflow improvements to maintain consistency and identify any conflicting changes. Triaged by PR Triage Agent on 2026-02-07
|
There was a problem hiding this comment.
Pull request overview
This PR standardizes report formatting instructions across Phase 1 daily/weekly reporting workflows by adding a consistent “Report Formatting Guidelines” section intended to enforce header hierarchy, progressive disclosure via <details>, and a consistent report structure.
Changes:
- Added a standardized “📝 Report Formatting Guidelines” block to 12 reporting workflows.
- Updated an existing formatting section in
daily-team-evolution-insightsto match the standardized template. - Replaced a brief “follow shared/reporting.md” reminder with the full inline guidelines in
daily-multi-device-docs-tester.
Reviewed changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/daily-testify-uber-super-expert.md | Adds standardized report formatting guidelines before issue generation instructions. |
| .github/workflows/daily-team-evolution-insights.md | Replaces prior formatting section with standardized guidelines. |
| .github/workflows/daily-syntax-error-quality.md | Adds standardized formatting guidelines before issue creation phase. |
| .github/workflows/daily-secrets-analysis.md | Adds standardized formatting guidelines before discussion report instructions. |
| .github/workflows/daily-safe-output-optimizer.md | Adds standardized formatting guidelines before output requirements. |
| .github/workflows/daily-multi-device-docs-tester.md | Replaces shared/reporting.md pointer with inline standardized guidelines. |
| .github/workflows/daily-mcp-concurrency-analysis.md | Adds standardized formatting guidelines before output requirements. |
| .github/workflows/copilot-session-insights.md | Adds standardized formatting guidelines before discussion creation phase. |
| .github/workflows/copilot-pr-prompt-analysis.md | Adds standardized formatting guidelines before discussion creation phase. |
| .github/workflows/copilot-pr-nlp-analysis.md | Adds standardized formatting guidelines before discussion creation phase. |
| .github/workflows/copilot-pr-merged-report.md | Adds standardized formatting guidelines before report generation instructions. |
| .github/workflows/commit-changes-analyzer.md | Adds standardized formatting guidelines before developer report section. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| **Use h3 (###) or lower for all headers in your report to maintain proper document hierarchy.** | ||
|
|
||
| The issue or discussion title serves as h1, so all content headers should start at h3: | ||
| - Use `###` for main sections (e.g., "### Executive Summary", "### Key Metrics") | ||
| - Use `####` for subsections (e.g., "#### Detailed Analysis", "#### Recommendations") |
There was a problem hiding this comment.
The new formatting guidelines require the discussion title to be the only h1 and forbid ## in the report body, but the provided discussion template still starts with # 🤖 ... and then uses ## Executive Summary, ## Key Metrics, etc. Align the template with the guideline by removing the body-level # title and changing all ## headings to ### (and deeper levels to ####).
| **Use h3 (###) or lower for all headers in your report to maintain proper document hierarchy.** | ||
|
|
||
| The issue or discussion title serves as h1, so all content headers should start at h3: | ||
| - Use `###` for main sections (e.g., "### Executive Summary", "### Key Metrics") | ||
| - Use `####` for subsections (e.g., "#### Detailed Analysis", "#### Recommendations") |
There was a problem hiding this comment.
This adds header-level guidelines (no #/## in the discussion body), but the discussion template that follows still uses an h1 (# 🤖 ...) and h2 sections (## Summary, etc.). Update the template to start at ### and use #### for subsections so it is consistent with the new guideline and shared/reporting.md.
| ### 1. Header Levels | ||
| **Use h3 (###) or lower for all headers in your report to maintain proper document hierarchy.** | ||
|
|
||
| The issue or discussion title serves as h1, so all content headers should start at h3: | ||
| - Use `###` for main sections (e.g., "### Executive Summary", "### Key Metrics") |
There was a problem hiding this comment.
The guidelines added here say the report body must not use #/##, but the content template below still begins with # 🤖 ... and uses ## Executive Summary, etc. Please adjust the template to comply (remove the body-level h1 and replace h2s with h3s / h4s).
| ### 1. Header Levels | ||
| **Use h3 (###) or lower for all headers in your report to maintain proper document hierarchy.** | ||
|
|
||
| The issue or discussion title serves as h1, so all content headers should start at h3: | ||
| - Use `###` for main sections (e.g., "### Executive Summary", "### Key Metrics") |
There was a problem hiding this comment.
The inserted guidelines forbid #/## headings in the report body, but the report template below still uses # 🤖 ... and multiple ## sections (Summary, Merged Pull Requests, etc.). This is inconsistent with both the new guidance and shared/reporting.md; update the template to use ###/#### headings only and rely on the issue/discussion title for h1.
| **Use h3 (###) or lower for all headers in your report to maintain proper document hierarchy.** | ||
|
|
||
| The issue or discussion title serves as h1, so all content headers should start at h3: | ||
| - Use `###` for main sections (e.g., "### Executive Summary", "### Key Metrics") | ||
| - Use `####` for subsections (e.g., "#### Detailed Analysis", "#### Recommendations") |
There was a problem hiding this comment.
The newly added formatting guidelines say the issue/discussion title is the only h1 and the report body should not use #/##, but the example issue template immediately below still starts with # Improve Test Quality: ... and uses multiple ## sections (e.g., "## Overview"). This is contradictory and will likely cause agents to follow the template rather than the guideline. Update the template headings to start at ### (and #### for subsections) and remove the body-level # title entirely (the issue title field already supplies the h1).
| **Use h3 (###) or lower for all headers in your report to maintain proper document hierarchy.** | ||
|
|
||
| The discussion title serves as h1, so all content headers should start at h3: | ||
| - Use `###` for main sections (e.g., "### Key Observations", "### Development Patterns") | ||
| - Use `####` for subsections (e.g., "#### Team Dynamics", "#### Innovation & Learning") | ||
| The issue or discussion title serves as h1, so all content headers should start at h3: | ||
| - Use `###` for main sections (e.g., "### Executive Summary", "### Key Metrics") | ||
| - Use `####` for subsections (e.g., "#### Detailed Analysis", "#### Recommendations") |
There was a problem hiding this comment.
This workflow now instructs that the discussion/issue title serves as h1 and the report body should not use #/##, but the discussion body template later in the file still begins with a # 🌱 Daily Team Evolution Insights - [DATE] heading. Remove that body-level h1 and start the template at ### (or plain text) so it complies with the guideline (and with shared/reporting.md).
| **Use h3 (###) or lower for all headers in your report to maintain proper document hierarchy.** | ||
|
|
||
| The issue or discussion title serves as h1, so all content headers should start at h3: | ||
| - Use `###` for main sections (e.g., "### Executive Summary", "### Key Metrics") | ||
| - Use `####` for subsections (e.g., "#### Detailed Analysis", "#### Recommendations") |
There was a problem hiding this comment.
The added guidelines prohibit #/## in the report body, but the discussion template below still uses an h1 (# 🔐 Daily Secrets Analysis Report) and multiple h2s (## 📊 Executive Summary, etc.). This undermines the normalization goal and conflicts with shared/reporting.md. Please update the template headings to use ###/#### only (and rely on the discussion title for the h1).
Many agentic workflows generate reports without structured formatting guidelines, creating inconsistent UX and readability issues. Phase 1 addresses 19 daily/weekly reporting workflows.
Changes
Added comprehensive formatting guidelines to 12 workflows:
daily-mcp-concurrency-analysis,daily-multi-device-docs-tester,daily-safe-output-optimizer,daily-secrets-analysis,daily-syntax-error-quality,daily-team-evolution-insights,daily-testify-uber-super-expertcopilot-pr-merged-report,copilot-pr-nlp-analysis,copilot-pr-prompt-analysis,copilot-session-insights,commit-changes-analyzer7 workflows already compliant (no changes needed):
daily-cli-performance,daily-code-metrics,daily-copilot-token-report,daily-observability-report,daily-performance-summary,daily-team-status,weekly-issue-summaryGuidelines Template
Each workflow now includes standardized section before output requirements:
Impact
Original prompt
This section details on the original issue you should resolve
<issue_title>[workflow-style] Normalize report formatting across daily/weekly reporting workflows</issue_title>
<issue_description>### Executive Summary
Audit Date: 2026-02-07
Workflows Reviewed: 206 total workflows
Compliance Status:
Problem Statement
Many agentic workflows generate reports (via
create-issue,create-discussion,add-comment) but lack consistent markdown formatting guidelines. This creates:Best Practice Examples
Workflows like
daily-repo-chronicle,audit-workflows,daily-firewall-report, anddaily-issues-reportdemonstrate excellent formatting with:✅ Proper header hierarchy - Use h3 (###) or lower in report body
✅ Progressive disclosure - Long content wrapped in
<details>tags✅ Clear structure - Summary visible, details collapsible
✅ Design principles - Following Airbnb-inspired UX patterns
Recommended Standards
All reporting workflows should include these guidelines in their prompts:
1. Header Levels
Add instruction: "Use h3 (###) or lower for all headers in your report to maintain proper document hierarchy."
The discussion/issue title serves as h1, so content headers must start at h3.
2. Progressive Disclosure
Add instruction: "Wrap long sections in
<details><summary><b>Section Name</b></summary>tags to improve readability and reduce scrolling."Example structure:
3. Report Structure
Suggest a consistent pattern:
<details>tags): Per-item breakdowns, logs, verbose dataDesign Principles (Airbnb-Inspired)
Reports should create delightful user experiences by:
High-Priority Workflows
The following workflows generate frequent reports and should be updated first:
Daily Reporting Workflows (13 workflows):
Weekly Reporting Workflows (1 workflow):
Other High-Impact Workflows (5 workflows):
Implementation Plan
Phase 1: Update daily/weekly reporting workflows (19 workflows)
Phase 2: Update other high-frequency workflows (25 workflows)
Phase 3: Update remaining reporting workflows as needed (50+ workflows)
Reference Workflows
Use these as examples when updating workflows:
.github/workflows/daily-repo-chronicle.md- Excellent progressive disclosure.github/workflows/audit-workflows.md- Clean structure with collapsible details.github/workflows/daily-firewall-report.md- Comprehensive formatting sectionSuccess Criteria
A workflow is compliant when it includes:
<details>tags for long contentNext Steps
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.