Skip to content
OpenAgentSkill
Browsing is open · Catalog captured 2026-11-21 · Automatic updates and account services are paused.
Design & UI

transilience-report-style

Threat Intelligence Report Design System — ReportLab-based PDF generation for A4 reports with Transilience branding, typography, and layout standards.

transilienceai · AI review on file

Installation

Read the source and dependencies before running a command. Copying does not install or execute anything.

npx skills add transilienceai/communitytools --skill transilience-report-style

About this skill


name: transilience-report-style description: Threat Intelligence Report Design System — ReportLab-based PDF generation for A4 reports with Transilience branding, typography, and layout standards.

Transilience AI — Threat Intelligence Report Design System

Version: 5.0 — Light theme (modern, minimal, professional)
Format: PDF (A4), ReportLab
Last Updated: July 7, 2026


0. Theme (v5.0)

The report now renders a light theme by default (white page, dark ink, brand accents). Both palettes live in the THEME dict in generate_report.py; select with --theme light|dark (or engagement.theme). Precedence: --theme > engagement.theme > light; an unknown value falls back to light (never errors). The pentest-engagement finalize gate passes no --theme, so all gated PDFs are light. The sections below marked "(dark fallback)" describe the retained --theme dark palette.

0.1 Light palette (brand: purple #6941C6 → magenta #C9317C)

TokenHexUse
PAGE / SURFACE#FFFFFFpage + card background
TINT / ALT#F6F4FB / #FBFAFEKPI boxes · table headers/tracks · zebra rows
INK#1B1725headings + body text
INK_SOFT#5A5568secondary text
LBL#6B7280small labels / captions
BORDER#E7E3F0hairlines, card borders, table grid
BRAND / BRAND2#6941C6 / #C9317Csection numbers, rules, subheads / gradient end
CODE_BG / CODE_INK / CODE_BORDER#F5F4F8 / #2A2536 / #E4E0EEboxed code / samples (codebox)
GREEN / BLUE / AMBER#15803D / #2563EB / #B45309remediation / refs·CVE / caveat labels
SEVCritical #DC2626 · High #EA580C · Medium #CA8A04 · Low #16A34A · Info #64748Bseverity

0.2 What v5 adds / changes

  • Light, airy layout — white surfaces, hairline separators, generous padding/leading; colour used only semantically (severity / score / status).
  • Colour-coded risk & score — severity via the finding-card left stripe + [SEV] tag; and in every risk table (findings summary, CVE register, per-finding CVE table) both the severity label and the CVSS score cell are band-coloured + bold — the label by its severity, the score by score_band(score). tbl(..., sevcol=, scorecol=) selects the columns; the colour is emitted as an inline <font> tag inside the cell (a TableStyle TEXTCOLOR is ignored on ReportLab Paragraph cells, so it must live in the cell markup). Empty/non-numeric score cells stay uncoloured.
  • Highlighted code/samples — codebox() renders CVSS vectors, PoC/test requests, affected assets, and endpoints in a bordered light-grey monospace block; screenshots are framed with a border + caption.
  • Finding cards are a single-column multi-row Table (severity left-stripe + hairline box + padding) so tall Critical findings split cleanly across pages (border redrawn per fragment).
  • Logo is drawn at its true aspect ratio (1024×468 → 0.457; ~48mm wide) — never squished.
  • Graphical (severity-bar chart) + Tabular (findings index) summaries, DURATION cover row, per-finding Ease of Exploitation + References, and a Conclusion section are all light-themed.

1. Page & Document Configuration

PropertyValue
Page SizeA4 (595.28 × 841.89 pt)
Margins20mm all sides
Content Width (CW)555.28 pt (A4 width − 2 × 20mm)
Top Margin Offset+8 pt (28mm effective top)
Bottom Margin Offset+10 pt (30mm effective bottom)
Background Color#FFFFFF (light default) · #07040B under --theme dark
OutputEmbedded fonts, single PDF file

2. Typography

2.1 Font Stack

AliasFontWeightRole
FHPoppins-Bold700Headlines, metric values, section numbers, score values
FMPoppins-Medium500Subheads, section labels, card section headers, sidebar labels
FRPoppins (Regular)400Footer text, metadata labels, TOC sub-items
FLPoppins-Light300Reserved (registered, not actively used)
FIPoppins-Italic400iReserved (registered, not actively used)
FBCarlito (Regular)400Body text, card summaries, table cells, bullet content
FBBCarlito-Bold700Bold inline emphasis within body paragraphs
FBICarlito-Italic400iConfidentiality notices, closing statement
FBBICarlito-BoldItalic700iRegistered for <b><i> combinations within Carlito
FMONOCourier—MITRE technique IDs, CVE identifiers, subdomain names

Family Registration: Carlito is registered as a full family (normal, bold, italic, boldItalic) enabling automatic style switching via ReportLab's <b> and <i> XML tags.

2.2 Type Scale

Style KeyFontSizeLeadingColorAlignmentUsage
ctPoppins-Bold36 pt44 pt#FFFFFFLeftCover title ("THREAT INTELLIGENCE", "REPORT")
ccPoppins-Medium18 pt24 pt#8B5CF6LeftCover client name
h1Poppins-Bold20 pt26 pt#FFFFFFLeftSection titles
h2Poppins-Medium16 pt21 pt#FFFFFFLeftSubsection titles
h3Poppins-Medium13 pt17 pt#8B5CF6LeftSub-headers within sections
ttPoppins-Medium13 pt18 pt#FFFFFFLeftCard titles, posture item titles
bodyCarlito12 pt17 pt#F0F2F5JustifyBody paragraphs
bsCarlito11 pt15 pt#F0F2F5LeftSmall body (table cells, metadata values)
tsCarlito11 pt16 pt#F0F2F5JustifyCard description text
labelPoppins10 pt13 pt#E0E3E8LeftCover metadata labels
slPoppins-Medium10 pt13 pt#8B5CF6LeftTable column headers
bulletCarlito12 pt17 pt#F0F2F5LeftBu
Read the complete source ↗