A
ai-pdf-builder
Generate professional PDFs from Markdown using Pandoc and LaTeX with AI-powered content generation. Creates whitepapers, term sheets, memos, agreements, SAFEs, NDAs, and more.
Installation
Pick a client and clone the repository into its skills directory.
Installation
About this skill
Generate professional PDFs from Markdown using Pandoc and LaTeX with AI-powered content generation. Creates whitepapers, term sheets, memos, agreements, SAFEs, NDAs, and more.
How to use
- Zainstaluj wymagane narzędzia systemowe. Na macOS uruchom
brew install pandocorazbrew install --cask basictex, a następniesudo tlmgr install collection-fontsrecommended fancyhdr titlesec enumitem xcolor booktabs longtable geometry hyperref graphicx setspace array multirow. Na Linuxie użyjsudo apt-get install pandoc texlive-full. 2. Skonfiguruj dostęp do AI, ustawiając zmienną środowiskową z kluczem API:export ANTHROPIC_API_KEY="twój-klucz-tutaj". 3. Sprawdź, czy wszystko jest poprawnie zainstalowane, wykonującnpx ai-pdf-builder check. 4. Przygotuj plik Markdown z treścią dokumentu (np.zawartość.md) zawierający tekst, który chcesz przekonwertować na PDF. 5. Wygeneruj dokument PDF za pomocą komendynpx ai-pdf-builder generate whitepaper ./zawartość.md -o wyjście.pdf, zamieniając typ dokumentu (whitepaper, nda, safe, term-sheet) i ścieżki plików na swoje. 6. Opcjonalnie użyj flagi--companyaby wstrzyknąć nazwę firmy bezpośrednio:npx ai-pdf-builder generate nda ./zawartość.md --company "Moja Firma" -o umowa.pdf.