frago-view-content-generate-tips-pdf

PDF file content generation guide. Use this skill when you need to understand how `frago view` previews PDF files. Covers rendering features and limitations.

$ Installieren

git clone https://github.com/tsaijamey/frago /tmp/frago && cp -r /tmp/frago/src/frago/resources/skills/frago-view-content-generate-tips-pdf ~/.claude/skills/frago

// tip: Run this command in your terminal to install the skill


name: frago-view-content-generate-tips-pdf description: PDF file content generation guide. Use this skill when you need to understand how frago view previews PDF files. Covers rendering features and limitations.

PDF File Content Generation Guide

Preview PDF files via frago view, based on PDF.js client-side rendering.

Preview Commands

frago view document.pdf

Rendering Features

Based on PDF.js

  • Uses Mozilla PDF.js library
  • Client-side rendering, no server support needed
  • All pages displayed continuously

Supported PDF Features

FeatureSupport Status
Text contentSupported
ImagesSupported
Vector graphicsSupported
Embedded fontsSupported
Bookmarks/TOCNavigation not supported
Form fillingNot supported
AnnotationsRead-only display
Encrypted PDFNot supported

Display Mode

Continuous Scrolling

All pages arranged vertically in sequence, supports scrolling.

Page Spacing

Appropriate spacing between pages for easy distinction.

Adaptive Width

PDF pages automatically adapt to window width.


Best Practices

1. PDF Generation Recommendations

  • Use standard fonts or embed fonts
  • Avoid oversized images (recommend compression)
  • Single file size < 10MB

2. Page Layout

  • Portrait layout works best
  • Landscape layout may require scrolling

3. File Naming

  • Use English or numbers for naming
  • Avoid special characters

Limitations

LimitationDescriptionWorkaround
No TOC navigationClicking TOC doesn't jumpManual scrolling
No search functionCannot search textUse professional PDF reader
No zoom controlFixed zoom ratioAdjust window size
Forms not fillableRead-only displayUse Adobe Reader
Encryption not supportedCannot openDecrypt first
Large files slowTime-consuming renderingSplit or compress

Use Cases

  • Quick PDF report preview
  • Simple document reading
  • PDF slide browsing

Not suitable for:

  • Long documents requiring TOC navigation
  • Interactive PDFs requiring form filling
  • Encrypted or protected PDFs

Alternatives

For complex PDF needs, recommend using:

  • macOS: Preview.app
  • Windows: Adobe Acrobat Reader
  • Cross-platform: Firefox/Chrome built-in PDF viewer

Repository

tsaijamey
tsaijamey
Author
tsaijamey/frago/src/frago/resources/skills/frago-view-content-generate-tips-pdf
35
Stars
4
Forks
Updated1w ago
Added1w ago