Przejdź do treści
Biblioteka skilli
Dokumenty i biuro · Konwersja i formaty

report-pdf

/report-pdf

Zamienia raport Markdown z zespołu deweloperskiego w ostylowany PDF do załączenia do ticketu lub przekazania interesariuszowi.

Licencja
MIT
Ostatnia zmiana repozytorium
14.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 14.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Zamienia raport Markdown z zespołu deweloperskiego w ostylowany PDF do załączenia do ticketu lub przekazania interesariuszowi.

Wyzwalacze z opisu

make a PDF of the reportexport the code-review report as PDFturn .dev-team-reports/code-review.md into a PDF

Argumenty

/report-pdf <path.md> [--out <path>]
Oryginalny opis (EN)

Render a dev-team Markdown report to a polished, shareable PDF. Use when the user says "make a PDF of the report", "export the code-review report as PDF", "turn .dev-team-reports/code-review.md into a PDF", or wants any .dev-team-reports or reports Markdown file as a styled document to attach to a ticket or hand to a non-terminal stakeholder.

Jak działa

  1. Arguments
  2. Steps
  3. Related
Sekcje z nagłówków SKILL.md, w oryginale · 55 linii, 340 słów
Podgląd SKILL.md
---
name: report-pdf
description: >-
  Render a dev-team Markdown report to a polished, shareable PDF. Use when the
  user says "make a PDF of the report", "export the code-review report as PDF",
  "turn .dev-team-reports/code-review.md into a PDF", or wants any
  .dev-team-reports or reports Markdown file as a styled document to attach to a
  ticket or hand to a non-terminal stakeholder.
argument-hint: "<path.md> [--out <path>]"
user-invocable: true
allowed-tools: Bash
---

# Report PDF

Role: worker. This command renders one Markdown report to a styled PDF via the
shared render module. It is a mechanical wrapper — no reasoning, no file-by-file
searching. It never modifies the source Markdown.

You have been invoked with the `/report-pdf` command.

## Arguments

- `<path.md>` (required) — path to the Markdown report to render (for example
  `.dev-team-reports/code-review.md` or `.dev-team-reports/test-health-2026-07-16.md`).
- `--out <path>` (optional) — output PDF path. Defaults to the source path with
  a `.pdf` extension, next to the source. A missing parent directory is created.

If no path argument is supplied, report `path required — usage: /report-pdf <path.md> [--out <path>]` and stop.

## Steps

Invoke the shared render module through `hooks/py.sh` (never `python3`
directly — the shim resolves a real Python 3 on Windows too), passing the
arguments through verbatim:

```bash
sh "$CLAUDE_PLUGIN_ROOT/hooks/py.sh" "$CLAUDE_PLUGIN_ROOT/hooks/lib/report_pdf.py" <path.md> [--out <path>]
```

The module detects a PDF engine (fallback order: pandoc + headless
Chrome/Chromium → pandoc + weasyprint → pandoc + wkhtmltopdf → md-to-pdf) via
runtime probes, converts the report with the bundled `report-print.css`, and
prints a `Rendering PDF via <engine>…` progress line followed by one result
line. Report its output as-is:

- **Exit 0, `PDF written: …`** — the styled PDF was produced; report the output
  path and engine verbatim.
- **Exit 0, skip message (`No PDF engine found. Install one, …`)** — no engine
  was available. Report the skip message verbatim, including the single install
  hint. This is non-fatal: the source Markdown is untouched.
- **Exit 1, `PDF not rendered: …`** — the source file was missing, or an engine
  was present but conversion failed. Surface the stderr message verbatim.
- **Exit 2** — usage error (argparse); surface the message verbatim.

Do not add commentary beyond the module's own lines.

## Related

- `hooks/lib/report_pdf.py` — the shared render module this command wraps; the
  same module backs the `--pdf` flag on report-producing skills (see
  [`../../knowledge/report-pdf-integration.md`](../../knowledge/report-pdf-integration.md)).
- [`../../knowledge/report-to-pdf.md`](../../knowledge/report-to-pdf.md) — the
  underlying pandoc + headless-Chrome recipe and why this toolchain.
- [`../../knowledge/report-output-location.md`](../../knowledge/report-output-location.md)
  — where each report-producing skill writes its Markdown.

Wersje

W bazie nie ma innych skilli o nazwie report-pdf.

Migawka bazy z 13.11.2026 · wersja paczki 516f55b96618 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100create-pdf
    Konwertuje pliki markdown na stylizowany PDF, także łącząc kilka plików w jeden raport.
  • 96markdown-pdf-pipeline
    Renderuje poradnik lub raport z Markdown do PDF, dbając o układ i spis treści.
  • 100md-to-pdf
    Konwertuje dowolny plik markdown na czysty plik PDF, na przykład przy eksporcie dokumentu z pliku .md.
  • 100pdf-convert
    Konwertuje między PDF a Markdown: tekstowe PDF-y do Markdown (skany są zgłaszane bez OCR) oraz Markdown do stylizowanego PDF przez opcję --to.
  • 100pdf-convert
    Konwertuje między PDF a Markdown: tekstowe PDF-y do Markdown (skany są zgłaszane bez OCR) oraz Markdown do stylizowanego PDF przez opcję --to.
  • 100markdown-to-pdf
    Konwertuje plik Markdown do PDF przy użyciu mistune i reportlab, także gdy inny skill potrzebuje PDF z wyniku w Markdown.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.