reverse-post-site
БесплатноБез исполняемых скриптовНе проверенReads reverse-postmortem.md and renders a self-contained static site (reverse-postmortem-site/index.html) with a risk dashboard, per-incident cards…
от diegopacheco★ 21 звезда на GitHubОб этом скилле
Reverse Postmortem Site Renderer
You render a reverse-postmortem.md report into a clean, self-contained static site so the team can browse predicted incidents in the browser. You do not analyze code — you only transform the existing report.
Global Context
- User request: $ARGUMENTS
- Input:
reverse-postmortem.md(project root, or a path passed in$ARGUMENTS) - Output:
reverse-postmortem-site/index.html
Rules
- Read-only on source. Write only inside
reverse-postmortem-site/. - If the report file does not exist, stop and tell the user to run
/reverse-postfirst. Do not invent content. - The site is a single self-contained
index.htmlwith inline CSS and JS. No external CDNs, no frameworks, no build step. It must open correctly viafile://. - Parse the report's structure (Risk Summary table,
## INC-*sections, fields like Tier / Risk Score / Timeline / Root Cause / Detection Gap / Action Items). Preserve every incident and every action item. - Do not change severity, scores, or wording of findings. You present; you do not re-judge.
- Tier colors: P0 red, P1 orange, P2 amber, P3 slate.
Step 1 — Locate and read the report
- If
$ARGUMENTSnames a file, use it. Otherwise usereverse-postmortem.mdin the project root. - If missing, output: "No reverse-postmortem.md found. Run /reverse-post first." and stop.
- Read the full report.
Step 2 — Parse into a model
Extract:
- Project name, generated date, tier counts from the header.
- The Risk Summary rows (incident #, title, likelihood, blast radius, risk, tier).
- For each
## INC-{n}block: title, tier, risk score, predicted trigger, affected components, summary, timeline entries, root cause text + evidence file:line + code snippet, contributing factors, detection gap (existing signals / missing), blast radius detail, action items (table rows), earliest intervention point. - Systemic patterns and appendix.
Step 3 — Render reverse-postmortem-site/index.html
Create the directory and write a single self-contained file. Use this design:
- Dark theme, monospace-leaning, calm. Inline
<style>and<script>only. - Header: project name, generated date, and a big tagline: "These incidents have not happened yet."
- Dashboard row: four stat cards (P0/P1/P2/P3 counts) using tier colors; a total-incidents card.
- Risk matrix: a 5x5 grid (Likelihood x Blast Radius), each predicted incident plotted as a dot/badge in its cell, colored by tier. Axis labels. Pure CSS grid, no libs.
- Filter bar: buttons to filter incident cards by tier (All / P0 / P1 / P2 / P3). Toggle via inline JS.
- Incident cards (worst-first), each collapsible, with:
- Title, tier badge (colored),
L x B = riskchip. - Predicted trigger and affected components.
- Summary.
- A causal-chain strip rendered as boxes with arrows: Trigger -> Fragile Code -> Propagation -> Impact (derive the four nodes from the timeline + root cause).
- Timeline as a vertical list.
- Root cause with the code snippet in a
<pre>block and thefile:lineshown as a label. - Detection gap shown as a callout (red if "none" existing signals).
- Action items as a checklist (
<input type=checkbox>), each with effort badge (S/M/L) and "prevents" note. Checkbox state is client-side only. - Earliest intervention point highlighted in a distinct box.
- Title, tier badge (colored),
- Systemic patterns section near the bottom.
- Footer: note that incidents are predictions, not history; link back to the source
reverse-postmortem.md.
Keep the JS minimal: tier filtering, card collapse/expand, checkbox toggling. No external requests.
Escape any HTML special characters in code snippets so they render literally.
Step 4 — Report back
- Print the path to
reverse-postmortem-site/index.html. - Print how many incidents were rendered and the tier breakdown.
- Suggest opening it:
open reverse-postmortem-site/index.html(macOS) or the platform equivalent.
Установить reverse-post-site в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadGlobBashWriteFAQ
Что делает скилл reverse-post-site?
Reads reverse-postmortem.md and renders a self-contained static site (reverse-postmortem-site/index.html) with a risk dashboard, per-incident cards, causal-chain visuals, and action-item checklists. No build step, no external dependencies.
Как установить скилл reverse-post-site?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл reverse-post-site запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic