AgentSkillsCN

gadget-best-practices

掌握 Gadget 开发的最佳实践。适用于开发者在模型、操作、路由、访问控制、Shopify/BigCommerce 集成、前端模式、API 使用、权限管理,或框架选型等方面需要指导时。当用户提及“模型”、“操作”、“路由”、“权限”、“访问控制”、“多租户”、“Shopify”、“BigCommerce”、“前端”、“API 客户端”、“过滤器”、“分页”、“Webhook”、“后台任务”时,此技能将自动触发。

SKILL.md
--- frontmatter
name: gadget-best-practices
description: Best practices for building with Gadget. Use when developers need guidance on models, actions, routes, access control, Shopify/BigCommerce integrations, frontend patterns, API usage, permissions, or framework decisions. Triggers "model", "action", "route", "permission", "access control", "multi-tenancy", "Shopify", "BigCommerce", "frontend", "API client", "filter", "pagination", "webhook", "background job"

How to use

This skill provides quick reference patterns and best practices for building with Gadget.

📖 Resources:

Read individual rule files for detailed explanations and code examples:

Core Data Modeling

Backend Logic

Access Control & Security

Platform Integrations

Frontend Development

Development Workflow

API & Authentication