[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M76W0451GGVNXV5FH71S0RAC":3,"skill-same:01M76W0451GGVNXV5FH71S0RAC":112},{"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":28,"commitSha":29,"skillDirectory":30,"forksCount":14,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":33,"ownerDescription":34,"updatedAt":35,"install":36,"resources":49},"01M76W0451GGVNXV5FH71S0RAC","drizzle",null,"Rules, standards, and references for Drizzle ORM query styles, performance optimization, type safety, and Drizzle Kit CLI\u002FMCP tooling automation. Use when writing Drizzle queries, defining database services, or configuring migration automation.","ngxccc\u002Fagent-skills-kit","ngxccc","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F163379246?v=4","01M758XVG64QK26AGK0WKB26TB","Ngoc Tran","01M758XVHB8J6MHV0YTBVDBXCA",0,"MIT","https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Fdrizzle\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: drizzle\ndescription: Rules, standards, and references for Drizzle ORM query styles, performance optimization, type safety, and Drizzle Kit CLI\u002FMCP tooling automation. Use when writing Drizzle queries, defining database services, or configuring migration automation.\nlicense: MIT\nargument-hint: \"[--table \u003Cstring>] [--query-type \u003Cstring>]\"\nmetadata:\n  author: ngxc\n  version: 1.1.0\n---\n\n# Drizzle ORM Best Practices\n\nComprehensive guide for writing type-safe, high-performance database queries and services using Drizzle ORM and Drizzle Kit. Contains 14 rules across 8 categories, prioritized by impact from critical (setup, schemas, type safety) to high\u002Fmedium (query selection, performance, tooling automation).\n\n## When to Apply\n\nReference these guidelines when:\n\n- Defining database services and interfaces.\n- Writing read\u002Fwrite operations with Drizzle ORM.\n- Designing Data Transfer Objects (DTOs) and API boundary types.\n- Deciding between Drizzle Relational Queries (`db.query`) and Core SQL Queries (`db.select`).\n- Handling database query failures and non-existent records.\n- Automating database migrations with Drizzle Kit CLI, SDK, or MCP server.\n\n## Rule Categories by Priority\n\n| Priority | Category                  | Impact   | Prefix                  | Rules |\n| -------- | ------------------------- | -------- | ----------------------- | ----- |\n| 1        | DTO & Schema Isolation    | CRITICAL | `dto-`                  | 1     |\n| 2        | Type Safety & Unions      | CRITICAL | `type-`                 | 1     |\n| 3        | Transactions & Locking    | CRITICAL | `lock-`                 | 1     |\n| 4        | Schema & Relations Config | CRITICAL | `schema-`, `relations-` | 2     |\n| 5        | Query Selection & YAGNI   | HIGH     | `select-`               | 3     |\n| 6        | Query Style & Performance | HIGH     | `style-`                | 4     |\n| 7        | Error Handling            | MEDIUM   | `error-`                | 1     |\n| 8        | Tooling & MCP Automation  | HIGH     | `drizzle-kit-`          | 1     |\n\n## Quick Reference\n\n### 1. DTO & Schema Isolation (CRITICAL)\n\n- [dto-omit-for-objects](references\u002Fdto-omit-for-objects.md) - Define DTOs using Omit on Object types to isolate database schemas from presentation layers.\n\n### 2. Type Safety & Unions (CRITICAL)\n\n- [type-union-exclude](references\u002Ftype-union-exclude.md) - Use Exclude for filtering string literal union types and Omit for object types.\n\n### 3. Transactions & Locking (CRITICAL)\n\n- [lock-pessimistic-row](references\u002Flock-pessimistic-row.md) - Use pessimistic row locking in transactions to prevent concurrent write hazards.\n\n### 4. Schema & Relations Config (CRITICAL)\n\n- [schema-creation](references\u002Fschema-creation.md) - Use snakeCase.table for automatic case conversion and mix in baseEntity\u002FfullEntity helpers.\n- [relations-configuration](references\u002Frelations-configuration.md) - Centralize table relations using defineRelations with explicit from, to, optional, and alias parameters.\n\n### 5. Query Selection & YAGNI (HIGH)\n\n- [select-yagni-returning](references\u002Fselect-yagni-returning.md) - Explicitly select columns mapping to DTOs and apply YAGNI to returning clauses.\n- [select-returning-caller-fields](references\u002Fselect-returning-caller-fields.md) - Select and return only the columns callers actually access; default unused returns to id only.\n- [select-insert-from-select](references\u002Fselect-insert-from-select.md) - Omit default columns and leverage column-order independence in `db.insert().select()` queries.\n\n### 6. Query Style & Performance (HIGH)\n\n- [style-query-vs-select](references\u002Fstyle-query-vs-select.md) - Prefer Core select queries for flat lookups and Relational queries for deeply nested relation hydration.\n- [style-where-sql-expression](references\u002Fstyle-where-sql-expression.md) - Never pass raw SQL expressions directly to Relational Query where clauses.\n- [style-conditional-aggregation](references\u002Fstyle-conditional-aggregation.md) - Use conditional aggregation via CASE WHEN to consolidate multiple aggregate queries into a single query.\n- [style-typed-sql-nullable](references\u002Fstyle-typed-sql-nullable.md) - Use type-safe `mapWith()` callbacks and chain `.nullable()` on raw SQL expressions to preserve nullability.\n\n### 7. Error Handling (MEDIUM)\n\n- [error-handling-undefined-vs-throw](references\u002Ferror-handling-undefined-vs-throw.md) - Return undefined for missing records in read-only queries and throw for write\u002Fupdate\u002Finvariant failures.\n\n### 8. Tooling & MCP Automation (HIGH)\n\n- [drizzle-kit-cli-mcp](references\u002Fdrizzle-kit-cli-mcp.md) - Automate migration workflows with `--output json`, `--hints`, `@drizzle-kit\u002Fcli` SDK, and stdio MCP server (`drizzle-kit mcp`).\n\n## How to Use\n\nRead individual reference files for detailed guidelines, configurations, and code examples:\n\n- [dto-omit-for-objects](references\u002Fdto-omit-for-objects.md)\n- [type-union-exclude](references\u002Ftype-union-exclude.md)\n- [lock-pessimistic-row](references\u002Flock-pessimistic-row.md)\n- [select-yagni-returning](references\u002Fselect-yagni-returning.md)\n- [select-returning-caller-fields](references\u002Fselect-returning-caller-fields.md)\n- [select-insert-from-select](references\u002Fselect-insert-from-select.md)\n- [style-query-vs-select](references\u002Fstyle-query-vs-select.md)\n- [style-where-sql-expression](references\u002Fstyle-where-sql-expression.md)\n- [style-conditional-aggregation](references\u002Fstyle-conditional-aggregation.md)\n- [style-typed-sql-nullable](references\u002Fstyle-typed-sql-nullable.md)\n- [error-handling-undefined-vs-throw](references\u002Ferror-handling-undefined-vs-throw.md)\n- [schema-creation](references\u002Fschema-creation.md)\n- [relations-configuration](references\u002Frelations-configuration.md)\n- [drizzle-kit-cli-mcp](references\u002Fdrizzle-kit-cli-mcp.md)\n\n## Full Compiled Document\n\nFor the complete guide with all rules expanded: [AGENTS.md](AGENTS.md)\n\n## References\n\n- [Drizzle ORM Official Documentation](https:\u002F\u002Form.drizzle.team\u002F)\n- [Drizzle Prepared Statements](https:\u002F\u002Form.drizzle.team\u002Fdocs\u002Fperf-queries)\n- [TypeScript Utility Types Guide](https:\u002F\u002Fwww.typescriptlang.org\u002Fdocs\u002Fhandbook\u002Futility-types.html)\n","# Drizzle ORM Best Practices\n\nComprehensive guide for writing type-safe, high-performance database queries and services using Drizzle ORM and Drizzle Kit. Contains 14 rules across 8 categories, prioritized by impact from critical (setup, schemas, type safety) to high\u002Fmedium (query selection, performance, tooling automation).\n\n## When to Apply\n\nReference these guidelines when:\n\n- Defining database services and interfaces.\n- Writing read\u002Fwrite operations with Drizzle ORM.\n- Designing Data Transfer Objects (DTOs) and API boundary types.\n- Deciding between Drizzle Relational Queries (`db.query`) and Core SQL Queries (`db.select`).\n- Handling database query failures and non-existent records.\n- Automating database migrations with Drizzle Kit CLI, SDK, or MCP server.\n\n## Rule Categories by Priority\n\n| Priority | Category                  | Impact   | Prefix                  | Rules |\n| -------- | ------------------------- | -------- | ----------------------- | ----- |\n| 1        | DTO & Schema Isolation    | CRITICAL | `dto-`                  | 1     |\n| 2        | Type Safety & Unions      | CRITICAL | `type-`                 | 1     |\n| 3        | Transactions & Locking    | CRITICAL | `lock-`                 | 1     |\n| 4        | Schema & Relations Config | CRITICAL | `schema-`, `relations-` | 2     |\n| 5        | Query Selection & YAGNI   | HIGH     | `select-`               | 3     |\n| 6        | Query Style & Performance | HIGH     | `style-`                | 4     |\n| 7        | Error Handling            | MEDIUM   | `error-`                | 1     |\n| 8        | Tooling & MCP Automation  | HIGH     | `drizzle-kit-`          | 1     |\n\n## Quick Reference\n\n### 1. DTO & Schema Isolation (CRITICAL)\n\n- [dto-omit-for-objects](references\u002Fdto-omit-for-objects.md) - Define DTOs using Omit on Object types to isolate database schemas from presentation layers.\n\n### 2. Type Safety & Unions (CRITICAL)\n\n- [type-union-exclude](references\u002Ftype-union-exclude.md) - Use Exclude for filtering string literal union types and Omit for object types.\n\n### 3. Transactions & Locking (CRITICAL)\n\n- [lock-pessimistic-row](references\u002Flock-pessimistic-row.md) - Use pessimistic row locking in transactions to prevent concurrent write hazards.\n\n### 4. Schema & Relations Config (CRITICAL)\n\n- [schema-creation](references\u002Fschema-creation.md) - Use snakeCase.table for automatic case conversion and mix in baseEntity\u002FfullEntity helpers.\n- [relations-configuration](references\u002Frelations-configuration.md) - Centralize table relations using defineRelations with explicit from, to, optional, and alias parameters.\n\n### 5. Query Selection & YAGNI (HIGH)\n\n- [select-yagni-returning](references\u002Fselect-yagni-returning.md) - Explicitly select columns mapping to DTOs and apply YAGNI to returning clauses.\n- [select-returning-caller-fields](references\u002Fselect-returning-caller-fields.md) - Select and return only the columns callers actually access; default unused returns to id only.\n- [select-insert-from-select](references\u002Fselect-insert-from-select.md) - Omit default columns and leverage column-order independence in `db.insert().select()` queries.\n\n### 6. Query Style & Performance (HIGH)\n\n- [style-query-vs-select](references\u002Fstyle-query-vs-select.md) - Prefer Core select queries for flat lookups and Relational queries for deeply nested relation hydration.\n- [style-where-sql-expression](references\u002Fstyle-where-sql-expression.md) - Never pass raw SQL expressions directly to Relational Query where clauses.\n- [style-conditional-aggregation](references\u002Fstyle-conditional-aggregation.md) - Use conditional aggregation via CASE WHEN to consolidate multiple aggregate queries into a single query.\n- [style-typed-sql-nullable](references\u002Fstyle-typed-sql-nullable.md) - Use type-safe `mapWith()` callbacks and chain `.nullable()` on raw SQL expressions to preserve nullability.\n\n### 7. Error Handling (MEDIUM)\n\n- [error-handling-undefined-vs-throw](references\u002Ferror-handling-undefined-vs-throw.md) - Return undefined for missing records in read-only queries and throw for write\u002Fupdate\u002Finvariant failures.\n\n### 8. Tooling & MCP Automation (HIGH)\n\n- [drizzle-kit-cli-mcp](references\u002Fdrizzle-kit-cli-mcp.md) - Automate migration workflows with `--output json`, `--hints`, `@drizzle-kit\u002Fcli` SDK, and stdio MCP server (`drizzle-kit mcp`).\n\n## How to Use\n\nRead individual reference files for detailed guidelines, configurations, and code examples:\n\n- [dto-omit-for-objects](references\u002Fdto-omit-for-objects.md)\n- [type-union-exclude](references\u002Ftype-union-exclude.md)\n- [lock-pessimistic-row](references\u002Flock-pessimistic-row.md)\n- [select-yagni-returning](references\u002Fselect-yagni-returning.md)\n- [select-returning-caller-fields](references\u002Fselect-returning-caller-fields.md)\n- [select-insert-from-select](references\u002Fselect-insert-from-select.md)\n- [style-query-vs-select](references\u002Fstyle-query-vs-select.md)\n- [style-where-sql-expression](references\u002Fstyle-where-sql-expression.md)\n- [style-conditional-aggregation](references\u002Fstyle-conditional-aggregation.md)\n- [style-typed-sql-nullable](references\u002Fstyle-typed-sql-nullable.md)\n- [error-handling-undefined-vs-throw](references\u002Ferror-handling-undefined-vs-throw.md)\n- [schema-creation](references\u002Fschema-creation.md)\n- [relations-configuration](references\u002Frelations-configuration.md)\n- [drizzle-kit-cli-mcp](references\u002Fdrizzle-kit-cli-mcp.md)\n\n## Full Compiled Document\n\nFor the complete guide with all rules expanded: [AGENTS.md](AGENTS.md)\n\n## References\n\n- [Drizzle ORM Official Documentation](https:\u002F\u002Form.drizzle.team\u002F)\n- [Drizzle Prepared Statements](https:\u002F\u002Form.drizzle.team\u002Fdocs\u002Fperf-queries)\n- [TypeScript Utility Types Guide](https:\u002F\u002Fwww.typescriptlang.org\u002Fdocs\u002Fhandbook\u002Futility-types.html)\n",{"name":5,"license":15,"metadata":24,"description":7,"argument-hint":27},{"author":25,"version":26},"ngxc","1.1.0","[--table \u003Cstring>] [--query-type \u003Cstring>]","main","1ef0dcd00fe806a8dc4e0b7173b9db967c3ab274","skills\u002F.curated\u002Fdrizzle","https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit","https:\u002F\u002Fgithub.com\u002Fngxccc","https:\u002F\u002Fngxccc.github.io","Make it work, make it right, make it fast.","2026-08-02 20:59:07",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add ngxccc\u002Fagent-skills-kit --skill drizzle",{"tool":42,"command":43},"bunx","bunx skills add ngxccc\u002Fagent-skills-kit --skill drizzle",{"tool":45,"command":46},"pnpm","pnpm dlx skills add ngxccc\u002Fagent-skills-kit --skill drizzle","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Fdrizzle\u002FSKILL.md",true,[50,56,60,64,68,72,76,80,84,88,92,96,100,104,108],{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"AGENTS.md","REFERENCE","参考文档",15013,"https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Fdrizzle\u002FAGENTS.md",{"path":57,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":58,"sourceHtmlUrl":59},"references\u002Fdrizzle-kit-cli-mcp.md",1983,"https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Fdrizzle\u002Freferences\u002Fdrizzle-kit-cli-mcp.md",{"path":61,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":62,"sourceHtmlUrl":63},"references\u002Fdto-omit-for-objects.md",1161,"https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Fdrizzle\u002Freferences\u002Fdto-omit-for-objects.md",{"path":65,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":66,"sourceHtmlUrl":67},"references\u002Ferror-handling-undefined-vs-throw.md",1442,"https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Fdrizzle\u002Freferences\u002Ferror-handling-undefined-vs-throw.md",{"path":69,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":70,"sourceHtmlUrl":71},"references\u002Flock-pessimistic-row.md",1627,"https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Fdrizzle\u002Freferences\u002Flock-pessimistic-row.md",{"path":73,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":74,"sourceHtmlUrl":75},"references\u002Frelations-configuration.md",3271,"https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Fdrizzle\u002Freferences\u002Frelations-configuration.md",{"path":77,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002Fschema-creation.md",2651,"https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Fdrizzle\u002Freferences\u002Fschema-creation.md",{"path":81,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":82,"sourceHtmlUrl":83},"references\u002Fselect-insert-from-select.md",1439,"https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Fdrizzle\u002Freferences\u002Fselect-insert-from-select.md",{"path":85,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":86,"sourceHtmlUrl":87},"references\u002Fselect-returning-caller-fields.md",2392,"https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Fdrizzle\u002Freferences\u002Fselect-returning-caller-fields.md",{"path":89,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":90,"sourceHtmlUrl":91},"references\u002Fselect-yagni-returning.md",985,"https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Fdrizzle\u002Freferences\u002Fselect-yagni-returning.md",{"path":93,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":94,"sourceHtmlUrl":95},"references\u002Fstyle-conditional-aggregation.md",2539,"https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Fdrizzle\u002Freferences\u002Fstyle-conditional-aggregation.md",{"path":97,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":98,"sourceHtmlUrl":99},"references\u002Fstyle-query-vs-select.md",927,"https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Fdrizzle\u002Freferences\u002Fstyle-query-vs-select.md",{"path":101,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":102,"sourceHtmlUrl":103},"references\u002Fstyle-typed-sql-nullable.md",1353,"https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Fdrizzle\u002Freferences\u002Fstyle-typed-sql-nullable.md",{"path":105,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":106,"sourceHtmlUrl":107},"references\u002Fstyle-where-sql-expression.md",1210,"https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Fdrizzle\u002Freferences\u002Fstyle-where-sql-expression.md",{"path":109,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":110,"sourceHtmlUrl":111},"references\u002Ftype-union-exclude.md",629,"https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Fdrizzle\u002Freferences\u002Ftype-union-exclude.md",[113,120,127,134,141,148],{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":19},"01M76W3C8X6Q5DS0364KQT7W7A","zustand","Rules and standards for state management using Zustand in React and Next.js. Use when implementing client-side stores, persistence with localStorage, or preventing SSR hydration mismatch.","https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Fzustand\u002FSKILL.md",[],[],{"skillNo":121,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":124,"categories":125,"keywords":126,"publishedAt":19},"01M76W39FJGES309VAH7SFWA9Y","zod","Zod v4 schema validation best practices. Use when defining schemas, utilizing safeParse, or customizing error messages.","https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Fzod\u002FSKILL.md",[],[],{"skillNo":128,"name":129,"nameZh":6,"description":130,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":131,"categories":132,"keywords":133,"publishedAt":19},"01M76W36HTYA4BR5FKCWMX1RFR","upstash-ratelimit","Rules, standards, and references for rate limiting in serverless environments using Upstash Ratelimit. Use when implementing rate limiting, configuring Upstash Redis, or handling request blocking.","https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Fupstash-ratelimit\u002FSKILL.md",[],[],{"skillNo":135,"name":136,"nameZh":6,"description":137,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":138,"categories":139,"keywords":140,"publishedAt":19},"01M76W32H4PS01WFRS7FNPK2G1","ui-design","UI\u002FUX and frontend design best practices guidelines (formerly frontend-design). This skill should be used when writing, reviewing, or designing frontend code to ensure accessibility, performance, and usability. Triggers on tasks involving HTML structure, CSS styling, responsive layouts, form design, animations, or accessibility improvements.","https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Fui-design\u002FSKILL.md",[],[],{"skillNo":142,"name":143,"nameZh":6,"description":144,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":145,"categories":146,"keywords":147,"publishedAt":19},"01M76W2YAP6RK8N0EVWFG54VD7","typescript","TypeScript performance, tsconfig, type errors, async patterns — triggered when the user asks to \"optimize TypeScript performance\", \"speed up tsc compilation\", \"configure tsconfig.json\", \"fix type errors\", \"improve async patterns\", or encounters TS errors (TS2322, TS2339, \"is not assignable to\"). Also triggers on .ts, .tsx, .d.ts file work involving type definitions, module organization, or memory management. Does NOT cover TypeScript basics, framework-specific patterns, or testing.","https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Ftypescript\u002FSKILL.md",[],[],{"skillNo":149,"name":150,"nameZh":6,"description":151,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":152,"categories":153,"keywords":154,"publishedAt":19},"01M76W2RMAZNNJQ2HECH3X6ZSH","typescript-refactor","TypeScript and TSX refactoring and modernization guidelines from a principal specialist perspective, current to TypeScript 6.0 and React 19. This skill should be used when refactoring, reviewing, or modernizing TypeScript or React\u002FTSX code for type safety, compiler performance, and idiomatic patterns. Triggers on tasks involving type architecture, narrowing, generics, discriminated unions, error handling, React component and hook typing, or migration to modern TypeScript features (satisfies, using, const type parameters, inferred type predicates, isolatedDeclarations, erasable syntax, import attributes).","https:\u002F\u002Fgithub.com\u002Fngxccc\u002Fagent-skills-kit\u002Fblob\u002Fmain\u002Fskills\u002F.curated\u002Ftypescript-refactor\u002FSKILL.md",[],[]]