pb-collections
Collection and schema design for PocketBase. Use when creating collections, designing schemas, adding fields, setting up relations, or choosing between base/auth/view collection types. Prevents wrong field types, documents zero-default behavior, and covers relation cascading.
Target: Design & content creation. Automatically collected · unverified.
Excerpt from the author’s documentation
Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.
Read the original English text
Topics in the source
- PocketBase Collection & Schema Design
- Collection Types
- Base Collection
- Auth Collection
- View Collection
- Field Types
- Field Modifiers
- Relation Patterns
Standard data collection. System fields: id, created, updated. Extends base with authentication. Additional system fields: email, emailVisibility, verified, password, tokenKey. Cannot delete system fields. Can disable email/password auth in collection options. Read-only, backed by a SQL SELECT query. No create/update/delete. Fields are auto-detected from the query. Useful for aggregations, joins, and computed views. View collections support API rules (list/view only) and can be used in relations. | Type | Go type | Zero default | Notes | |------|---------|-------------|-------| | text | string | "" | min/max length, regex pattern | | editor | string | "" | Rich text (sanitized HTML) | | number | float64 | 0 | min/max, noDecimal option | | bool | bool | false | | | email | string | "" | Auto-validated format | | url | string | "" | Auto-validated format | | date | string | "" | ISO 8601 (2024-01-01 00:00:00.000Z) | | select | string/[]string | ""/[] | values list, maxSelect | | file | string/[]string | ""/[] | maxSelect, maxSize, mimeTypes | | relation | string/[]string | ""/[] | collectionId, cascadeDelete, maxSelect | | json | any | null | Only type that can be null! maxSize | | a
This is an excerpt. Refer to the complete source and its current requirements.
- Source repository
- davila7/claude-code-templates
- Source file
- cli-tool/components/skills/pocketbase/pb-collections/SKILL.md
- Fixed revision
- 21be197f100a12b8d0dd9a211cc244c8179f84d3
Sources and evidence
This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.
Author: davila7/claude-code-templates · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-09T15:01:39.579Z.
Categories are inferred from names, descriptions and paths. They do not establish compatibility.
License and attribution
MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.
Original license ↗Synchronization, copying and user-reported success do not mark a resource as runtime-tested.
Limitations and notes
- Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.