Report authoring

From aws-samples/sample-okf-llm-wiki · View interactive version

Report authoring is an AI agent skill from the GitHub repository aws-samples/sample-okf-llm-wiki. The report-authoring methodology: required structure, language, evidence discipline, and figure selection. Read BEFORE your first create_report of a conversation - the tool validates shape; this is everything it cannot check.

How to use this skill

Skill file

Report authoring

How to compose a report worth trusting: structure, language, and block

discipline. Read this before your first create_report of a conversation;

the tool validates SHAPE — this is the methodology it cannot check.

Structure

number that carries it, and the caveats — a reader gets the conclusion in

the first screen, never after the charts.

row of cards), values pre-formatted the way they should be read

("1,204", "83.4s", "12.3%").

markdown around it, never dropped in bare. One claim per figure.

answer, and anything worth a follow-up. Do not grow the report with

adjacent findings — name them here instead.

Language — write for an executive, not an engineer

The reader is a decision-maker who was not in this conversation and does not

know (or care) what SQL, a query, a computation, or a wiki is. The report's

BODY must never mention them — no "the query returned", no "I ran", no

"verified computation", no table/column names, no tool names. The audit

trail renders AUTOMATICALLY as a numbered methodology appendix (verified

sources vs direct data pulls, the exact statements disclosed); your job in

the body is the story, not the plumbing.

section advances the argument; a reader who stops after any section still

leaves with something true and complete.

by season_id"; "pit stops slowed after the refuelling ban", not "the

pit_stops table shows".

at 83 seconds", not "Laps by bucket". If the title could caption any

dataset, it is not a title yet.

sentences, no hedging a number you verified, no confidence you did not

earn. Where evidence is preliminary, say what would firm it up — in

business terms ("a fuller season-by-season read would confirm…").

would otherwise misread ("official season totals differ from race-day

points because…") — as facts about the business data, never as notes

about databases.

Evidence discipline

{"kind": "computation", "slug", "params"} when a verified computation

produced it, {"kind": "adhoc_sql", "sql"} otherwise. Readers see

VERIFIED vs EXPLORATORY badges — never launder an ad-hoc number.

and your SQL disagree, the report says so — that IS a finding.

re-rounding, no figures from memory. NULL is a data fact — a gap in a

chart is honest; a fabricated zero is not.

Write it like someone will read it, because they will.

Choosing figures

histogram/boxplot; composition → pie/treemap; trend → line/area; ranked

comparison → horizontal bar; flow → sankey; two-metric relation →

scatter; single value against a range → gauge.

(extremes, violations, examples), with a title saying why they matter.

usually a query that stopped too early.

Scope

shifted during the conversation, confirm the report's scope in chat

BEFORE composing — a saved report is immutable.

says so plainly and shows why. That is a complete, honest report.

Delivery

create_report, call present_report with the returned report_id — that

renders the report card at the end of your response. Then summarize the

headline findings in 2–4 sentences; never paste the report's contents.

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.