/rresource:pdf-generatorfrom rresource
Convert any DOM subtree to printable PDF client-side. No server roundtrip. ATS-safe text-selectable PDF, not raster. Trigger when user runs /rresource:pdf-generator or asks to add the "pdf-generator" primitive to the current project.
Ships in rresource. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Kind: primitive
Bundled spec: cookbook/primitives/pdf-generator.md
Shared protocol: SHARED.md (read once per project).
SHARED.md §1. STOP if any row missing.cookbook/primitives/pdf-generator.md.src/ instead of frontend/src/.v.optional, by_user index. Run pnpm backend:dev-sync.SHARED.md §12.src/ (preferred source)Each skill folder ships a src/ subdirectory. If src/ exists,
prefer it as the cp source over any upstream lift path — it's the
canonical, vendored, self-contained version.
Layout convention:
src/
├── README.md per-skill install + usage
├── lib/ pure helpers (no React)
├── hooks/use<X>.ts localStorage state (DEFAULT — works without Convex)
├── components/<X>.tsx React UI
├── convex/<X>.ts OPTIONAL — Convex schema fragment + queries/mutations
└── styles/ optional CSS
State management policy:
convex/ files into target's convex/,
apply schema fragment (commented at top of each file), swap the
use<X>Local hook call for useQuery + useMutation from Convex.Modular by design: each skill folder is downloadable in isolation — no cross-skill imports. Slight code duplication (e.g. localStorage helper appears in multiple slices) is intentional.
Inherit SHARED.md §11 (R1..R17). Most-violated for primitives:
.collect() on Convex queries.args validator.requireUser + ownership check.NEXT_PUBLIC_* for sensitive values (Resend key, OAuth secrets).What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub rahmanef63/resource-site --plugin rresource60 skills in this plugin
/3columnrresource:3columnThree-column dashboard (left tree / main / right inspector). Resizable, collapsible, mobile drawer fallback. Trigger when user runs /rresource:3column or asks to scaffold "3column" template into the current project./adminrresource:adminRole-gated /admin route (S). Adds /admin route guarded by user.role==='admin'. Trigger when user runs /rresource:admin or asks to scaffold "admin" template into the current project./admin-panelrresource:admin-panelSuper-admin analytics + AI gateway + skill catalog + audit log + feedback inbox + roadmap editor (L). Adds /dashboard/admin-panel. Trigger when user runs /rresource:admin-panel or asks to scaffold "admin-panel" template into the current project./ai-agentrresource:ai-agentGlobal AI side-panel (XL). Chat console + slash commands + OpenAI tool-calling + cross-slice action bus + ApproveActionCard for mutations. Trigger when user runs /rresource:ai-agent or asks to scaffold "ai-agent" template into the current project./ai-settingsrresource:ai-settingsUser-level AI provider config + quota dashboard (M). Adds /dashboard/ai-settings. Trigger when user runs /rresource:ai-settings or asks to scaffold "ai-settings" template into the current project./ai-translaterresource:ai-translateGeneric LLM-powered text translation pipeline. Source-language-agnostic. Honors quota + sanitize + wrapUserInput. Trigger when user runs /rresource:ai-translate or asks to add the "ai-translate" primitive to the current project.