feat(development-productivity): add generate-document skill using pandoc#413
feat(development-productivity): add generate-document skill using pandoc#413
Conversation
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
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🤖 Claude Code Review
SummaryThis PR adds a new
AnalysisSkill design: The skill is well-structured. It follows the repository's naming conventions (verb-noun: Permissions: The Output path: The default output path is now Version bump: The version went from 2.0.1 to 2.1.1. Adding a new skill is a minor change, so 2.1.0 would be the expected bump per the semver rules in CLAUDE.md. The extra patch increment to 2.1.1 suggests a previous intermediate change, but looking at the version table in root CLAUDE.md and plugin.json, they are consistent with each other at 2.1.1, so this appears intentional from a prior iteration. Documentation updates: All required documentation (plugin No bugs, security vulnerabilities, or data integrity issues found. 💡 Want a fresh review? Add a comment containing |
📚 Documentation Check ✅Verdict: Passed Plugin version was properly bumped from 2.0.1 to 2.1.1 for the new generate-document skill addition. All documentation (CLAUDE.md, README.md, root CLAUDE.md version table) was updated to reflect the changes. PR #413 Documentation ReviewThis PR adds a new Version Bump Check ✅
Documentation Updates ✅All relevant documentation was updated:
Minor Observations
Overall AssessmentAll required documentation updates are present. The plugin version was bumped, CLAUDE.md was updated, README.md was updated, and new skill documentation was created. Suggestions (1)
🤖 Generated by Claude Documentation Validator | Mode: |
There was a problem hiding this comment.
📋 Review verdict: APPROVE
👆 The main review comment above is the source of truth for this PR review. It is automatically updated on each review cycle, so always refer to it for the most current feedback.
This formal review submission is for the verdict only. 2 inline comment(s) are attached below.
packages/plugins/development-productivity/skills/generate-document/SKILL.md
Outdated
Show resolved
Hide resolved
packages/plugins/development-productivity/skills/generate-document/SKILL.md
Outdated
Show resolved
Hide resolved
…tput 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
Superseded by new review after PR update
There was a problem hiding this comment.
📋 Review verdict: APPROVE
👆 The main review comment above is the source of truth for this PR review. It is automatically updated on each review cycle, so always refer to it for the most current feedback.
This formal review submission is for the verdict only.
…erate-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.
| @@ -1,15 +1,23 @@ | |||
| { | |||
| "name": "development-productivity", | |||
There was a problem hiding this comment.
ℹ️ Documentation Update Suggested
The version jumped from 2.0.1 to 2.1.1, skipping 2.1.0. For a new feature addition (new skill), the conventional semver increment would be 2.0.1 → 2.1.0. This is informational only and not blocking.
| "name": "development-productivity", | |
| "version": "2.1.0", |
Superseded by new review after PR update
There was a problem hiding this comment.
📋 Review verdict: APPROVE
👆 The main review comment above is the source of truth for this PR review. It is automatically updated on each review cycle, so always refer to it for the most current feedback.
This formal review submission is for the verdict only.
Summary
This PR adds a new
generate-documentskill to the development-productivity plugin that enables users to generate professional documents in multiple formats (PDF, DOCX, HTML, ODT, EPUB, RTF) from markdown content using pandoc.Key Changes
New Skill: Added
generate-documentskill with comprehensive documentation inSKILL.mdPlugin Updates:
plugin.jsonImplementation Details
The skill is designed to:
The skill includes allowed tools for file operations (Read, Write), bash commands (pandoc, which, rm, open, xdg-open), and file globbing/searching.
https://claude.ai/code/session_01NZ72YNouJuHYoTGLziyubM
✨ Claude-Generated Content
Summary
generate-documentskill to the development-productivity plugin that generates professional documents in multiple formats (PDF, DOCX, HTML, ODT, EPUB, RTF) from markdown content using pandocChanges
skills/generate-document/SKILL.mdskills/generate-document/references/templates.mdskills/generate-document/references/troubleshooting.md.claude-plugin/plugin.jsongenerate-documentto skills array; bump version 2.0.1 → 2.1.1; addpdfanddocument-generationkeywords; update descriptionCLAUDE.md(plugin)README.md(plugin)CLAUDE.md(root).markdownlint-cli2.jsonc.trunkdirectory to markdownlint ignore patternsSkill Details
The
generate-documentskill:Read,Write,Bash(pandoc:*),Bash(which:*),Bash(rm:/tmp/document_*:*),Bash(mkdir:*),Bash(open:*),Bash(xdg-open:*),Glob,Grep/tmp/document_*.mdfiles after successful conversionTest plan
plugin.jsonskills array matches the actual skill directory structurepandocandxelatexusing the provided command templates