[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AP8X8EP1SX7Z97N20K3AYS":3,"skill-same:01M7AP8X8EP1SX7Z97N20K3AYS":45},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M7AP8X8EP1SX7Z97N20K3AYS","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.","GongYuanCaiJi\u002Fdsh-claude-code-templates","GongYuanCaiJi","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F129952120?v=4","01M7AK39Q4W3VPF7C1K8M58BFX","劉昱廷 Yu-Ting Liu","01M7AK39QPS2RAJKRQY0EPQJPZ",0,"MIT","https:\u002F\u002Fgithub.com\u002FGongYuanCaiJi\u002Fdsh-claude-code-templates\u002Fblob\u002Fmain\u002Fskills\u002Fpocketbase\u002Fpb-collections\u002FSKILL.md",[],[],"2026-11-15 14:19:17",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","# 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",{"name":5,"description":7},"main","51493f354fd03e3f941d4df7fd64c0b8c7a2632d","skills\u002Fpocketbase\u002Fpb-collections","https:\u002F\u002Fgithub.com\u002FGongYuanCaiJi\u002Fdsh-claude-code-templates","https:\u002F\u002Fgithub.com\u002FGongYuanCaiJi","漏洞研究、根因分析、黑箱測試｜做 AI agent 工具｜Vulnerability research, root-cause analysis, AI agent tooling","2026-08-16 02:24:07",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add GongYuanCaiJi\u002Fdsh-claude-code-templates --skill \"PocketBase Collections\"",{"tool":37,"command":38},"bunx","bunx skills add GongYuanCaiJi\u002Fdsh-claude-code-templates --skill \"PocketBase Collections\"",{"tool":40,"command":41},"pnpm","pnpm dlx skills add GongYuanCaiJi\u002Fdsh-claude-code-templates --skill \"PocketBase Collections\"","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FGongYuanCaiJi\u002Fdsh-claude-code-templates\u002Fblob\u002Fmain\u002Fskills\u002Fpocketbase\u002Fpb-collections\u002FSKILL.md",true,[],[46,53,62,69,76,83],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":19},"01M7ARMYTZ5D4B7N5SKFXV345V","zapier-make-patterns","No-code automation democratizes workflow building. Zapier and Make (formerly Integromat) let non-developers automate business processes without writing code. But no-code doesn't mean no-complexity - these platforms have their own patterns, pitfalls, and breaking points.  This skill covers when to use which platform, how to build reliable automations, and when to graduate to code-based solutions. Key insight: Zapier optimizes for simplicity and integrations (7000+ apps), Make optimizes for power","https:\u002F\u002Fgithub.com\u002FGongYuanCaiJi\u002Fdsh-claude-code-templates\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow-automation\u002Fzapier-make-patterns\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":57,"licenseFileUrl":58,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M7ARMX1BVNEAR98SBANMDF2V","yeet","Use only when the user explicitly asks to stage, commit, push, and open a GitHub pull request in one flow using the GitHub CLI (`gh`).","Apache-2.0","https:\u002F\u002Fgithub.com\u002FGongYuanCaiJi\u002Fdsh-claude-code-templates\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow-automation\u002Fyeet\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FGongYuanCaiJi\u002Fdsh-claude-code-templates\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow-automation\u002Fyeet\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M7ARMPR4RQ417MG1HMPGNQHH","workflow-automation","Workflow automation is the infrastructure that makes AI agents reliable. Without durable execution, a network hiccup during a 10-step payment flow means lost money and angry customers. With it, workflows resume exactly where they left off.  This skill covers the platforms (n8n, Temporal, Inngest) and patterns (sequential, parallel, orchestrator-worker) that turn brittle scripts into production-grade automation.  Key insight: The platforms make different tradeoffs. n8n optimizes for accessibility","https:\u002F\u002Fgithub.com\u002FGongYuanCaiJi\u002Fdsh-claude-code-templates\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow-automation\u002Fworkflow-automation\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M7ARMHBERDMKGDMV7K6MQ6YP","trigger-dev","Trigger.dev expert for background jobs, AI workflows, and reliable async execution with excellent developer experience and TypeScript-first design. Use when: trigger.dev, trigger dev, background task, ai background job, long running task.","https:\u002F\u002Fgithub.com\u002FGongYuanCaiJi\u002Fdsh-claude-code-templates\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow-automation\u002Ftrigger-dev\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M7ARME0A7KFT330Q2H25HE2B","slack-automation","Automate Slack workspace operations including messaging, search, channel management, and reaction workflows through Composio's Slack toolkit.","https:\u002F\u002Fgithub.com\u002FGongYuanCaiJi\u002Fdsh-claude-code-templates\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow-automation\u002Fslack-automation\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7ARM8D87V18WDG0GEZS11ZT","planning-with-files","Transforms workflow to use Manus-style persistent markdown files for planning, progress tracking, and knowledge storage. Use when starting complex tasks, multi-step projects, research tasks, or when the user mentions planning, organizing work, tracking progress, or wants structured output.","https:\u002F\u002Fgithub.com\u002FGongYuanCaiJi\u002Fdsh-claude-code-templates\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow-automation\u002Fplanning-with-files\u002FSKILL.md",[],[]]