/engineering:reporting-and-export-engineeringfrom engineering
Guides building and reviewing report/dashboard/export engineering: metric catalogues, reconciliation, CSV/XLSX formula-injection safety, A4 PDF output, and report access controls per the Chwezi Reporting Standard.
Ships in engineering. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Acknowledgement: Shared by Peter Bamuhigire, techguypeter.com, +256 784 464178.
A report is a decision system: it states the question, uses trustworthy data, shows the evidence,
supports an action, exports faithfully and leaves an auditable record. A handsome report with a
wrong total is a defect. This skill is the engineering procedure for the Chwezi Reporting and
Dashboards Standard 1.0.0 (adopted 8 Nov 2026, owner Peter Bamuhigire, Chwezi Core Systems). The
standard travels with this skill as a local copy, so the engine works on its own:
doctrine and the full
rules and gates catalogue with every RPT-<AREA>-NNN rule. The
visual layer (type, colour, chart styling) is maintained in chwezi-design-engine; nothing here
requires it to run.
For the drawn layer of a poster, infographic or explanatory report, use the local illustration and cartoon drawing skill. Keep figures and chart geometry in the verified reporting layer.
excel-spreadsheets
(keep the safety rules here).saas-business-metrics;
return here to write each chosen metric's contract.saas-accounting-system or accounting-engine; this skill reconciles to
the ledger, it does not post.tenant-document-numbering; reports only show numbers as issued.observability-monitoring.| Input | Source | If absent |
|---|---|---|
| Decision the report supports, users and roles, output contract | Product owner, requirements | Stop; write the report contract first (RPT-PURPOSE-001) |
| Existing reports, metric code, permission map, export and print services | Repository search | Inspect before designing; never assume a greenfield |
| Metric definitions and their business owner | Finance or domain owner | Draft contracts marked draft; a headline cannot ship (RPT-GATE-02) |
| Ledger or source of truth to reconcile to | Accounting module, posting tables | Reconcile to detail only; mark ledger reconciliation NOT_ASSESSED |
| Production-scale dataset shape and baseline device | Ops, product profile | Design budgets; mark performance NOT_ASSESSED |
| Tenant model and server-side auth context | multi-tenant-saas-architecture | Stop; never take tenant or branch from the request alone |
Gate map. An applicable gate with NOT_ASSESSED evidence is open, and an open gate blocks release
whatever the score.
| Gate | Fails when | Engineering control | Also trips (Product Excellence) |
|---|---|---|---|
| RPT-GATE-01 Report does not reconcile | Headline, detail, ledger, PDF and export disagree | Reconciliation harness; one canonical dataset; export total check | PX-GATE-03 |
| RPT-GATE-02 Undefined metric | A headline or exported metric has no approved contract | Versioned catalogue; lint for measure logic in presentation | PX-GATE-09 |
| RPT-GATE-03 Ambiguous scope | Period, timezone, tenant or branch, currency or filters missing; non-comparable comparison | Context row from the API; page-one identity; server-built comparison windows | None (reporting-specific) |
| RPT-GATE-04 Export leak | A file, print, schedule or link exceeds the requester's scope | Row and field filters in query and export service; download-time re-check | PX-GATE-04, PX-GATE-05 |
| RPT-GATE-05 Unsafe spreadsheet | Formula trigger not neutralised; identifiers lose zeros or precision | Neutraliser, typed cells, injection fixture | None (reporting-specific) |
| RPT-GATE-06 Print failure | Screenshot PDF, no repeated headers, orphaned total, no page x of y, text below the floor | Dedicated templates; pagination rules; print acceptance cases | None (reporting-specific) |
| RPT-GATE-07 Ungrounded narrative | A stated figure or cause does not trace to a cited measure and filter; consequential text not approved | Claim-to-evidence table; approval status | PX-GATE-09 |
| RPT-GATE-08 Unknown shown as known | No data, failed reconciliation, missing source or restricted shown as zero, complete or live | Reporting state type; undismissable warning | PX-GATE-02, PX-GATE-10 |
What the Product Excellence gates named above mean, stated here so this skill stands alone: PX-GATE-02 false confirmation (anything shown as saved, paid, sent or live before the server confirms it, queued shown as confirmed, stale shown as live); PX-GATE-03 numbers do not reconcile (money, stock, tax or clinical values differ from the authoritative ledger, or the currency minor unit is wrong); PX-GATE-04 interface-only authorisation (a restricted action or record reachable by calling the API with a lower-role session); PX-GATE-05 sensitive data exposed (patient, payroll, credential or full account data visible without need, unmasked, captured or sent in analytics); PX-GATE-09 invented content (demo or fixture data in production, or a field or statement with no requirement behind it); PX-GATE-10 missing state (a canonical screen state absent without a declared reason); PX-GATE-12 unverified release (no independent verifier, or no human domain reviewer for a money or clinical change); PX-GATE-13 document numbering broken (numbers not contiguous per tenant and type, allocated at draft or on the client, or a numbered document deleted instead of voided). The release verdict uses the Product Excellence scorecard: PASS needs 85 or more, no open gate and no dimension below 2; a high score never buys back a gate. Reporting screens still carry every other Product Excellence gate through the screen standard, for example PX-GATE-06 accessibility failure (an applicable WCAG 2.2 AA failure, or a core task that cannot be finished with a screen reader or keyboard).
Owner rules that bind every report:
4 Nov 2026 on screen and in print; no raw keys, internal codes or ISO strings in
front of people (CSV machine columns may carry ISO 8601 with offset).=HYPERLINK(...) customer notes straight into CSV, or numbers as text. Fix: neutraliser
and typed cells (checklist).Partial or NoData state with the reason.| Category | Artifact | Format | Example |
|---|---|---|---|
| Correctness | Metric contracts and reconciliation report | YAML plus RECON report | metrics/sales/net_sales.yaml, evidence/reports/daily-close-recon.md |
| Security | Role x endpoint denial matrix for view, export, print, schedule, share | Test report | evidence/reports/export-denials.txt |
| Data safety | Spreadsheet injection and leading-zero fixture result | Test report plus opened-file notes | evidence/reports/export-injection.md |
| UX quality | Print acceptance pack, every page at 100% and greyscale | PDFs plus reviewer note | evidence/reports/print/daily-close/ |
| Performance | Budget record and traces on the baseline device | Trace files plus budget table | evidence/reports/perf-budget.md |
| Release evidence | RPT and PX gate table with MEASURED or NOT_ASSESSED per gate | Markdown checklist | evidence/reports/gate-table.md |
excel-spreadsheets, saas-business-metrics, ai-analytics,
python-data-analytics, multi-tenant-saas-architecture, tenant-document-numbering,
saas-accounting-system, observability-monitoring, frontend-architecture
(product-excellence engineering gates), professional-word-output (its report-print-pdf
reference for mPDF and browser print), document-spreadsheet-tooling-readiness.Default to read-only inspection and design. Edit report, export or template code only when the task authorises it. Run reconciliation and export tests against fixtures or a disposable copy, never against production; read-only production queries need explicit approval. Never place one tenant's figures, names or file paths in another tenant's output, log or error message.
Without the ledger, reconcile headline to detail and mark the ledger leg NOT_ASSESSED. Without a
renderer or spreadsheet program, deliver templates and fixtures as a plan and mark PRINT and
EXPORT NOT_ASSESSED. Without the baseline device, record budgets as targets, not results.
Without the metric owner, ship contracts as draft and keep the affected figures off release.
| Condition | Action | Failure avoided |
|---|---|---|
| Two surfaces show the same label with different values | Trace both to contracts; split labels or unify the measure | Owner distrust of every figure |
| A report spans a price, category or rate change | Use values valid on the transaction date | Last year's report changing |
| Mixed units in a quantity column | Total per unit or convert to value with the method stated | Meaningless sums |
| Output exceeds the queue threshold or is a multi-page PDF | Background job with record, progress and expiry | Timeouts and partial files |
| A schedule's owner loses a permission | Next run fails closed and notifies the owner | Data sent beyond current rights |
| The current period is incomplete | Mark it and compare like-for-like windows | False declines |
| Reconciliation fails | Undismissable warning with amount, cause and last good time | Hidden mismatch |
| A narrative is financial, clinical or regulatory | Human approval and visible status before release | Ungrounded advice |
Self-contained; prepared on 8 Nov 2026 from the Chwezi Reporting and Dashboards Standard 1.0.0
(Chwezi Core Systems' own standard, design bible Edition 1.0, November 2026) and engineering
practice. External facts (OWASP CSV Injection guidance read 8 Nov 2026; PDF/UA and PDF/A
profile dates checked where a source could be read, otherwise NOT_ASSESSED) are recorded in
docs/updates/2026-11-08-reporting-and-dashboards-standard.md; review by 8 Feb 2027.
references/currentness-register.md (opens in a new tab)references/document-publishing-standard/agent-contract-and-qa.md (opens in a new tab)references/document-publishing-standard/currentness-register.md (opens in a new tab)references/document-publishing-standard/families-and-blueprints.md (opens in a new tab)references/document-publishing-standard/mathematics-and-algorithms.md (opens in a new tab)references/document-publishing-standard/page-and-render-pipeline.md (opens in a new tab)references/document-publishing-standard/rules-and-gates.md (opens in a new tab)references/document-publishing-standard/standard.md (opens in a new tab)references/document-publishing-standard/worked-review-monthly-finance-pack.md (opens in a new tab)references/engineering-and-verification.md (opens in a new tab)references/export-safety-checklist.md (opens in a new tab)references/generation-records-and-export-jobs.md (opens in a new tab)references/infographics-standard/agent-workflow-and-qa.md (opens in a new tab)references/infographics-standard/archetypes-and-blueprints.md (opens in a new tab)references/infographics-standard/check_infographic.py (opens in a new tab)references/infographics-standard/currentness-register.md (opens in a new tab)references/infographics-standard/mathematics-and-algorithms.md (opens in a new tab)references/infographics-standard/production-and-export.md (opens in a new tab)references/infographics-standard/rules-and-gates.md (opens in a new tab)references/infographics-standard/standard.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
169 skills in this plugin
/accounting-engineUse when designing or implementing double-entry accounting policy and an embedded ledger engine for invoices, payments, stock, balanced postings, mapped accounts, idempotency, reversals, period locks, audit trails, and financial statements./accounting-finance-controllerUse when coordinating accounting and finance implementation reviews, doctrine routing, control evidence, remediation priorities, and release decisions across a software system./advanced-testing-strategyUse when designing or reviewing test strategy for production systems, APIs, mobile apps, SaaS platforms, ERP workflows, and AI-enabled systems. Covers unit, integration, contract, end-to-end, regression, release-gate, and risk-based testing decisions.npx claudepluginhub peterbamuhigire/chwezi-dev-engine --plugin engineeringOther plugins' skills for the same job