Pular para o conteúdo
Skillpedia
PDF, Word e slides28 mil · #9859

pdf

O que ela faz

Esta habilidade ajuda com arquivos PDF, incluindo a criação de novos e a verificação da aparência deles. Serve para quem precisa de PDFs produzidos ou lidos com precisão, com o layout verificado.

Quando usar

  • ✓Quando você quer um novo PDF criado com formatação confiável.
  • ✓Quando você precisa ler ou revisar um PDF em que o layout e os elementos visuais importam.
  • ✓Quando você quer verificar visualmente um PDF pronto antes de enviá-lo.

Link da skill

https://github.com/openai/skills/blob/main/skills/.curated/pdf/SKILL.md

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/openai/skills/blob/main/skills/.curated/pdf/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Crie um resumo de uma página em PDF deste relatório e confira se o layout está certo antes de eu enviar.”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

O agente renderiza as páginas do PDF como imagens para inspecioná-las, usa ferramentas em Python para gerar ou extrair o conteúdo e verifica cada mudança até que o layout esteja certo.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do GitHub.

PDF Skill

When to use

  • Read or review PDF content where layout and visuals matter.
  • Create PDFs programmatically with reliable formatting.
  • Validate final rendering before delivery.

Workflow

  1. Prefer visual review: render PDF pages to PNGs and inspect them.
    • Use pdftoppm if available.
    • If unavailable, install Poppler or ask the user to review the output locally.
  2. Use reportlab to generate PDFs when creating new documents.
  3. Use pdfplumber (or pypdf) for text extraction and quick checks; do not rely on it for layout fidelity.
  4. After each meaningful update, re-render pages and verify alignment, spacing, and legibility.

Temp and output conventions

  • Use tmp/pdfs/ for intermediate files; delete when done.
  • Write final artifacts under output/pdf/ when working in this repo.
  • Keep filenames stable and descriptive.

Dependencies (install if missing)

Prefer uv for dependency management.

Python packages:

uv pip install reportlab pdfplumber pypdf

If uv is unavailable:

python3 -m pip install reportlab pdfplumber pypdf

System tools (for rendering):

# macOS (Homebrew)
brew install poppler

# Ubuntu/Debian
sudo apt-get install -y poppler-utils

If installation isn't possible in this environment, tell the user which dependency is missing and how to install it locally.

Environment

No required environment variables.

Rendering command

pdftoppm -png $INPUT_PDF $OUTPUT_PREFIX

Quality expectations

  • Maintain polished visual design: consistent typography, spacing, margins, and section hierarchy.
  • Avoid rendering issues: clipped text, overlapping elements, broken tables, black squares, or unreadable glyphs.
  • Charts, tables, and images must be sharp, aligned, and clearly labeled.
  • Use ASCII hyphens only. Avoid U+2011 (non-breaking hyphen) and other Unicode dashes.
  • Citations and references must be human-readable; never leave tool tokens or placeholder strings.

Final checks

  • Do not deliver until the latest PNG inspection shows zero visual or formatting defects.
  • Confirm headers/footers, page numbering, and section transitions look polished.
  • Keep intermediate files organized or remove them after final approval.
Perguntas frequentes

Quais ferramentas ela usa?

Usa ferramentas em Python como reportlab, pdfplumber e pypdf, além do Poppler para renderizar páginas.

A extração de texto basta para verificar um PDF?

Não. A habilidade diz que a extração de texto não é confiável para o layout, então renderiza as páginas para verificá-las visualmente.

Preciso instalar alguma coisa?

Algumas ferramentas podem precisar de instalação, incluindo o Poppler para renderização, e a habilidade diz para avisar se algo estiver faltando.

Detalhes

Descrição original do autor

Use when tasks involve reading, creating, or reviewing PDF files where rendering and layout matter; prefer visual checks by rendering pages (Poppler) and use Python tools such as `reportlab`, `pdfplumber`, and `pypdf` for generation and extraction.

repo: openai/skills

Popularidade

Estrelas no GitHub
28 mil
Posição no ranking
#9859
Licença
—
Atualizada em
28/10/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas