[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M758S3PQHPD1SQ5GG3A652K9":3,"skill-same:01M758S3PQHPD1SQ5GG3A652K9":46},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":28,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M758S3PQHPD1SQ5GG3A652K9","plugin-architecture",null,"Build pluggable authentication features using the plugin system with initialization, migrations, routes, and service registration.","CliqRelay\u002Fcliqrelay","CliqRelay","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F290753656?v=4","01M758RPDEB11FEYA2XK17DSHA","01M758RPEKP0NKH6P43GD2FBDG",41,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FCliqRelay\u002Fcliqrelay\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fbackend\u002Fplugin-architecture\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: plugin-architecture\ndescription: Build pluggable authentication features using the plugin system with initialization, migrations, routes, and service registration.\n---\n\n# Plugin Architecture & Lifecycle\n\n## When to use this skill\n\n- Create new authentication plugins (OAuth2, Magic Link, JWT, etc.)\n- Extend authentication with custom features\n- Define plugin configuration and metadata\n- Handle plugin initialization, migrations, and lifecycle\n- Provide HTTP routes through a plugin\n- Hook into core authentication events\n\n## Key principles\n\n1. **Interface-driven**: Plugins implement optional interfaces\n2. **Composition**: Dependencies via context, not inheritance\n3. **Self-contained**: Each plugin has its own services, repositories, handlers\n4. **Lazy initialization**: Heavy operations in Init(), not constructors\n5. **Event-driven**: Plugins hook into core events\n6. **Service registry**: Plugins register services for other plugins\n\n## Pattern\n\nPlugin lifecycle:\n\n- Define metadata (ID, name, version)\n- Implement Init to retrieve services, create repositories\u002Fservices\n- Implement optional Routes, Migrations, Middleware\n- Register custom services with registry\n- Implement Close for cleanup\n\n## Example\n\nSee [plugins\u002Femail-password\u002Fplugin.go](..\u002F..\u002F..\u002Fplugins\u002Femail-password\u002Fplugin.go) for:\n\n- EmailPasswordPlugin metadata and Init pattern\n- Service retrieval and registration\n- Routes definition and handler wiring\n- Lifecycle management (Close)\n\n## Common mistakes\n\n1. Initializing in constructor instead of Init()\n2. Not retrieving services from registry (use Get with type assertion)\n3. Forgetting type assertions on service retrieval\n4. Registering services with wrong names\n5. Not implementing Close()\n6. Direct plugin-to-plugin dependencies instead of service registry\n7. Not handling initialization errors\n\n## References\n\n- [plugins\u002Femail-password\u002Fplugin.go](..\u002F..\u002F..\u002Fplugins\u002Femail-password\u002Fplugin.go) - Email-password plugin\n- [plugins\u002Fjwt\u002Fplugin.go](..\u002F..\u002F..\u002Fplugins\u002Fjwt\u002Fplugin.go) - JWT plugin\n- [internal\u002Fbootstrap\u002Fplugin_factory.go](..\u002F..\u002F..\u002Finternal\u002Fbootstrap\u002Fplugin_factory.go) - Plugin factory\n","# Plugin Architecture & Lifecycle\n\n## When to use this skill\n\n- Create new authentication plugins (OAuth2, Magic Link, JWT, etc.)\n- Extend authentication with custom features\n- Define plugin configuration and metadata\n- Handle plugin initialization, migrations, and lifecycle\n- Provide HTTP routes through a plugin\n- Hook into core authentication events\n\n## Key principles\n\n1. **Interface-driven**: Plugins implement optional interfaces\n2. **Composition**: Dependencies via context, not inheritance\n3. **Self-contained**: Each plugin has its own services, repositories, handlers\n4. **Lazy initialization**: Heavy operations in Init(), not constructors\n5. **Event-driven**: Plugins hook into core events\n6. **Service registry**: Plugins register services for other plugins\n\n## Pattern\n\nPlugin lifecycle:\n\n- Define metadata (ID, name, version)\n- Implement Init to retrieve services, create repositories\u002Fservices\n- Implement optional Routes, Migrations, Middleware\n- Register custom services with registry\n- Implement Close for cleanup\n\n## Example\n\nSee [plugins\u002Femail-password\u002Fplugin.go](..\u002F..\u002F..\u002Fplugins\u002Femail-password\u002Fplugin.go) for:\n\n- EmailPasswordPlugin metadata and Init pattern\n- Service retrieval and registration\n- Routes definition and handler wiring\n- Lifecycle management (Close)\n\n## Common mistakes\n\n1. Initializing in constructor instead of Init()\n2. Not retrieving services from registry (use Get with type assertion)\n3. Forgetting type assertions on service retrieval\n4. Registering services with wrong names\n5. Not implementing Close()\n6. Direct plugin-to-plugin dependencies instead of service registry\n7. Not handling initialization errors\n\n## References\n\n- [plugins\u002Femail-password\u002Fplugin.go](..\u002F..\u002F..\u002Fplugins\u002Femail-password\u002Fplugin.go) - Email-password plugin\n- [plugins\u002Fjwt\u002Fplugin.go](..\u002F..\u002F..\u002Fplugins\u002Fjwt\u002Fplugin.go) - JWT plugin\n- [internal\u002Fbootstrap\u002Fplugin_factory.go](..\u002F..\u002F..\u002Finternal\u002Fbootstrap\u002Fplugin_factory.go) - Plugin factory\n",{"name":5,"description":7},"main","f06510bcaf955afc66bbbc1606871e1a1576492e",".agents\u002Fskills\u002Fbackend\u002Fplugin-architecture",0,"https:\u002F\u002Fgithub.com\u002FCliqRelay\u002Fcliqrelay","https:\u002F\u002Fcliqrelay.com","https:\u002F\u002Fgithub.com\u002FCliqRelay","Capture and refine workflows instantly to help your teams and AI agents perform at their best.","2026-11-04 22:56:05",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add CliqRelay\u002Fcliqrelay --skill plugin-architecture",{"tool":38,"command":39},"bunx","bunx skills add CliqRelay\u002Fcliqrelay --skill plugin-architecture",{"tool":41,"command":42},"pnpm","pnpm dlx skills add CliqRelay\u002Fcliqrelay --skill plugin-architecture","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FCliqRelay\u002Fcliqrelay\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fbackend\u002Fplugin-architecture\u002FSKILL.md",true,[],[47,54,61,68,75,82],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":18},"01M758WG0JG18W5MZD6ZPM6PGG","typst","Typst document creation and package development. Use when: (1) Working with .typ files, (2) User mentions typst, typst.toml, or typst-cli, (3) Creating or using Typst packages, (4) Developing document templates, (5) Converting Markdown\u002FLaTeX to Typst","https:\u002F\u002Fgithub.com\u002FCliqRelay\u002Fcliqrelay\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypst\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":18},"01M758WACKQMHG2BFF7T758J12","shadcn","Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI. Provides project context, component docs, and usage examples. Applies when working with shadcn\u002Fui, component registries, presets, --preset codes, or any project with a components.json file. Also triggers for \"shadcn init\", \"create an app with --preset\", or \"switch to --preset\".","https:\u002F\u002Fgithub.com\u002FCliqRelay\u002Fcliqrelay\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fshadcn\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":18},"01M758W82G2QQ5Q14FKYNHRXQW","handoff","Compact the current conversation into a handoff document for another agent to pick up.","https:\u002F\u002Fgithub.com\u002FCliqRelay\u002Fcliqrelay\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fproductivity\u002Fhandoff\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":18},"01M758W63H60EK55A93199B6NR","grilling","Grill the user relentlessly about a plan, decision, or idea. Use when the user wants to stress-test their thinking, or uses any 'grill' trigger phrases.","https:\u002F\u002Fgithub.com\u002FCliqRelay\u002Fcliqrelay\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fproductivity\u002Fgrilling\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":18},"01M758W4HD4PF66929V7MDGKW8","grill-me","A relentless interview to sharpen a plan or design.","https:\u002F\u002Fgithub.com\u002FCliqRelay\u002Fcliqrelay\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fproductivity\u002Fgrill-me\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":18},"01M758VYC5CCTP7EA5VKE7YWM5","dont-waffle","Use this skill when answering questions, explaining concepts, writing technical responses, reviewing code, or helping with development tasks. Communicate in clear, simple, standard English. Keep answers concise and focused, remove unnecessary filler and repetition, explain technical ideas in plain language, and structure information so it is easy to read and understand. When showing code, present it clearly with enough context for the developer to understand what it does and where it belongs.","https:\u002F\u002Fgithub.com\u002FCliqRelay\u002Fcliqrelay\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fproductivity\u002Fdont-waffle\u002FSKILL.md",[],[]]