| name | reporting-workflow |
| description | End-to-end workflow for generating reports from data, validating outputs, running report-focused tests, and iterating on HTML/interactive reporting artifacts. |
| version | 1.0.0 |
| category | development |
| type | skill |
| trigger | manual |
| auto_execute | false |
| capabilities | ["report_generation","report_validation","html_verification","regression_testing","artifact_iteration"] |
| tools | ["Read","Write","Bash","Grep"] |
| related_skills | ["html-report-verify","engineering-report-generator"] |
| requires | [] |
| tags | ["reporting","html","validation","testing","workflow"] |
Reporting Workflow
When to Use
Use this skill when a task follows the common pattern:
- inspect the input data/model/output expectations
- run a report generator
- open or validate the generated artifact
- run targeted tests
- refine the report if structure, visuals, or data mappings are wrong
Typical cases:
- benchmark reports
- engineering summary reports
- interactive HTML dashboards
- validation reports with plots/tables
Core Workflow
1. Inspect Inputs and Existing Patterns
Read the generator, input schema, and one known-good output first.
rg -n "report|dashboard|html" examples/ tests/ scripts/
Check for:
- required inputs and file locations
- expected output paths
- linked assets (plots, CSS, JS, images)
- existing tests or snapshots
2. Generate the Report
Run the narrowest generator command possible.
uv run --no-project python path/to/generator.py
bash path/to/generate-report.sh
Capture:
- output file path
- warnings/errors
- whether the file was regenerated or unchanged
3. Verify the Artifact
For HTML outputs, use structural + visual verification.
Preferred checks:
- file exists and is non-empty
- expected headings/sections are present
- expected charts/tables rendered
- no obvious console/JS failures
If the output is HTML, pair with:
4. Run Report-Focused Tests
Use the smallest test slice that covers the report workflow.
uv run pytest tests/reporting/ -q
uv run pytest tests/path/test_report_x.py::test_generates_expected_sections -q
If no report test exists yet:
- add a focused regression test for the bug or missing section
- prefer structural assertions over brittle full-file diffs unless snapshots are already standard