Configuring Horizon
coollabsio/coolify
A skill your agent uses whenever the user mentions Horizon by name in a Laravel context.
Extend PocketBase with custom hooks and routes in JS or Go. An agent skill from spinspire/pocketbase-sveltekit-starter.
$ npx skills add spinspire/pocketbase-sveltekit-starter --skill pb-extend -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install spinspire/pocketbase-sveltekit-starter pb-extend --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/pb-extend .claude/skills/pb-extend && 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 "pb-extend" agent skill from https://github.com/spinspire/pocketbase-sveltekit-starter/tree/master/.agents/skills/pb-extend into .claude/skills/pb-extend/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pb-extend", 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/pb-extendType 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 pb-extend -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install spinspire/pocketbase-sveltekit-starter pb-extend --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/pb-extend .agents/skills/pb-extend && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "pb-extend" agent skill from https://github.com/spinspire/pocketbase-sveltekit-starter/tree/master/.agents/skills/pb-extend into .agents/skills/pb-extend/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pb-extend", 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 pb-extend -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install spinspire/pocketbase-sveltekit-starter pb-extend --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/pb-extend .cursor/skills/pb-extend && 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 "pb-extend" agent skill from https://github.com/spinspire/pocketbase-sveltekit-starter/tree/master/.agents/skills/pb-extend into .cursor/skills/pb-extend/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pb-extend", 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/pb-extend--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 pb-extend -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install spinspire/pocketbase-sveltekit-starter pb-extend --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/pb-extend .gemini/skills/pb-extend && 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 "pb-extend" agent skill from https://github.com/spinspire/pocketbase-sveltekit-starter/tree/master/.agents/skills/pb-extend into .gemini/skills/pb-extend/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pb-extend", 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 pb-extendInstalls 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 pb-extend -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/pb-extend .github/skills/pb-extend && 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 "pb-extend" agent skill from https://github.com/spinspire/pocketbase-sveltekit-starter/tree/master/.agents/skills/pb-extend into .github/skills/pb-extend/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pb-extend", 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 pb-extend -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 pb-extend --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/pb-extend .opencode/skills/pb-extend && 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 "pb-extend" agent skill from https://github.com/spinspire/pocketbase-sveltekit-starter/tree/master/.agents/skills/pb-extend into .opencode/skills/pb-extend/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pb-extend", 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.
pb-extendExtend PocketBase with custom hooks and routes in JS or Go. An agent skill from spinspire/pocketbase-sveltekit-starter.
Pb Extend is an agent skill from spinspire/pocketbase-sveltekit-starter. Extend PocketBase with custom hooks and routes in JS or Go. Use when user wants to add custom API routes, modify PocketBase behavior, or add server-side logic.
Its SKILL.md is about 690 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 Backend & APIs, covering Backend development. The repository describes itself as: a starter project to build a SvelteKit frontend with PocketBase backend. The licence is MIT.
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:
BashFrom allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are javascript and go).
From the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
pocketbase.ioFrom 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.
Pb Extend loads about 689 tokens when it runs. Until then it costs about 42 tokens; SKILL.md has 117 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: 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). 117 words, ~689 tokens.
.claude/skills/pb-extend/SKILL.md (or your agent's skills folder).Reference: https://pocketbase.io/docs/js-overview/ | https://pocketbase.io/docs/go-overview/
Extend PocketBase with custom hooks and routes in JS or Go.
Drop *.pb.js files in pb_hooks/:
// pb_hooks/myhook.pb.js
/// <reference path="../pb_data/types.d.ts" />
router.api.post('/custom-route', async (e) => {
const body = e.request.body
// ... process
return e.json({ result: 'ok' })
})
// On record create
onRecordCreateRequest((e) => {
if (!e.record.get('email').endsWith('@company.com')) {
return e.badRequest('Use company email')
}
return e.next()
})Rules:
e.next() / e.Next() in hooksrequire() for shared config (CJS only, no ESM)Versioned migrations in migrations/:
package migrations
import (
"github.com/pocketbase/pocketbase/migrations"
"github.com/pocketbase/pocketbase/tools/types"
)
func init() {
migrations.Register(func(app *pocketbase.App) error {
// Custom logic
return nil
}, func(app *pocketbase.App) error {
// Rollback logic
return nil
})
}// Add to pb_hooks
router.api.post('/api/myapp/send-email', async (e) => {
const data = await e.request.json()
await sendEmail(data.to, data.subject)
return e.json({ sent: true })
}, middleware.RequireAuth())| Event | Purpose |
|---|---|
onRecordCreateRequest | Before record creation |
onRecordUpdateRequest | Before record update |
onRecordDeleteRequest | Before record deletion |
OnRecordEnrich | Shape response (incl. realtime) |
OnRecordRequest | HTTP-only response shaping |
OnBeforeServe | Modify router before serving |
System fields: Collections created via migration files must include created and updated system fields.
Auto-migrate: Collections changed via Admin UI auto-generate migrations in pb_migrations/
Manual JS migration:
// pb_migrations/1700000000_seed_data.js
migrate((up, down) => {
up((db) => {
db.createCollection('categories', { /* ... */ })
})
down((db) => {
db.dropCollection('categories')
})
})// Read at runtime
const settings = require('../pb_settings/config.js')
// Access app in hooks
router.use(async (e) => {
const app = e.app
// ...
})© 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/pb-extend of spinspire/pocketbase-sveltekit-starter.
Open the folder on GitHubat commit 66f6dee
Pb Extend 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 |
|---|---|---|---|---|---|---|
| Pb Extend this skillspinspire/pocketbase-sveltekit-starter | 511 | — | ~689 | Automated safety check: Notes | MIT | |
| Configuring Horizoncoollabsio/coolify | 63k | 4 repos | ~898 | Automated safety check: Pass | MIT | |
| Fortify Developmentcoollabsio/coolify | 63k | 4 repos | ~1.9k | Automated safety check: Pass | MIT | |
| Node Backend Development Guidelinesdiet103/claude-code-infrastructure-showcase | 10k | 2 repos | ~2k | Automated safety check: Pass | MIT | |
| Laravel Best Practicesanonaddy/anonaddy | 4.9k | 13 repos | ~1.2k | Automated safety check: Pass | MIT | |
| Laravel Actionscoollabsio/coolify | 63k | — | ~2.4k | Automated safety check: Pass | Apache-2.0 |
coollabsio/coolify
A skill your agent uses whenever the user mentions Horizon by name in a Laravel context.
coollabsio/coolify
ACTIVATE when the user works on authentication in Laravel. An agent skill from coollabsio/coolify.
diet103/claude-code-infrastructure-showcase
Sets layered architecture and coding rules for Node.js, Express and TypeScript microservices, covering routes, controllers, services, repositories, Prisma, Sentry and Zod.
anonaddy/anonaddy
Apply this skill whenever writing, reviewing, or refactoring Laravel PHP code.
coollabsio/coolify
Build, refactor, and troubleshoot Laravel Actions using lorisleiva/laravel-actions.
ever-works/ever-works
Build production-ready Node.js backend services with Express/Fastify, implementing middleware patterns, error handling, authentication, database integration, and API design best practices.
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
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
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.
spinspire/pocketbase-sveltekit-starter
Docker Compose conventions — short service names, no root, no host ports in base compose, override files for local customisations.
Categories
Extend PocketBase with custom hooks and routes in JS or Go. An agent skill from spinspire/pocketbase-sveltekit-starter. Pb Extend is an agent skill from spinspire/pocketbase-sveltekit-starter. Extend PocketBase with custom hooks and routes in JS or Go.
Pb Extend fits situations like: user wants to add custom API routes; modify PocketBase behavior; add server-side logic.
Run `npx skills add spinspire/pocketbase-sveltekit-starter --skill pb-extend -a claude-code`. Or copy the skill folder (.agents/skills/pb-extend in spinspire/pocketbase-sveltekit-starter) into .claude/skills/pb-extend in your project. Claude Code loads it when a task matches its description.
Run `npx skills add spinspire/pocketbase-sveltekit-starter --skill pb-extend -a codex`. Or copy the skill folder (.agents/skills/pb-extend in spinspire/pocketbase-sveltekit-starter) into .agents/skills/pb-extend 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 pb-extend -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pb-extend, .gemini/skills/pb-extend, .github/skills/pb-extend and .opencode/skills/pb-extend in your project.
SKILL.md names no scripts, command-line tools or credentials: Pb Extend is instructions for the agent only. Its frontmatter pre-approves these tools: Bash.
SKILL.md names 1 domain. As links in the text: pocketbase.io. 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.
Pb Extend is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 689 tokens (SKILL.md is roughly 2.8k 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 Pb Extend: Configuring Horizon (coollabsio/coolify, 63k stars), Fortify Development (coollabsio/coolify, 63k stars), Node Backend Development Guidelines (diet103/claude-code-infrastructure-showcase, 10k stars) and Laravel Best Practices (anonaddy/anonaddy, 4.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.