Agent skill
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.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/frago-view-content-generate-tips-pdf
SKILL.md
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
| Feature | Support Status |
|---|---|
| Text content | Supported |
| Images | Supported |
| Vector graphics | Supported |
| Embedded fonts | Supported |
| Bookmarks/TOC | Navigation not supported |
| Form filling | Not supported |
| Annotations | Read-only display |
| Encrypted PDF | Not 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
| Limitation | Description | Workaround |
|---|---|---|
| No TOC navigation | Clicking TOC doesn't jump | Manual scrolling |
| No search function | Cannot search text | Use professional PDF reader |
| No zoom control | Fixed zoom ratio | Adjust window size |
| Forms not fillable | Read-only display | Use Adobe Reader |
| Encryption not supported | Cannot open | Decrypt first |
| Large files slow | Time-consuming rendering | Split 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
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?