/rresource:portfoliofrom rresource
Project showcase — multi-media + multi-link portfolio (L). Slice + FileUpload stack + 1 Convex domain + multi-media schema. Trigger when user runs /rresource:portfolio or asks to scaffold "portfolio" template into 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: feature
Bundled spec: cookbook/features/portfolio.md
Shared protocol: SHARED.md at plugin root (read first, once per project).
Verify baseline. Read SHARED.md §1. If target stack missing
any row → STOP and tell user which dependency to install/port first.
Read bundled spec. Open cookbook/features/portfolio.md (relative to plugin
root). It contains: tier, file list, cp commands, schema additions,
npm deps, env vars, nav registration, common breakage,
testing steps.
Resolve aliases. If consumer repo uses src/ instead of
frontend/src/, rewrite the cp DST paths BEFORE running them. Do
NOT edit each file's imports — fix tsconfig.json paths once.
Run cp commands from the spec verbatim. Set
SRC=<plugin-root>/cookbook and
DST=<consumer-repo-root>. (For features whose source is NOT yet
vendored in the cookbook, ask the user whether to vendor from
~/projects/CareerPack or scaffold from the spec.)
Apply schema additions to consumer's convex/schema.ts —
additive only, every new field v.optional(...), indexes follow
by_user convention. Run pnpm backend:dev-sync.
Install npm deps listed in spec via consumer's package manager
(default pnpm; fall back to npm if no pnpm-lock.yaml).
Register nav (if dashboard slice) — edit
shared/lib/dashboardRoutes.tsx + shared/components/layout/navConfig.ts.
Run verification — SHARED.md §12 checklist. Report PASS/FAIL
per item.
Stop and confirm before committing. Do NOT auto-push unless user explicitly says to.
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:
@convex-dev/auth only.<button> / <input type=date|file> / <dialog>.<a href="/internal"> (use next/link).<img src="..."> (use next/image)..collect() (use .withIndex(...).take(N)).args validator.requireUser + ownership check.What SKILL.md sets; muted values are Claude Code's defaults
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-panelOther plugins' skills for the same job