원클릭으로
report-template
Standardized report structure, recommendations, and reportlab PLATYPUS patterns for all Biotrackr health reports
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Standardized report structure, recommendations, and reportlab PLATYPUS patterns for all Biotrackr health reports
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Blazor component architecture, Razor component patterns, Radzen UI library, and Blazor-specific UX patterns. Use when: building Blazor components, structuring Razor component hierarchy, using Radzen components, implementing Blazor forms, managing component state, Blazor rendering modes, Blazor layout design.
Ensure .NET/C# code meets best practices for the solution/project.
Quality gate review with structured findings and verdict. Use when: reviewing a completed implementation phase, checking spec compliance, convention adherence, test coverage, and issuing APPROVE or REQUEST_CHANGES verdicts.
Generate phased implementation blueprint with parallel research subagents. Use when: a clarified specification is ready for architecture planning, creating task tables, scoring complexity, and defining implementation phases.
Execute one implementation phase with progress tracking and verification. Use when: implementing tasks from an SDD plan, logging discoveries, updating task tables, and running build/test verification per phase.
Encode learnings from completed SDD cycles into the agent harness. Use when: a review has been approved and learnings need to be extracted, classified, and encoded into instruction files, copilot-instructions, or AGENTS.md.
| name | report-template |
| description | Standardized report structure, recommendations, and reportlab PLATYPUS patterns for all Biotrackr health reports |
All Biotrackr health reports must follow this standardized structure and use these reportlab patterns. Each report type (activity, sleep, food, vitals) adapts the template to its domain while maintaining consistent formatting, page flow, and required sections.
from reportlab.lib.pagesizes import A4
from reportlab.lib import colors
from reportlab.lib.styles import getSampleStyleSheet, ParagraphStyle
from reportlab.lib.units import cm
from reportlab.platypus import (
SimpleDocTemplate, Paragraph, Spacer, Table, TableStyle,
Image as RLImage, PageBreak, HRFlowable
)
from reportlab.lib.enums import TA_CENTER, TA_LEFT, TA_RIGHT
/tmp/reports/report.pdfSimpleDocTemplate with a story list of flowablesstory.append(RLImage("chart_path.png", width=16*cm, height=8*cm))
Spacer(1, 0.3*cm) between charts and other contentos.path.exists() before embeddingonPage footer callback (see below)Use the onPage callback to render a fixed footer on every page:
DISCLAIMER = (
"This report is generated from personal health data and is not medical advice. "
"Consult a healthcare provider for medical guidance."
)
def add_disclaimer_footer(canvas, doc):
canvas.saveState()
canvas.setFont("Helvetica", 7)
canvas.setFillColor(colors.grey)
canvas.drawCentredString(A4[0] / 2, 1.2 * cm, DISCLAIMER)
canvas.restoreState()
doc.build(story, onFirstPage=add_disclaimer_footer, onLaterPages=add_disclaimer_footer)
The recommendations section must follow this structure:
Generate 4-6 recommendations across these categories (pick the most relevant):
| Category | Icon | Example |
|---|---|---|
| Consistency | 🎯 | "Maintain your 22:30–23:15 bedtime window for optimal sleep quality" |
| Improvement | 📈 | "Consider a short lunchtime walk on lower-step days to hit the 10,000 step goal" |
| Strength | 💪 | "Your resting heart rate trended down 5 bpm — continue your current exercise routine" |
| Awareness | 👁️ | "Friday showed the lowest sleep efficiency (91.4%) — monitor for patterns" |
| Goal tracking | ✅ | "You met your step goal on 4/7 days — aim for 5/7 next week" |
| Recovery | 🔄 | "Your deep sleep peaked mid-week — consider lighter evening activities on weekends" |
After the recommendations list, include this prominent warning box:
# Render as a colored table cell or bordered paragraph
AI_RECOMMENDATION_DISCLAIMER = (
"⚠️ AI-Generated Recommendations: These suggestions are generated by an AI system "
"based on your personal health and fitness data. They are provided for informational "
"purposes only and do not constitute medical advice. Always consult a qualified "
"healthcare professional before making changes to your health, fitness, or nutrition "
"routine. Individual health needs vary and these recommendations may not be "
"appropriate for your specific situation."
)
Style the disclaimer as:
Observations are bullet-pointed findings from the data analysis:
All tables must use this consistent styling:
/tmp/reports/report.pdfsleep_duration_chart.png, steps_chart.png)