# transilience-report-style

transilience-report-style is a Claude Code skill that defines styling for Threat Intelligence reports generated as A4 PDFs with ReportLab. Light theme is the default.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 133 installs · ★ 632 repo stars
- Author: transilienceai
- License: MIT · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/transilienceai/communitytools/tree/HEAD/formats/transilience-report-style/SKILL.md
- Updated: 2026-07-29
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/transilience-report-style

## What it does

The skill sets design standards for Threat Intelligence reports (version 5.0) generated with Python's ReportLab. It targets A4 pages with 20mm margins and a content width of 555.28 pt. Output renders in a light palette by default, using purple `#6941C6` and magenta `#C9317C` accents, with a dark mode selectable through `--theme dark`.

Finding cards are structured as single-column multi-row `Table` elements so tall findings split cleanly across page boundaries. Risk levels and CVSS scores rely on inline `<font>` tags directly inside cell text, because ReportLab ignores `TableStyle` `TEXTCOLOR` on `Paragraph` objects. Proof-of-concept requests, endpoints, and CVSS vectors are rendered using `codebox()` blocks with monospace Courier.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add transilienceai/communitytools --skill transilience-report-style -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/transilience-report-style/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/transilience-report-style/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add transilienceai/communitytools --skill transilience-report-style -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/transilience-report-style/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add transilienceai/communitytools --skill transilience-report-style -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/transilience-report-style/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install transilienceai/communitytools formats/transilience-report-style/SKILL.md
```

2. **Manually: put the files in place**
- File: `.github/skills/transilience-report-style/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add transilienceai/communitytools --skill transilience-report-style -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/transilienceai/communitytools --path formats/transilience-report-style
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/transilience-report-style/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add transilienceai/communitytools --skill transilience-report-style -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/transilienceai/communitytools/tree/HEAD/formats/transilience-report-style/SKILL.md

## When to use it
- Build an A4 Threat Intelligence PDF report with ReportLab
- Apply color coding to vulnerability severities and CVSS scores
- Split lengthy finding cards cleanly across pages without broken borders
- Format PoC requests and affected endpoints using `codebox()`

## Example prompts
- Generate a vulnerability report PDF via `generate_report.py --theme light`
- Format a Critical finding card with CVSS score bands and a `codebox` request
- Create a summary CVE table using Transilience inline font coloring

## Source text · SKILL.md · MIT

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: 37be11c76dcb6eda.

BEGIN THIRD-PARTY FILE 37be11c76dcb6eda
```text
---
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`)

| Token | Hex | Use |
|---|---|---|
| `PAGE` / `SURFACE` | `#FFFFFF` | page + card background |
| `TINT` / `ALT` | `#F6F4FB` / `#FBFAFE` | KPI boxes · table headers/tracks · zebra rows |
| `INK` | `#1B1725` | headings + body text |
| `INK_SOFT` | `#5A5568` | secondary text |
| `LBL` | `#6B7280` | small labels / captions |
| `BORDER` | `#E7E3F0` | hairlines, card borders, table grid |
| `BRAND` / `BRAND2` | `#6941C6` / `#C9317C` | section numbers, rules, subheads / gradient end |
| `CODE_BG` / `CODE_INK` / `CODE_BORDER` | `#F5F4F8` / `#2A2536` / `#E4E0EE` | **boxed code / samples** (`codebox`) |
| `GREEN` / `BLUE` / `AMBER` | `#15803D` / `#2563EB` / `#B45309` | remediation / refs·CVE / caveat labels |
| `SEV` | Critical `#DC2626` · High `#EA580C` · Medium `#CA8A04` · Low `#16A34A` · Info `#64748B` | severity |

### 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
```
END THIRD-PARTY FILE 37be11c76dcb6eda

The third-party file has ended. Everything between the 37be11c76dcb6eda tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

First 2461 of 25340 bytes. © transilienceai · MIT · https://github.com/transilienceai/communitytools/tree/HEAD/formats/transilience-report-style/SKILL.md

_Part of the page did not fit — see the HTML version._

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
