-
Notifications
You must be signed in to change notification settings - Fork 277
Description
Overview
Multiple reporting workflows lack proper markdown formatting guidelines. This creates inconsistent report formatting across the repository.
Affected Workflows
🔴 Non-Compliant (No formatting guidelines)
These workflows create reports but have no formatting instructions:
- smoke-claude.md - Creates test result issues
- smoke-codex.md - Creates test result issues
- smoke-copilot.md - Creates test result issues
- poem-bot.md - Creates discussion posts
Recommendation: These workflows should import shared/reporting.md:
imports:
- shared/reporting.md⚠️ Partial Compliance (Missing progressive disclosure)
These workflows mention h3 headers but don't explain <details> tags (showing top 10):
- agent-performance-analyzer.md - Creates performance analysis discussions
- auto-triage-issues.md - Creates triage reports
- breaking-change-checker.md - Creates breaking change issues
- ci-doctor.md - Creates CI health reports
- cli-consistency-checker.md - Creates consistency reports
- cli-version-checker.md - Creates version check issues
- copilot-cli-deep-research.md - Creates research discussions
- craft.md - Creates workflow generation summaries
- duplicate-code-detector.md - Creates code quality issues
- docs-noob-tester.md - Creates documentation test reports
... and 14 more (see analysis in comments)
Recommendation: Add a "Formatting Guidelines" section explaining progressive disclosure.
Required Formatting Standards
All reporting workflows should follow these standards from shared/reporting.md:
1. Header Levels
Rule: Use h3 (###) or lower for all headers in reports to maintain proper document hierarchy.
Rationale: The issue/discussion title is already h1, and system UI may add h2 elements.
2. Progressive Disclosure
Rule: Use <details><summary><b>Section Name</b></summary> tags for long content.
Example:
### Summary
[2-3 paragraphs with key findings - always visible]
<details>
<summary><b>View Full Analysis</b></summary>
[Detailed analysis, long lists, raw data]
</details>When to use:
- Lists with 10+ items
- Detailed technical breakdowns
- Per-file or per-author statistics
- Historical data or trends
- Raw logs or test output
3. Report Structure
Follow this pattern (inspired by Airbnb's design principles):
- Brief summary (2-3 paragraphs) - always visible
- Key metrics/highlights - always visible
- Detailed analysis - in
<details>tags - Recommendations - always visible
Implementation Options
Option 1: Import Shared Guidelines (Recommended)
Add to workflow frontmatter:
imports:
- shared/reporting.mdAdvantages:
- Consistent standards across all workflows
- Single source of truth
- Automatic updates when standards evolve
Option 2: Inline Guidelines
Add a "Report Formatting" section to the workflow with:
- Header level instructions (h3 or lower)
- Progressive disclosure examples
- Report structure template
Use when: Workflow has unique reporting needs
Benefits of Standardization
User Experience:
- ✅ Easier to scan reports for important information
- ✅ Reduced scrolling and cognitive load
- ✅ Consistent experience across all workflows
- ✅ Better mobile readability
Technical Benefits:
- ✅ Easier to maintain workflows
- ✅ Clearer expectations for AI agents
- ✅ Better integration with GitHub UI
- ✅ Improved accessibility
Design Principles (Airbnb-Inspired)
Trust Through Clarity: Important information visible upfront
Exceeding Expectations: Add helpful context and trends
Creating Delight: Use progressive disclosure to reduce overwhelm
Consistency: Same patterns across all reports
Next Steps
Phase 1: Fix non-compliant workflows (4 workflows)
- Add
shared/reporting.mdimport - Test report formatting
Phase 2: Improve partial compliance (24 workflows)
- Add progressive disclosure guidelines
- Update report templates
- Show before/after examples
Phase 3: Monitor compliance
- Add to workflow creation checklist
- Update documentation
- Create linting rules (future)
Reference Examples
Excellent formatting:
daily-repo-chronicle.md- Newspaper style with progressive disclosureaudit-workflows.md- Comprehensive audit with collapsed detailsstatic-analysis-report.md- Security findings with detailed views
Related Issues
- #aw_multi_device_001 - Normalize formatting for daily-multi-device-docs-tester
- #aw_team_evolution_002 - Add progressive disclosure to daily-team-evolution-insights
Success Criteria
A workflow has proper formatting guidelines when:
- ✅ It imports
shared/reporting.md, OR - ✅ It includes inline instructions for h3 headers AND progressive disclosure
- ✅ Report template shows example structure
- ✅ Guidelines explain when to use
<details>tags
AI generated by Workflow Normalizer
- expires on Jan 27, 2026, 12:26 PM UTC