Worklog Design
regisx001/Worklog
Design and UI skill for the Worklog desktop project manager.
A skill your agent uses when building a UI component, PocketBase hook, page, or app feature and there is proven code to copy from the reference repos.
$ npx skills add spinspire/pocketbase-sveltekit-starter --skill code-reuse -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install spinspire/pocketbase-sveltekit-starter code-reuse --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/spinspire/pocketbase-sveltekit-starter.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/code-reuse .claude/skills/code-reuse && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "code-reuse" agent skill from https://github.com/spinspire/pocketbase-sveltekit-starter/tree/master/.agents/skills/code-reuse into .claude/skills/code-reuse/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "code-reuse", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/spinspire/pocketbase-sveltekit-starter/tree/master/.agents/skills/code-reuseType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add spinspire/pocketbase-sveltekit-starter --skill code-reuse -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install spinspire/pocketbase-sveltekit-starter code-reuse --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/spinspire/pocketbase-sveltekit-starter.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/code-reuse .agents/skills/code-reuse && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "code-reuse" agent skill from https://github.com/spinspire/pocketbase-sveltekit-starter/tree/master/.agents/skills/code-reuse into .agents/skills/code-reuse/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "code-reuse", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add spinspire/pocketbase-sveltekit-starter --skill code-reuse -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install spinspire/pocketbase-sveltekit-starter code-reuse --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/spinspire/pocketbase-sveltekit-starter.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/code-reuse .cursor/skills/code-reuse && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "code-reuse" agent skill from https://github.com/spinspire/pocketbase-sveltekit-starter/tree/master/.agents/skills/code-reuse into .cursor/skills/code-reuse/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "code-reuse", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/spinspire/pocketbase-sveltekit-starter.git --path .agents/skills/code-reuse--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add spinspire/pocketbase-sveltekit-starter --skill code-reuse -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install spinspire/pocketbase-sveltekit-starter code-reuse --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/spinspire/pocketbase-sveltekit-starter.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/code-reuse .gemini/skills/code-reuse && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "code-reuse" agent skill from https://github.com/spinspire/pocketbase-sveltekit-starter/tree/master/.agents/skills/code-reuse into .gemini/skills/code-reuse/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "code-reuse", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install spinspire/pocketbase-sveltekit-starter code-reuseInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add spinspire/pocketbase-sveltekit-starter --skill code-reuse -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/spinspire/pocketbase-sveltekit-starter.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/code-reuse .github/skills/code-reuse && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "code-reuse" agent skill from https://github.com/spinspire/pocketbase-sveltekit-starter/tree/master/.agents/skills/code-reuse into .github/skills/code-reuse/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "code-reuse", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add spinspire/pocketbase-sveltekit-starter --skill code-reuse -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install spinspire/pocketbase-sveltekit-starter code-reuse --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/spinspire/pocketbase-sveltekit-starter.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/code-reuse .opencode/skills/code-reuse && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "code-reuse" agent skill from https://github.com/spinspire/pocketbase-sveltekit-starter/tree/master/.agents/skills/code-reuse into .opencode/skills/code-reuse/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "code-reuse", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
code-reuseA skill your agent uses when building a UI component, PocketBase hook, page, or app feature and there is proven code to copy from the reference repos.
Code Reuse is an agent skill from spinspire/pocketbase-sveltekit-starter. Use when building a UI component, PocketBase hook, page, or app feature and there is proven code to copy from the reference repos. Check here BEFORE writing UI components, PB hooks/routes, form controls, dialogs, auth flows, pagination, or realtime stores from scratch. Catalogs reusable code from pocketbase-sveltekit-starter (sk/src/lib + pb/pbhooks) and spinspire/recipes. Components are proven but may need adaptation to the current project (runes, oat-css, $app/state).
Its SKILL.md is about 2.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Frontend & Design, covering Authentication. It works with SvelteKit and Svelte. The repository describes itself as: a starter project to build a SvelteKit frontend with PocketBase backend. The licence is MIT.
3 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 66f6dee. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
ReadGlobGrepBashFrom allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
bunFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Code Reuse loads about 2.5k tokens when it runs. Until then it costs about 122 tokens; SKILL.md has 951 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
allowed-tools: Read, Glob, Grep, BashAutomated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from spinspire/pocketbase-sveltekit-starter at commit 66f6dee, republished under its MIT licence (© spinspire). 951 words, ~2,544 tokens.
.claude/skills/code-reuse/SKILL.md (or your agent's skills folder).Proven, copy-ready code catalog from reference repos. Reuse before building from scratch.
| Repo | What to copy | Where it lives |
|---|---|---|
| pocketbase-sveltekit-starter | Frontend lib + components + PB JS hooks | sk/src/lib, pb/pb_hooks |
| spinspire/recipes | Frontend lib + components playground + multi-stack templates | sk/, pb/, py/, rs/ |
⚠️ Adapt, don't paste. These use SCSS + box-icons +
$app/stores+ some legacyexport let. Convert:$app/stores→$app/state, SCSS → oat-css/app.csstokens,export let→ runes ($props/$state/$derived). They are proven patterns, not drop-in code.
sk/src/lib)pocketbase/index.ts)client — typed PocketBase instance (same-origin by default).authModel — readable store on client.authStore.onChange; calls invalidateAll() on auth flips.login(email, password, register?, rest?) — create-if-register then authWithPassword.logout() — authStore.clear().save<T>(collection, record, create?) — generic create/update; auto-converts to FormData when a value is File/FileList (via object2formdata). Use for file uploads.watch<T>(idOrName, queryParams?, page?, perPage?, realtime?) → PageStore<T> — realtime paginated list store: subscribes to subscribe("*"), maintains result.items (update=replace, create=append, delete=filter). PageStore adds setPage()/next()/prev(); unsubscribe tears down realtime. Good upgrade candidate for our host pool/queue lists.providerLogin(provider, authCollection) — OAuth2 login that backfills name/avatar from meta.webauthnRegister/Login — passkey flow via @simplewebauthn/browser + /api/webauthn/* routes.pocketbase/ui.tsalertOnFailure(request) — wraps a PB request; surfaces top-level message + per-field data errors via alerts.error().pocketbase/ components| Component | Purpose |
|---|---|
FileField.svelte | File-field rows with bindable toBeRemoved toggle-delete; links via client.files.getURL. |
Image.svelte | PB file image with { thumb } param + fallback (internal SVG or via.placeholder.com). |
ImgModal.svelte | Thumb → full-size image lightbox in a Dialog. |
Paginator.svelte | « page X of Y » pager bound to a PageStore. |
components/ — UI building blocks| Component | Purpose |
|---|---|
Alerts.svelte | Global toasts. Exports alerts object (info/success/warning/error, timeout, html); auto-catches unhandled promise rejections. Place once in layout. |
Dialog.svelte | Native <dialog> modal; trigger snippet gets show; closes on backdrop click. |
Link2Modal.svelte | Internal link → modal via preloadData+pushState+<dialog>; invalidateAll+history.back() on close. |
LoginGuard.svelte | Conditional render on auth (and admin via isSuperuser); otherwise snippet + optional redirect. |
LoginForm.svelte | Sign-in/up tabs, admin checkbox, passkey, OAuth buttons from listAuthMethods(). |
LoginBadge.svelte | Auth pill (avatar+name) → Dialog with passkey register / sign out, or sign-in. |
Nav.svelte | Top nav with active highlighting. |
Delete.svelte | Confirm-and-delete form; navigates after collection.delete(id). |
FileInput.svelte | Styled file input with paste capture + filename list snippet. |
DateShow.svelte | Circular date badge (DOW / mon+day / year). |
LocalStorageStore.svelte | Module ls store mirroring localStorage (JSON-parsed) + debug table. |
RadioText.svelte | Pill radio selector; object or string-array choices; hides inputs, :has() styling. |
Spinner.svelte | CSS spinner; also exports activityStore(f) (store with .run()). |
Stepper.svelte | Step indicator; children snippet gets {data, index, total, step, next, previous}. |
TabGroup/Tab/TabContent.svelte | Tabs via context active store. |
ToggleText.svelte | Pure-CSS two-label toggle. |
metadata.tswritable({ title, headline, description }) global metadata store.pb/pb_hooks)main.pb.js patternsrouterAdd(method, path, handler, $apis.requireAuth()) — custom routes. /api/hello (auth greeting), /api/sendmail ($app.newMailClient() + record.ignoreEmailVisibility(true)), /api/config (public, merges config.json via require(${__hooks}/util) + live settings), /api/generate (external HTTP + $filesystem.fileFromURL + RecordUpsertForm).onModelCreate/onModelUpdate(e, "collection") — model hooks scoped to a collection.util.js helpers (load via require(${__hooks}/util))parseJSON(bytes) / parseJSONFile(path) — decode PB byte-array JSON from $os.readFile.slugDefault(obj) — set slug to id when empty.doAudit(event, request) — writes an auditlog record for collections in AUDITLOG env var; records collection/record/event/user/admin + data and original (changed keys only, via record.original().publicExport() diff).auditlog.pb.jsonRecordCreateRequest/UpdateRequest/DeleteRequest → e.next() then doAudit(...). Pattern: let the operation run first, then audit.config.json/api/config.sk/src/libpocketbase/index.ts (151 lines) — trimmed variant of the starter's: client, authModel, save+object2formdata, watch, logout. No webauthn. Uses $app/paths base.pocketbase/*.svelte — Paginator, LoginGuard, LoginForm, LoginBadge, ImgModal (simpler variants of the starter's).components/*.svelte — Alerts, DateShow, Dialog, FileInput, Nav, Spinner (subset of the starter's; same patterns).sk/src/routes/components/)A dev-only route that renders any src/lib/components/*.svelte in isolation with a live exports editor:
+layout.svelte — lists all components via import.meta.glob("/src/lib/components/**/*.svelte"), links each to /components/{path}.[...path]/+page.svelte — dynamically import()s the component and renders it inside ExportEditor.ExportEditor.svelte — reads component.$$.props, renders an Inputs control per prop, binds values into a bindings object.Inputs.svelte — input control (text/number/date via INPUT_TYPES in config.ts) with processor hooks.config.ts — remotePath writable (VSCode remote link), HTMLInputTypes type, INPUT_TYPES map.Remote.svelte — form to configure the "Open in VSCode" path.Use case: to quickly develop/test a component in isolation with interactive props. Pull the components/ route folder into any SvelteKit project.
pb/ — PocketBase/Go templatemain.go — custom PB binary: --publicDir flag, SPA static serving, jsvm.MustRegisterMigrations, migratecmd (JS templates), hooks.Register(app).hooks/hooks.go — Go audit-log + event-driven actions: reads a hooks collection (collection/event/disabled) and executes command/post actions against the record (JSON piped to stdin). Useful pattern for generic record-triggered automation.entrypoint.sh — build-if-needed (go build, tygo, modd) then exec "$@".tygo.yaml — Go→TypeScript type generation config.pb_migrations/*.js — JS collection-snapshot migrations.py/ (FastAPI) & rs/ (Axum)py/web.py — minimal FastAPI with configurable prefix (FASTAPI_PREFIX, default /apy).rs/ — Axum REST with SQLite (db.rs), file upload (upload.rs), experimental live-view (live.rs, livecrud.rs), static SPA serving.docker-compose.yml + entrypoint.sh${UID}:${GID}, expose not ports, entrypoint initializes (builds) then runs the container command. Pattern matches our own docker setup..opencode/tools/sql.tsbun:sqlite/@opencode-ai/plugin); READONLY for safety. Only relevant if we adopt opencode tooling.sk/src/lib (richer; the recipes versions are trimmed copies).components/ route.pb/pb_hooks.pb/, py/, rs/, docker-compose.yml.save()/object2formdata (both repos).$app/stores → $app/state (page object, not store).<style> → oat-css classes + tokens in src/app.css (--brand, --glow, --muted-text; NOT --accent/--muted which oat reserves).<i class="bx bx-*"> → inline SVG or text.export let/$: → runes ($props, $state, $derived, snippets {@render}).$derived var state → live (svelte2tsx crash).client/pb import path → $lib/pb (our app).events, entries, users).bun run check) + tests (bun test) after adapting.© spinspire, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/code-reuse of spinspire/pocketbase-sveltekit-starter.
Open the folder on GitHubat commit 66f6dee
Code Reuse next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Code Reuse this skillspinspire/pocketbase-sveltekit-starter | 511 | — | ~2.5k | Automated safety check: Notes | MIT | |
| Worklog Designregisx001/Worklog | 258 | — | ~3.3k | Automated safety check: Pass | MIT | |
| Weft FrontendWeaveMindAI/weft | 2k | — | ~8k | Automated safety check: Notes | Custom licence | |
| GSAP in Vue, Nuxt and Sveltegreensock/gsap-skills | 16k | 4 repos | ~2.6k | Automated safety check: Pass | MIT | |
| Svelte Core Best Practicesrilldata/rill | 2.9k | 4 repos | ~1.8k | Automated safety check: Pass | Apache-2.0 | |
| Svelte Code Writerkampsy/ui | 287 | 2 repos | ~490 | Automated safety check: Pass | MIT |
regisx001/Worklog
Design and UI skill for the Worklog desktop project manager.
WeaveMindAI/weft
Read when the user wants a page, app or site for the program, and before dispatching the frontend-builder: the verified scaffold commands, the default stack (pnpm, SvelteKit, PostgreSQL, BetterAuth…
greensock/gsap-skills
Shows how to use GSAP in Vue, Nuxt, Svelte and other lifecycle-based frameworks: create after mount, scope selectors to the component, and revert on unmount.
rilldata/rill
Rules for writing idiomatic Svelte 5 code: when to reach for runes like state, derived and effect, and how to handle props, attachments and bindings.
kampsy/ui
CLI tools for Svelte 5 documentation lookup and code analysis.
kampsy/ui
Consumer guide to build UIs with kampsy-ui (Svelte 5 + Tailwind v4, Geist-inspired).
spinspire/pocketbase-sveltekit-starter
Bun as runtime, package manager, bundler, and test runner. An agent skill from spinspire/pocketbase-sveltekit-starter.
spinspire/pocketbase-sveltekit-starter
Operate PocketBase via its REST API. An agent skill from spinspire/pocketbase-sveltekit-starter.
spinspire/pocketbase-sveltekit-starter
Extend PocketBase with custom hooks and routes in JS or Go. An agent skill from spinspire/pocketbase-sveltekit-starter.
spinspire/pocketbase-sveltekit-starter
A skill your agent uses when the user asks to make a site installable, turn it into a PWA, add a service worker, add a web app manifest, enable "add to home screen", or support offline.
spinspire/pocketbase-sveltekit-starter
Create distinctive, production-grade frontend interfaces with high design quality and accessible markup.
spinspire/pocketbase-sveltekit-starter
Docker Compose conventions — short service names, no root, no host ports in base compose, override files for local customisations.
Categories
A skill your agent uses when building a UI component, PocketBase hook, page, or app feature and there is proven code to copy from the reference repos. Code Reuse is an agent skill from spinspire/pocketbase-sveltekit-starter. Use when building a UI component, PocketBase hook, page, or app feature and there is proven code to copy from the reference repos.
Code Reuse fits situations like: building a UI component; pocketBase hook; app feature and there is proven code to copy from the reference repos.
Run `npx skills add spinspire/pocketbase-sveltekit-starter --skill code-reuse -a claude-code`. Or copy the skill folder (.agents/skills/code-reuse in spinspire/pocketbase-sveltekit-starter) into .claude/skills/code-reuse in your project. Claude Code loads it when a task matches its description.
Run `npx skills add spinspire/pocketbase-sveltekit-starter --skill code-reuse -a codex`. Or copy the skill folder (.agents/skills/code-reuse in spinspire/pocketbase-sveltekit-starter) into .agents/skills/code-reuse in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add spinspire/pocketbase-sveltekit-starter --skill code-reuse -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/code-reuse, .gemini/skills/code-reuse, .github/skills/code-reuse and .opencode/skills/code-reuse in your project.
Going by SKILL.md and its folder, Code Reuse needs the command-line tools its instructions call (bun). Our summary lists: Docker. Its frontmatter pre-approves these tools: Read, Glob, Grep, Bash.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Code Reuse is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.5k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Code Reuse: Worklog Design (regisx001/Worklog, 258 stars), Weft Frontend (WeaveMindAI/weft, 2k stars), GSAP in Vue, Nuxt and Svelte (greensock/gsap-skills, 16k stars) and Svelte Core Best Practices (rilldata/rill, 2.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
spinspire (a GitHub organization) maintains it in spinspire/pocketbase-sveltekit-starter, which has 511 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on August 22, 2026.
Source: spinspire/pocketbase-sveltekit-starter on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.