Tier-3 portable vertical slices. Each slice ships a frontend half + a Convex backend half. Lift one folder, drop it into any compatible project. See slice architecture for the full plan.
npx rahman-resources add <slug>npx rahman-resources lift rahman:<slug>@convex-dev/auth: props-driven AuthCard (google · github · magic-link · password · phone OTP). No Clerk.
RBAC engine: 6 role presets + wildcard permissions + <PermissionGate>. Props-driven. No Clerk.
Members · invites · roles · teams · hierarchy · access matrix — tabbed, permission-gated. Props-driven.
Indonesia payment providers behind one slug + ONE shared Convex backend (convex/features/payment discriminates on a provider column: paymentOrders + paymentWebhookEvents, unprefixed). Two frontend variants: doku — DOKU Hosted Checkout + Direct (VA / QRIS / e-Wallet / PayLater), HMAC-SHA256 signed REST, signature-verified webhook, idempotent retries, dependency-free, server-side env only. midtrans — Snap hosted-modal checkout + orders history (needs npm midtrans-client + a NEXT_PUBLIC_MIDTRANS_CLIENT_KEY). Install one with `npx rr add payment doku|midtrans`, or both. A future stripe variant is reserved in the schema's provider union.
Transactional email + newsletter blast via Resend. Double opt-in flow + audience segmentation. Magic-link delivery for Convex Auth. Bundles the subscribers list backend (subscribe / confirm / unsubscribe / count) — formerly the standalone `subscribers` slice, merged here in v0.1.3.
Contact form posting to Resend email API. Server Action + Zod input validation. Convex mutation for storage + Resend send.
Three AI surfaces behind one slug — chat FAB, generation studio, agent runner. Install one variant or all.
Central operator console for the whole AI stack. Every other ai-* feature reads its registries from here. Tabs ordered to match the build-flow: 1. Providers — register Anthropic / OpenAI / Google / Mistral / Ollama (API keys AES-encrypted at rest) 2. Models — per-provider catalog (capabilities, context window, pricing) 3. Instructions — custom system-prompt library (Claude Projects-style) 4. Skills — named instruction + model default + tool defaults (consumed by chat + studio) 5. Tools — JSON-schema function specs + impl (http / convex / shell) + sandbox flag 6. Agents — skill × model × tools × max-iter (consumed by ai-agents) 7. Budgets — per-workspace cost caps + alerts + hard kill 8. Audit — every AI call: actor / agent / tokens / cost / latency / outcome Includes Create-Agent / Create-Skill / Create-Tool / Create-Instruction wizards.
Backend infrastructure (no UI). Single proxy that every other ai-* feature calls. Tier-routed — nano (Haiku) for classification, mid (Sonnet) for chat, flagship (Opus) for deep reasoning. Per-call usage log + cost guard. Works with direct provider keys or OpenRouter umbrella. Not something you mount — installed automatically as a peer when you add ai-workspace.
Embeddings-based search via Convex's built-in vector index. Embed via OpenAI text-embedding-3-small (1536-dim), query via vectorIndex().
Embedded Cal.com booking widget + webhook receiver to mirror bookings into Convex.
Same-origin cross-tab + cross-iframe state sync via BroadcastChannel API. Tiny, no backend, no install.
Client SDK + Convex ingestion endpoint for structured product events. Auto-captures page_view/signup/login + UTM/referrer/first-touch attribution. Batched flush via requestIdleCallback. Targets <100ms p99 ingestion.
Public-facing weekly activity log. Lists user-facing activities grouped by ISO week with schema.org-friendly markup, designed to maximise SEO so the question 'what is <person> working on this week?' lands here. Convex-backed (schema + queries + unauthenticated mutations); MCP-friendly so AI workflows (Claude / GPT / custom agents) can append entries directly. All user-facing copy + per-category labels + date/time locale are prop-driven (English defaults). Lifted 2026-05-27 from rahmanef.com; 225-LOC view split into view + 2 sub-components + 4 lib helpers for the 200-LOC cap; Indonesian strings + custom primitives stripped; cross-slice auth import dropped (consumer wraps mutations).
Upload + URL resolver behind a storage adapter. localStorage demo, swap to Convex/S3.
Grab-bag resource hub. One polymorphic `libraryItems` table holds six kinds — prompt, image, video, link, download, snippet — with per-kind payload fields switched on `kind` (no joins). Attribution-first: every item carries optional source/license/tools so re-shares stay correct. Collections group items. Convex-backed (schema + queries + unauthenticated mutations); SEO override fields reused from the `seo` peer slice so the surface matches blog/projects rows. Public view = filterable card grid + per-item detail with copy-to-clipboard for prompts/snippets and an opt-in upvote control. Lifted 2026-05-28 from rahmanef.com; 432-LOC mutations + 330-LOC detail split for the 200-LOC cap; Indonesian copy + custom primitives stripped (prop-driven English defaults); cross-slice auth + comments-votes coupling dropped (consumer wraps mutations + supplies the upvote handler).
Generic sortable/filterable/paginated table — row selection + column visibility on shadcn Table.
Service slice for SEO metadata generation — Anthropic-backed action with per-user 24h cost guard + portable persona prop. No public route. Backend exposes generate + generateAndApply mutations gated by requireAdmin; consumers inject brand voice via the personaContext arg (or buildSeoSystemPrompt factory).
Render a node tree to standalone, framework-runtime-free HTML with one deduped CSS bundle + layered sanitization (HTML/CSS/CSP + injectable DOMPurify). Zero deps, no Convex.
Data-source-driven repeater: register pluggable sources, render one component per item, round-robin across variants, none/infinite pagination — no backend required.
Markdown (.md) container: Read / Write / Review tabs, mermaid diagrams, recharts charts. Same grammar as the notion editor.
Marketing/landing-page composition: admin CRUD + config-driven public section renderers (stats/testimonials/pricing/faq/newsletter/custom). Absorbs the old feature-grid/faq-section/pricing-page/testimonials-grid/blog-section/portfolio-section/changelog-feed slugs.
Keranjang guest (localStorage) + sheet + ringkasan checkout. Host re-prices server-side; pasangkan dengan doku-payment untuk step bayar.
Multi-page CMS: list/create/edit/publish pages built from 11 block kinds — localStorage or your own backend.
Polymorphic-target threaded comments. Consumer picks `TargetRef = { kind, id, subId? }` (e.g. page+block, blog+slug, task+id). Reply nesting is real: `parentId` end-to-end + `buildThread(flat) → CommentNode[]` tree (oldest-first, orphan-safe). Renderless <CommentsThread> + <CommentsAnchor> wrappers; useComments(bindings, opts) returns items + `tree` + openCount + CRUD + forbiddenWords guard. Adapter pattern — see contract-negotiations §1.
The notion-page-clone block editor as a portable slice: slash menu, markdown triggers, drag, per-block toolbar — host capabilities invert through an EditorAdapter seam.
Quote/name/role rotator backend. Public `listAll` + `get` (no auth — testimonials are public), admin CRUD via `requireAdmin`, internal `seed` for one-shot bootstrap. Indexed by `order` so carousel/grid keeps stable rotation. Lifted 2026-05-16 from rahmanef.com; token-based admin gate swapped for rr `_shared/auth`.
Service offerings backend — title + summary + deliverables array + sort order. Public read, admin CRUD, internal seed. Pairs with a frontend services grid/list (consumer-side). Lifted 2026-05-16 from rahmanef.com; token-based admin gate swapped for rr `_shared/auth`.
Notion-style ⌘K palette + search modal. Consumer supplies groups; slice owns dialog + MRU.
Eight ready-to-style motion components: marquee, kinetic-heading, magnetic, cursor-spotlight, stat-counter, reading-progress, grain, lightbox. Framer-Motion-powered, tree-shakeable. Facade slice — pulls from template-base/frontend/slices/motion-primitives.
ResponsiveDialog — auto-switches between bottom Sheet (mobile) and centered Dialog (desktop) at the md breakpoint. Same API as shadcn Dialog. Kitab forbids raw <dialog>; use this everywhere. Facade slice — pulls from template-base/frontend/slices/responsive-dialog.
ThreeColumnLayoutAdvanced — collapsible left/right + resizable widths + responsive breakpoints + PanelSection compound (Header/Items/Footer) + per-panel footer slots. Models shadcn sidebar API for the panel interior. Pair with PanelGroup/PanelMenu/PanelSeparator primitives. Trigger ≠ header (V-wave separation rule).
Notion-style emoji + lucide + phosphor picker. Search, 10-color tint, smart positioning.
Tasteful entrance animations with no motion library: Reveal/Stagger/CountUp/Marquee + embla carousel + radix accordion. Reduced-motion safe.
Post-claim setup wizard: identitas, branding + theme preset live-preview, seed konten — semua props-driven, zero backend lock-in.
Marquee rubber-band multi-select for any list. Drag-right encloses, drag-left crosses, bulk delete.
ONE button opens a dialog: gallery (colours/gradients/textures), upload, paste URL, Unsplash search. Set any image — wallpaper, cover, profile header. Props-driven, no backend lock-in.
The "no real content yet" family — skeletons + spinners and 404/500/403 + zero-data, in two installable variants.
Config-driven marketing navbar + footer — the chrome every template hand-rolled, now one slice.
Two adapter-driven settings shells — account (async load+save) and appearance (sync per-setting) — the slice owns no data.
Bell with unread badge + popover/sheet inbox — adapter-driven, host supplies the feed.
ONE switcher: light/dark/system + ~30 color presets in one Popover. Registry ships inside the slice — no public/ setup.
Pure Notion-clone primitives in 3 variants — page editor · 11-view database · tree sidebar — over one shared domain-type model. Not the full app (that's `notion`).
ResponsiveDashboardShell — desktop sidebar + topbar, mobile dock + sheet sidebar, breakpoint-aware. Ports superspace's layout/dashboard/{Desktop,Mobile,Responsive}DashboardShell + sidebar primary/secondary slots. Facade slice — pulls from template-base/frontend/slices/dashboard-shell.
Unified workspace + menu navigation primitive. NavContext = (workspaceId, menuSetId) atomic pair. 2-tier dropdown switcher (workspace radio + menuSet picker), ContextBadge header chip, full editor with tabs (menus / workspace tree / settings), tiered RBAC (admin menus.manage, user menus.fork). Replaces silo'd menu-store + workspace-store slices in superspace. Resolver chain: user nav-context cache > user assignment > workspace default > system. Source: superspace.
Layered raster editor: layers, transform, paint, filters, layer styles, 1-click background removal, AI command registry, export.
In-browser NLE: layered multi-track timeline, keyframes, transitions, color grading, realtime WebM export with mixed audio.
Quick-look viewer for image/video/audio/pdf: zoomable stage, transport players, editor handoff — backend optional.
Lightweight code editor: overlay highlighting, tabs with dirty dots, lazy explorer tree, injectable filesystem.
Activity-Monitor-style dashboard: CPU/RAM/disk/GPU gauges, sparklines, live process table — telemetry injected.
Public 'book a session' form + the owner's triage inbox in one app — backend injected.
Write HTML/CSS/JS, see it render live in a sandboxed iframe (opaque origin), Save to a shareable link — backend injected.
Owner-gated CRUD for a curated icon-launcher — add/edit/remove/reorder links that open in a new tab, backend injected.
One owner's identity in two renderings — a formal one-column CV (resume) and a compact avatar + links + FAQ card (card).
Lays the OS out as a guided path of stages — reads the LIVE app catalog (drift-proof), every tile opens the real app.
React terminal: 17 built-ins on an in-memory fs, arrow-key history — wire exec for real one-shot shell passthrough.
Streaming chat + user-created agents, skills and automations (localStorage) — bring any LLM as an async generator.
Omnibar, bookmarks, history + a screenshot viewport that forwards input — drive any headless Chromium via one adapter.
Storefront + Create-App over one localStorage registry; useInstalledApps() feeds any appshell-style launcher.
Backend-agnostic file manager: directory tree sidebar, breadcrumb nav, grid/list views, full CRUD.
Manifest-driven macOS-style window manager + iOS-style mobile surface in one slice.
Standalone canvas studio: layers, filters, masks, transforms, aspect presets, export modal — fully offline demo.
Add/remove website shortcuts with favicons; localStorage by default, injectable store for any host.
17-section admin surface (events, funnels, attribution, users, A/B, flags, pricing, CMS, email, audit, ...) gated by RBAC. Auto-filters sidebar by tier (solo/influencer/organization) and user permissions. Single backend resolver (getMyAdminAccess) mirrors frontend gate so UI can never leak.
Access-gated admin in 2 variants — a minimal generic shell, or the composed 26-section console that mounts your other slices. Each pulls only its own backend.
Multi-tenant SaaS control plane. Workspace lifecycle ops (list/delete/cascade), per-tenant tier presets (gates + quota), KPI dashboard grid. Consumer-domain bits injected via adapter props (tenantTablesAdapter / tierPresets / kpiSources). Contract-only scaffold; canonical implementation lands via /rr-send from superspace. See docs/contract-negotiations-2026-05-15.md §4.
Workspace-scoped audit event recorder. Canonical logAuditEvent helper for mutations + actions; supports entity tracking, before/after diff, IP/user-agent capture.