# Report Blocks

> Report Blocks is an Agent Skill for development published in the tsinghua-fib-lab/AgentSociety repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Composable HTML block patterns for agentsociety-analysis reports — KPI strips, figure cards, Mermaid, EDA tabs, optional interactive chart iframes. Use during Stage 5 produce when authoring report_zh.html / report_en.html.

- Skill name: `report-blocks`
- Category: [Development](https://www.openparable.com/skill/development/1)
- Source: https://github.com/tsinghua-fib-lab/AgentSociety/blob/HEAD/extension/skills/agentsociety-analysis/v1.0.0/support/report-blocks/SKILL.md
- Repository: tsinghua-fib-lab/AgentSociety (1,131 GitHub stars when collected)

## SKILL.md

# Report Blocks (bundled support)

Read `references/reports.md` at the agentsociety-analysis skill root first.

## Files

| File                                       | Purpose                  |
| ------------------------------------------ | ------------------------ |
| `../../references/reports.md`              | Blocks, embeds, workflow |
| `../../assets/report-shell.reference.html` | Working HTML/CSS/JS      |

## External inspiration absorbed

- **folio / datainpane** — block composition, KPI strips, offline HTML
- **report-creator** — Mermaid diagrams-as-code, metric groups
- **Evidence.dev** — value-box hierarchy (KPI → prose → charts)
- **Cursor canvas** — mandatory plot labeling (title, axes, source)

## Guardrails

Evidence-first, scientific tone, navy/slate shell. See `support/frontend-design/references/analysis-reports.md` for typography only.

---

Source: https://www.openparable.com/skill/development/report-blocks (OpenParable). Cite the canonical URL above.
