[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6R24BVXQKPFMMEXC0CQVJ1K":3,"skill-same:01M6R24BVXQKPFMMEXC0CQVJ1K":64},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":43,"commitSha":44,"skillDirectory":45,"forksCount":46,"repositoryHtmlUrl":47,"repositoryHomepageUrl":6,"ownerHtmlUrl":48,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":49,"install":50,"resources":63},"01M6R24BVXQKPFMMEXC0CQVJ1K","PocketBase Collections",null,"Collection and schema design for PocketBase. Use when creating collections, designing schemas, adding fields, setting up relations, or choosing between base\u002Fauth\u002Fview collection types. Prevents wrong field types, documents zero-default behavior, and covers relation cascading.","Mishit18\u002Fclaude-code-templates","Mishit18","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F244127857?v=4","01M6QXBYKWM76HSKYDNWSKKE41","Mishit Sharma","01M6QXBYRJ0CAVM51S1RTEKTZZ",1,"MIT","https:\u002F\u002Fgithub.com\u002FMishit18\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fpocketbase\u002Fpb-collections\u002FSKILL.md",[],[5,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"collections","pocketbase","default","when","fields","Wrong","for","types","base","design","up","schema","use","behavior","view","collection","ZeRO","documents","auth","2026-11-10 10:12:30",false,"---\nname: \"PocketBase Collections\"\ndescription: \"Collection and schema design for PocketBase. Use when creating collections, designing schemas, adding fields, setting up relations, or choosing between base\u002Fauth\u002Fview collection types. Prevents wrong field types, documents zero-default behavior, and covers relation cascading.\"\n---\n\n# PocketBase Collection & Schema Design\n\n## Collection Types\n\n### Base Collection\nStandard data collection. System fields: `id`, `created`, `updated`.\n\n### Auth Collection\nExtends base with authentication. Additional system fields: `email`, `emailVisibility`, `verified`, `password`, `tokenKey`.\n\nCannot delete system fields. Can disable email\u002Fpassword auth in collection options.\n\n### View Collection\nRead-only, backed by a SQL SELECT query. No create\u002Fupdate\u002Fdelete. Fields are auto-detected from the query. Useful for aggregations, joins, and computed views.\n\n```sql\n-- Example: view collection query\nSELECT p.id, p.title, COUNT(c.id) as comments_count\nFROM posts p LEFT JOIN comments c ON c.post = p.id\nGROUP BY p.id\n```\n\nView collections support API rules (list\u002Fview only) and can be used in relations.\n\n## Field Types\n\n| Type | Go type | Zero default | Notes |\n|------|---------|-------------|-------|\n| `text` | `string` | `\"\"` | min\u002Fmax length, regex pattern |\n| `editor` | `string` | `\"\"` | Rich text (sanitized HTML) |\n| `number` | `float64` | `0` | min\u002Fmax, `noDecimal` option |\n| `bool` | `bool` | `false` | |\n| `email` | `string` | `\"\"` | Auto-validated format |\n| `url` | `string` | `\"\"` | Auto-validated format |\n| `date` | `string` | `\"\"` | ISO 8601 (`2024-01-01 00:00:00.000Z`) |\n| `select` | `string`\u002F`[]string` | `\"\"`\u002F`[]` | `values` list, `maxSelect` |\n| `file` | `string`\u002F`[]string` | `\"\"`\u002F`[]` | `maxSelect`, `maxSize`, `mimeTypes` |\n| `relation` | `string`\u002F`[]string` | `\"\"`\u002F`[]` | `collectionId`, `cascadeDelete`, `maxSelect` |\n| `json` | `any` | `null` | Only type that can be null! `maxSize` |\n| `autodate` | `string` | auto | `onCreate`\u002F`onUpdate` modifiers |\n| `password` | `string` | `\"\"` | Stored hashed, never returned in API |\n\n**Critical**: all types default to their zero value, NOT null. Only `json` fields can be null.\n\n## Field Modifiers\n\nUse in collection schema definitions:\n\n- **`required`** — field cannot be empty\u002Fzero\n- **`unique`** — unique constraint (composite via unique indexes)\n- **`presentable`** — included in relation display\n- **`hidden`** — excluded from API responses unless explicitly requested\n- **`:autogenerate`** — for `text` fields: auto-generate value (e.g., slug from other field)\n\n## Relation Patterns\n\n### One-to-many\n```\nposts.author -> users (maxSelect: 1)\n```\nEach post has one author. Query posts by author: `author = \"USER_ID\"`.\n\n### Many-to-many\n```\nposts.tags -> tags (maxSelect: 0, meaning unlimited)\n```\nMulti-select relation. Filter: `tags ?= \"TAG_ID\"` (contains).\n\n### Back-relations\nNo explicit back-relation field needed. Use `@collection.posts.author` in API rules or expand from either side:\n```\nGET \u002Fapi\u002Fcollections\u002Fusers\u002Frecords\u002FUSER_ID?expand=posts_via_author\n```\n\n### Cascade Delete\nSet `cascadeDelete: true` on the relation field. When the referenced record is deleted, all records pointing to it are also deleted. Default is `false` (sets to empty string).\n\n### Self-referencing\nA collection can reference itself:\n```\ncategories.parent -> categories (maxSelect: 1)\n```\n\n## Indexes\n\n- Created in the collection settings (not field-level)\n- Format: `CREATE [UNIQUE] INDEX idx_name ON collection (field1, field2)`\n- Unique indexes enforce composite uniqueness\n- Partial indexes: `CREATE INDEX ... WHERE condition`\n- Indexes on relation fields improve join performance\n\n## Auth Collection Specifics\n\n### OAuth2\nEnable per-provider in collection settings. Each provider needs client ID + secret. PocketBase handles the full OAuth2 flow.\n\n### OTP (One-Time Password)\nEnable in auth collection settings. Sends code via email. Configure `otp.enabled`, `otp.duration`, `otp.length`.\n\n### MFA (Multi-Factor Authentication)\nEnable in auth collection settings. Requires a second factor after primary auth. `mfa.enabled`, `mfa.duration`, `mfa.rule` (filter to determine which users need MFA).\n\n### Password Auth\nEnabled by default. Can customize `minPasswordLength`. Can disable entirely if using only OAuth2\u002FOTP.\n\n### Auth Options\n- `authToken.duration` — token lifetime (seconds)\n- `passwordAuth.enabled` — toggle email\u002Fpassword\n- `passwordAuth.identityFields` — fields used for login (default: `email`; can add `username`)\n- `oauth2.enabled` — toggle OAuth2\n- `otp.enabled` — toggle OTP\n\n## Best Practices\n\n1. **Prefer `select` over `bool`** when there might be more than 2 states in the future\n2. **Use `relation` not `text`** for foreign keys — you get cascade, expand, and type safety\n3. **`json` fields** are schemaless — use sparingly, prefer typed fields\n4. **Name collections** in lowercase snake_case (e.g., `blog_posts`, `user_profiles`)\n5. **Index early** — add indexes for any field used in filters or sorts\n6. **`maxSelect: 1`** on relations returns a string ID; **`maxSelect: >1` or `0`** returns an array\n\n","# PocketBase Collection & Schema Design\n\n## Collection Types\n\n### Base Collection\nStandard data collection. System fields: `id`, `created`, `updated`.\n\n### Auth Collection\nExtends base with authentication. Additional system fields: `email`, `emailVisibility`, `verified`, `password`, `tokenKey`.\n\nCannot delete system fields. Can disable email\u002Fpassword auth in collection options.\n\n### View Collection\nRead-only, backed by a SQL SELECT query. No create\u002Fupdate\u002Fdelete. Fields are auto-detected from the query. Useful for aggregations, joins, and computed views.\n\n```sql\n-- Example: view collection query\nSELECT p.id, p.title, COUNT(c.id) as comments_count\nFROM posts p LEFT JOIN comments c ON c.post = p.id\nGROUP BY p.id\n```\n\nView collections support API rules (list\u002Fview only) and can be used in relations.\n\n## Field Types\n\n| Type | Go type | Zero default | Notes |\n|------|---------|-------------|-------|\n| `text` | `string` | `\"\"` | min\u002Fmax length, regex pattern |\n| `editor` | `string` | `\"\"` | Rich text (sanitized HTML) |\n| `number` | `float64` | `0` | min\u002Fmax, `noDecimal` option |\n| `bool` | `bool` | `false` | |\n| `email` | `string` | `\"\"` | Auto-validated format |\n| `url` | `string` | `\"\"` | Auto-validated format |\n| `date` | `string` | `\"\"` | ISO 8601 (`2024-01-01 00:00:00.000Z`) |\n| `select` | `string`\u002F`[]string` | `\"\"`\u002F`[]` | `values` list, `maxSelect` |\n| `file` | `string`\u002F`[]string` | `\"\"`\u002F`[]` | `maxSelect`, `maxSize`, `mimeTypes` |\n| `relation` | `string`\u002F`[]string` | `\"\"`\u002F`[]` | `collectionId`, `cascadeDelete`, `maxSelect` |\n| `json` | `any` | `null` | Only type that can be null! `maxSize` |\n| `autodate` | `string` | auto | `onCreate`\u002F`onUpdate` modifiers |\n| `password` | `string` | `\"\"` | Stored hashed, never returned in API |\n\n**Critical**: all types default to their zero value, NOT null. Only `json` fields can be null.\n\n## Field Modifiers\n\nUse in collection schema definitions:\n\n- **`required`** — field cannot be empty\u002Fzero\n- **`unique`** — unique constraint (composite via unique indexes)\n- **`presentable`** — included in relation display\n- **`hidden`** — excluded from API responses unless explicitly requested\n- **`:autogenerate`** — for `text` fields: auto-generate value (e.g., slug from other field)\n\n## Relation Patterns\n\n### One-to-many\n```\nposts.author -> users (maxSelect: 1)\n```\nEach post has one author. Query posts by author: `author = \"USER_ID\"`.\n\n### Many-to-many\n```\nposts.tags -> tags (maxSelect: 0, meaning unlimited)\n```\nMulti-select relation. Filter: `tags ?= \"TAG_ID\"` (contains).\n\n### Back-relations\nNo explicit back-relation field needed. Use `@collection.posts.author` in API rules or expand from either side:\n```\nGET \u002Fapi\u002Fcollections\u002Fusers\u002Frecords\u002FUSER_ID?expand=posts_via_author\n```\n\n### Cascade Delete\nSet `cascadeDelete: true` on the relation field. When the referenced record is deleted, all records pointing to it are also deleted. Default is `false` (sets to empty string).\n\n### Self-referencing\nA collection can reference itself:\n```\ncategories.parent -> categories (maxSelect: 1)\n```\n\n## Indexes\n\n- Created in the collection settings (not field-level)\n- Format: `CREATE [UNIQUE] INDEX idx_name ON collection (field1, field2)`\n- Unique indexes enforce composite uniqueness\n- Partial indexes: `CREATE INDEX ... WHERE condition`\n- Indexes on relation fields improve join performance\n\n## Auth Collection Specifics\n\n### OAuth2\nEnable per-provider in collection settings. Each provider needs client ID + secret. PocketBase handles the full OAuth2 flow.\n\n### OTP (One-Time Password)\nEnable in auth collection settings. Sends code via email. Configure `otp.enabled`, `otp.duration`, `otp.length`.\n\n### MFA (Multi-Factor Authentication)\nEnable in auth collection settings. Requires a second factor after primary auth. `mfa.enabled`, `mfa.duration`, `mfa.rule` (filter to determine which users need MFA).\n\n### Password Auth\nEnabled by default. Can customize `minPasswordLength`. Can disable entirely if using only OAuth2\u002FOTP.\n\n### Auth Options\n- `authToken.duration` — token lifetime (seconds)\n- `passwordAuth.enabled` — toggle email\u002Fpassword\n- `passwordAuth.identityFields` — fields used for login (default: `email`; can add `username`)\n- `oauth2.enabled` — toggle OAuth2\n- `otp.enabled` — toggle OTP\n\n## Best Practices\n\n1. **Prefer `select` over `bool`** when there might be more than 2 states in the future\n2. **Use `relation` not `text`** for foreign keys — you get cascade, expand, and type safety\n3. **`json` fields** are schemaless — use sparingly, prefer typed fields\n4. **Name collections** in lowercase snake_case (e.g., `blog_posts`, `user_profiles`)\n5. **Index early** — add indexes for any field used in filters or sorts\n6. **`maxSelect: 1`** on relations returns a string ID; **`maxSelect: >1` or `0`** returns an array\n\n",{"name":5,"description":7},"main","015422534a7457348a313b6381f0255d3364eb8c","cli-tool\u002Fcomponents\u002Fskills\u002Fpocketbase\u002Fpb-collections",0,"https:\u002F\u002Fgithub.com\u002FMishit18\u002Fclaude-code-templates","https:\u002F\u002Fgithub.com\u002FMishit18","2026-11-14 17:36:32",{"source":8,"skillName":5,"commands":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add Mishit18\u002Fclaude-code-templates --skill \"PocketBase Collections\"",{"tool":56,"command":57},"bunx","bunx skills add Mishit18\u002Fclaude-code-templates --skill \"PocketBase Collections\"",{"tool":59,"command":60},"pnpm","pnpm dlx skills add Mishit18\u002Fclaude-code-templates --skill \"PocketBase Collections\"","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMishit18\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fpocketbase\u002Fpb-collections\u002FSKILL.md",true,[],[65,92,118,138,164,174],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":69,"licenseFileUrl":70,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":91},"01M6R194Y2CS39V9VPAVRVW1ZV","skill-creation-guide","Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FMishit18\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fdevelopment\u002Fskill-creation-guide\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FMishit18\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fdevelopment\u002Fskill-creation-guide\u002FSKILL.md",[],[74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,25,90,22],"skill creation guide","guide","creation","skill creation","workflows","create","update","capabilities","knowledge","tool","integrations","specialized","new skill","existing skill","users","with","Existing","2026-11-11 15:11:14",{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":69,"licenseFileUrl":96,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":38},"01M6R4ARN4W2VZRDERDTMN1KP0","web-artifacts-builder","Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn\u002Fui). Use for complex artifacts requiring state management, routing, or shadcn\u002Fui components - not for simple single-file HTML\u002FJSX artifacts.","https:\u002F\u002Fgithub.com\u002FMishit18\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Futilities\u002Fweb-artifacts-builder\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FMishit18\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Futilities\u002Fweb-artifacts-builder\u002FSKILL.md",[],[100,101,102,103,104,105,106,107,108,109,110,111,112,113,31,114,115,116,25,117],"web artifacts builder","web","artifacts","artifacts builder","builder","frontend","css","components","react","routing","state management","state","file","Tailwind","single-file","ui components","multi","single",{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":69,"licenseFileUrl":122,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":38},"01M6R45GXREM5DP8T08MAC788H","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","https:\u002F\u002Fgithub.com\u002FMishit18\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fsecurity\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FMishit18\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fsecurity\u002Fwebapp-testing\u002FSKILL.md",[],[126,127,128,105,129,130,101,131,132,133,134,135,136,32,137,89,25],"testing","webapp testing","webapp","screenshots","playwright","debugging","toolkit","browser","ui","logs","applications","local",{"skillNo":139,"name":140,"nameZh":6,"description":141,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":142,"sourceHtmlUrl":143,"categories":144,"keywords":145,"publishedAt":38},"01M6R2GYJ470X8EB7R58V0B68K","think-tank","Run a Virtual Think Tank — a structured multi-persona debate — before planning or making architectural\u002Fdesign\u002Fstrategic decisions. Use this skill whenever the user is about to plan a system, make a technology choice, evaluate trade-offs, decide on an approach, or faces any decision where multiple perspectives would sharpen the outcome. Also trigger when the user says \"think tank\", \"debate this\", \"perspectives on\", \"trade-offs\", \"should I use X or Y\", \"help me decide\", \"before we plan\", or asks for pros\u002Fcons of competing approaches. This skill should run BEFORE any implementation planning begins — it produces a structured analysis that feeds into better plans.","https:\u002F\u002Fgithub.com\u002FMishit18\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fproductivity\u002Fthink-tank\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FMishit18\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fproductivity\u002Fthink-tank\u002FSKILL.md",[],[146,147,28,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,22],"think tank","think","run","feeds","analysis","persona","plan","sharpen","virtual","decision","choice","decide","perspectives","outcome","me","debate","make","trade-offs",{"skillNo":165,"name":166,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":69,"licenseFileUrl":167,"sourceHtmlUrl":168,"categories":169,"keywords":170,"publishedAt":38},"01M6R2FSR55AVRFA9YZ8SC2GZG","skill-creator","https:\u002F\u002Fgithub.com\u002FMishit18\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fproductivity\u002Fskill-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FMishit18\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fproductivity\u002Fskill-creator\u002FSKILL.md",[],[171,172,78,79,80,81,82,83,84,85,75,86,87,88,89,25,90,22,173],"skill creator","creator","new",{"skillNo":175,"name":176,"nameZh":6,"description":177,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":178,"categories":179,"keywords":180,"publishedAt":38},"01M6R2FK42ZZ4HJTJVVK9WJBBP","ship-learn-next","Transform learning content (like YouTube transcripts, articles, tutorials) into actionable implementation plans using the Ship-Learn-Next framework. Use when user wants to turn advice, lessons, or educational content into concrete action steps, reps, or a learning quest.","https:\u002F\u002Fgithub.com\u002FMishit18\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fproductivity\u002Fship-learn-next\u002FSKILL.md",[],[181,182,183,184,185,186,187,188,31,189,190,191,192,193,194,195,196,197,198,22],"learn","ship learn next","ship","next","framework","learning","read","write","advice","implementation","youtube","plans","quest","transform","actionable","action","lessons","youtube transcripts"]