Write report

From SignalPilot-Labs/SignalPilot · View interactive version

Write report is an AI agent skill from the GitHub repository SignalPilot-Labs/SignalPilot. Generates an HTML report summarizing dbt project work: decisions, SQL, queries, verifier results, and visual charts. Only load when explicitly requested.

How to use this skill

Skill file

Write Report

Generate a single self-contained HTML file at <project_dir>/report.html that

gives the user complete confidence in what was built and why.

When to Load

Load this skill only after every applicable verifier check is PASS and every inapplicable check is N/A because unresolved FAIL or NEEDS results require more work.

This is the final step - it documents the work, it does not change any models.

Report Structure

Write the HTML file with these sections in order:

1. Executive Summary (top of page)

A colored status banner showing:

2. Decision Log

A table showing every major decision the agent made:

| # | Decision | Reasoning | Evidence |

|---|----------|-----------|----------|

Include decisions about:

Each row must cite the specific tool output, query result, or skill rule

that informed the decision. No unsupported claims.

3. SQL Models Written

For each model created or edited:

4. Queries Executed

A collapsible section listing every query_database call the agent made:

Group by purpose: "Schema Discovery", "Data Profiling", "Verification".

5. Verifier Reports

Two subsections - Structure Verifier and Value Verifier:

6. Data Visualizations

Embed inline SVG or HTML/CSS charts (no external dependencies):

Row Count Waterfall: horizontal bar chart showing source rows → model

rows, with JOIN multipliers/reductions annotated.

Column Coverage: a grid showing YML columns vs model SELECT columns

(green = matched, red = missing, gray = extra).

NULL Heatmap: for each model column, show the % NULL as a colored cell

(green = 0%, yellow = partial, red = 100%).

Use inline CSS and simple HTML elements (<div> with background-color,

width as percentage). Do NOT use JavaScript libraries - the report must

render in any browser with zero dependencies.

7. Reproducibility

List the exact commands to rebuild from scratch:

dbt deps
dbt run --select <model1> <model2>
dbt test

HTML Template Rules

Rules

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.