Skip to content

feat(development-productivity): add generate-pdf-report skill#412

Open
dgilmanuni wants to merge 1 commit intoUniswap:nextfrom
dgilmanuni:feat/generate-pdf-report
Open

feat(development-productivity): add generate-pdf-report skill#412
dgilmanuni wants to merge 1 commit intoUniswap:nextfrom
dgilmanuni:feat/generate-pdf-report

Conversation

@dgilmanuni
Copy link
Contributor

Summary

  • Adds a new generate-pdf-report skill to the development-productivity plugin that generates professional PDF reports from structured findings using fpdf2
  • Includes a full Report class template with severity badges, summary tables, data tables (alternating row shading), code blocks, and file references
  • Useful for exporting security reviews, code reviews, and research summaries to well-formatted PDF documents

Changes

  • packages/plugins/development-productivity/skills/generate-pdf-report/SKILL.md - New skill file
  • packages/plugins/development-productivity/.claude-plugin/plugin.json - Added skill reference + version bump to 2.1.0
  • packages/plugins/development-productivity/CLAUDE.md - Updated component list and file structure
  • packages/plugins/development-productivity/README.md - Added skill to table and usage examples
  • CLAUDE.md - Updated version table

Test plan

  • Validated plugin structure passes validate-plugin.cjs
  • All pre-commit hooks pass (format, lint, lint-markdown, typecheck)
  • Install the plugin and invoke /generate-pdf-report to verify skill is discoverable
  • Trigger with natural language: "make a PDF", "generate a report", "export findings to PDF"

🤖 Generated with Claude Code

Add a new skill that generates professional PDF reports from structured
findings using fpdf2. Supports severity badges, summary tables, data
tables with alternating row shading, code blocks, and file references.

Useful for exporting security reviews, code reviews, and research
summaries to well-formatted PDF documents.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@dgilmanuni dgilmanuni requested a review from a team as a code owner February 24, 2026 20:05
@vercel
Copy link

vercel bot commented Feb 24, 2026

@dgilmanuni is attempting to deploy a commit to the Uniswap Team on Vercel.

A member of the Team first needs to authorize it.

wkoutre pushed a commit that referenced this pull request Feb 24, 2026
Adds a new skill for generating professional documents in multiple formats
(PDF, DOCX, HTML, ODT, EPUB, RTF) using pandoc instead of fpdf2.

Key improvements over PR #412's approach:
- Uses pandoc for universal document conversion
- Supports 7 output formats (PDF, DOCX, HTML, ODT, EPUB, RTF, TXT)
- Full unicode support (no character restrictions)
- Markdown-based input (Claude's native strength)
- Professional formatting with customizable templates
- Better maintainability through standard tooling

Includes templates for security reports, code reviews, and research summaries.

Version bump: 2.0.1 -> 2.1.0 (minor: new feature)

https://claude.ai/code/session_01NZ72YNouJuHYoTGLziyubM
wkoutre added a commit that referenced this pull request Feb 25, 2026
…doc (#413)

* feat(development-productivity): add generate-document skill using pandoc

Adds a new skill for generating professional documents in multiple formats
(PDF, DOCX, HTML, ODT, EPUB, RTF) using pandoc instead of fpdf2.

Key improvements over PR #412's approach:
- Uses pandoc for universal document conversion
- Supports 7 output formats (PDF, DOCX, HTML, ODT, EPUB, RTF, TXT)
- Full unicode support (no character restrictions)
- Markdown-based input (Claude's native strength)
- Professional formatting with customizable templates
- Better maintainability through standard tooling

Includes templates for security reports, code reviews, and research summaries.

Version bump: 2.0.1 -> 2.1.0 (minor: new feature)

https://claude.ai/code/session_01NZ72YNouJuHYoTGLziyubM

* fix(development-productivity): scope rm permission and use cwd for output path

Address PR review feedback:
- Scope Bash(rm:*) to Bash(rm:/tmp/document_*:*) for tighter permissions
- Add Bash(mkdir:*) to allowed-tools for directory creation
- Default output path to current working directory instead of ~/dev/
- Add instruction to mkdir -p custom output directories before pandoc

* refactor(development-productivity): apply skill best practices to generate-document

Apply progressive disclosure pattern to generate-document skill:
- Move content-type templates to references/templates.md
- Move troubleshooting to references/troubleshooting.md
- Add missing name field to YAML frontmatter
- Remove redundant content Claude already knows (format table,
  install commands, basic markdown/pandoc guidance)
- Fix nested fenced code block structure

Also fix markdownlint config to exclude .trunk/ directory, which
contains symlinked third-party plugin cache files that fail linting.

SKILL.md reduced from 373 to ~174 lines while preserving all functionality.

---------

Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant