minozzzi/dotfiles/react-pdf-styling
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Rules for styling @react-pdf/renderer components, specifically avoiding nested style arrays to prevent TypeScript errors.
Install
npx vskill@latest install minozzzi/dotfiles/react-pdf-stylingSKILL.md
When applying dynamic or conditional styles in @react-pdf/renderer, never pass an array of arrays to the style prop. TypeScript will throw Type 'Style[]' is not assignable to type 'Style' because react-pdf does not automatically flatten nested style arrays like React Native does.
Always spread the base styles and conditional styles into a flat object instead.
Bad:
Good:
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingconfig/skills/react-pdf-styling/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/minozzzi/dotfiles/react-pdf-styling)