[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71SA75658WCQEBN7RNJ458T":3,"skill-same:01M71SA75658WCQEBN7RNJ458T":282},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":48,"commitSha":49,"skillDirectory":50,"forksCount":51,"repositoryHtmlUrl":52,"repositoryHomepageUrl":53,"ownerHtmlUrl":54,"ownerBlogUrl":55,"ownerDescription":56,"updatedAt":57,"install":58,"resources":71},"01M71SA75658WCQEBN7RNJ458T","nestjs-best-practices",null,"NestJS best practices and architecture patterns for production apps","HigorAlves\u002Forc","HigorAlves","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F11262976?v=4","01M71S79EZEMHZ8PQSV0XQJHYY","Higor Alves","01M71S79FKKTCHCN1EDR8DSTWQ",7,"MIT","https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fnestjs-best-practices\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"nestjs best practices","nestjs","best practices","use","production apps","for","dependency injection","architecture patterns","patterns","security","injection","refactoring","dependency","architecture","code","when","apps","writing","performance","modules","2026-11-10 13:02:02",false,"---\nname: nestjs-best-practices\ndescription: NestJS best practices and architecture patterns for production apps\nwhen_to_use: Use when writing, reviewing, or refactoring NestJS code — modules, dependency injection, security, and performance.\nlicense: MIT\nmetadata:\n  author: Kadajett\n  version: \"1.1.0\"\n---\n\n# NestJS Best Practices\n\nComprehensive best practices guide for NestJS applications. Contains 40 rules across 10 categories, prioritized by impact to guide automated refactoring and code generation.\n\n## When to Apply\n\nReference these guidelines when:\n\n- Writing new NestJS modules, controllers, or services\n- Implementing authentication and authorization\n- Reviewing code for architecture and security issues\n- Refactoring existing NestJS codebases\n- Optimizing performance or database queries\n- Building microservices architectures\n\n## Rule Categories by Priority\n\n| Priority | Category | Impact | Prefix |\n|----------|----------|--------|--------|\n| 1 | Architecture | CRITICAL | `arch-` |\n| 2 | Dependency Injection | CRITICAL | `di-` |\n| 3 | Error Handling | HIGH | `error-` |\n| 4 | Security | HIGH | `security-` |\n| 5 | Performance | HIGH | `perf-` |\n| 6 | Testing | MEDIUM-HIGH | `test-` |\n| 7 | Database & ORM | MEDIUM-HIGH | `db-` |\n| 8 | API Design | MEDIUM | `api-` |\n| 9 | Microservices | MEDIUM | `micro-` |\n| 10 | DevOps & Deployment | LOW-MEDIUM | `devops-` |\n\n## Quick Reference\n\n### 1. Architecture (CRITICAL)\n\n- `arch-avoid-circular-deps` - Avoid circular module dependencies\n- `arch-feature-modules` - Organize by feature, not technical layer\n- `arch-module-sharing` - Proper module exports\u002Fimports, avoid duplicate providers\n- `arch-single-responsibility` - Focused services over \"god services\"\n- `arch-use-repository-pattern` - Abstract database logic for testability\n- `arch-use-events` - Event-driven architecture for decoupling\n\n### 2. Dependency Injection (CRITICAL)\n\n- `di-avoid-service-locator` - Avoid service locator anti-pattern\n- `di-interface-segregation` - Interface Segregation Principle (ISP)\n- `di-liskov-substitution` - Liskov Substitution Principle (LSP)\n- `di-prefer-constructor-injection` - Constructor over property injection\n- `di-scope-awareness` - Understand singleton\u002Frequest\u002Ftransient scopes\n- `di-use-interfaces-tokens` - Use injection tokens for interfaces\n\n### 3. Error Handling (HIGH)\n\n- `error-use-exception-filters` - Centralized exception handling\n- `error-throw-http-exceptions` - Use NestJS HTTP exceptions\n- `error-handle-async-errors` - Handle async errors properly\n\n### 4. Security (HIGH)\n\n- `security-auth-jwt` - Secure JWT authentication\n- `security-validate-all-input` - Validate with class-validator\n- `security-use-guards` - Authentication and authorization guards\n- `security-sanitize-output` - Prevent XSS attacks\n- `security-rate-limiting` - Implement rate limiting\n\n### 5. Performance (HIGH)\n\n- `perf-async-hooks` - Proper async lifecycle hooks\n- `perf-use-caching` - Implement caching strategies\n- `perf-optimize-database` - Optimize database queries\n- `perf-lazy-loading` - Lazy load modules for faster startup\n\n### 6. Testing (MEDIUM-HIGH)\n\n- `test-use-testing-module` - Use NestJS testing utilities\n- `test-e2e-supertest` - E2E testing with Supertest\n- `test-mock-external-services` - Mock external dependencies\n\n### 7. Database & ORM (MEDIUM-HIGH)\n\n- `db-use-transactions` - Transaction management\n- `db-avoid-n-plus-one` - Avoid N+1 query problems\n- `db-use-migrations` - Use migrations for schema changes\n\n### 8. API Design (MEDIUM)\n\n- `api-use-dto-serialization` - DTO and response serialization\n- `api-use-interceptors` - Cross-cutting concerns\n- `api-versioning` - API versioning strategies\n- `api-use-pipes` - Input transformation with pipes\n\n### 9. Microservices (MEDIUM)\n\n- `micro-use-patterns` - Message and event patterns\n- `micro-use-health-checks` - Health checks for orchestration\n- `micro-use-queues` - Background job processing\n\n### 10. DevOps & Deployment (LOW-MEDIUM)\n\n- `devops-use-config-module` - Environment configuration\n- `devops-use-logging` - Structured logging\n- `devops-graceful-shutdown` - Zero-downtime deployments\n\n## How to Use\n\nRead individual rule files for detailed explanations and code examples:\n\n```\nrules\u002Farch-avoid-circular-deps.md\nrules\u002Fsecurity-validate-all-input.md\nrules\u002F_sections.md\n```\n\nEach rule file contains:\n- Brief explanation of why it matters\n- Incorrect code example with explanation\n- Correct code example with explanation\n- Additional context and references\n\n## Full Compiled Document\n\nFor the complete guide with all rules expanded: `AGENTS.md`\n","# NestJS Best Practices\n\nComprehensive best practices guide for NestJS applications. Contains 40 rules across 10 categories, prioritized by impact to guide automated refactoring and code generation.\n\n## When to Apply\n\nReference these guidelines when:\n\n- Writing new NestJS modules, controllers, or services\n- Implementing authentication and authorization\n- Reviewing code for architecture and security issues\n- Refactoring existing NestJS codebases\n- Optimizing performance or database queries\n- Building microservices architectures\n\n## Rule Categories by Priority\n\n| Priority | Category | Impact | Prefix |\n|----------|----------|--------|--------|\n| 1 | Architecture | CRITICAL | `arch-` |\n| 2 | Dependency Injection | CRITICAL | `di-` |\n| 3 | Error Handling | HIGH | `error-` |\n| 4 | Security | HIGH | `security-` |\n| 5 | Performance | HIGH | `perf-` |\n| 6 | Testing | MEDIUM-HIGH | `test-` |\n| 7 | Database & ORM | MEDIUM-HIGH | `db-` |\n| 8 | API Design | MEDIUM | `api-` |\n| 9 | Microservices | MEDIUM | `micro-` |\n| 10 | DevOps & Deployment | LOW-MEDIUM | `devops-` |\n\n## Quick Reference\n\n### 1. Architecture (CRITICAL)\n\n- `arch-avoid-circular-deps` - Avoid circular module dependencies\n- `arch-feature-modules` - Organize by feature, not technical layer\n- `arch-module-sharing` - Proper module exports\u002Fimports, avoid duplicate providers\n- `arch-single-responsibility` - Focused services over \"god services\"\n- `arch-use-repository-pattern` - Abstract database logic for testability\n- `arch-use-events` - Event-driven architecture for decoupling\n\n### 2. Dependency Injection (CRITICAL)\n\n- `di-avoid-service-locator` - Avoid service locator anti-pattern\n- `di-interface-segregation` - Interface Segregation Principle (ISP)\n- `di-liskov-substitution` - Liskov Substitution Principle (LSP)\n- `di-prefer-constructor-injection` - Constructor over property injection\n- `di-scope-awareness` - Understand singleton\u002Frequest\u002Ftransient scopes\n- `di-use-interfaces-tokens` - Use injection tokens for interfaces\n\n### 3. Error Handling (HIGH)\n\n- `error-use-exception-filters` - Centralized exception handling\n- `error-throw-http-exceptions` - Use NestJS HTTP exceptions\n- `error-handle-async-errors` - Handle async errors properly\n\n### 4. Security (HIGH)\n\n- `security-auth-jwt` - Secure JWT authentication\n- `security-validate-all-input` - Validate with class-validator\n- `security-use-guards` - Authentication and authorization guards\n- `security-sanitize-output` - Prevent XSS attacks\n- `security-rate-limiting` - Implement rate limiting\n\n### 5. Performance (HIGH)\n\n- `perf-async-hooks` - Proper async lifecycle hooks\n- `perf-use-caching` - Implement caching strategies\n- `perf-optimize-database` - Optimize database queries\n- `perf-lazy-loading` - Lazy load modules for faster startup\n\n### 6. Testing (MEDIUM-HIGH)\n\n- `test-use-testing-module` - Use NestJS testing utilities\n- `test-e2e-supertest` - E2E testing with Supertest\n- `test-mock-external-services` - Mock external dependencies\n\n### 7. Database & ORM (MEDIUM-HIGH)\n\n- `db-use-transactions` - Transaction management\n- `db-avoid-n-plus-one` - Avoid N+1 query problems\n- `db-use-migrations` - Use migrations for schema changes\n\n### 8. API Design (MEDIUM)\n\n- `api-use-dto-serialization` - DTO and response serialization\n- `api-use-interceptors` - Cross-cutting concerns\n- `api-versioning` - API versioning strategies\n- `api-use-pipes` - Input transformation with pipes\n\n### 9. Microservices (MEDIUM)\n\n- `micro-use-patterns` - Message and event patterns\n- `micro-use-health-checks` - Health checks for orchestration\n- `micro-use-queues` - Background job processing\n\n### 10. DevOps & Deployment (LOW-MEDIUM)\n\n- `devops-use-config-module` - Environment configuration\n- `devops-use-logging` - Structured logging\n- `devops-graceful-shutdown` - Zero-downtime deployments\n\n## How to Use\n\nRead individual rule files for detailed explanations and code examples:\n\n```\nrules\u002Farch-avoid-circular-deps.md\nrules\u002Fsecurity-validate-all-input.md\nrules\u002F_sections.md\n```\n\nEach rule file contains:\n- Brief explanation of why it matters\n- Incorrect code example with explanation\n- Correct code example with explanation\n- Additional context and references\n\n## Full Compiled Document\n\nFor the complete guide with all rules expanded: `AGENTS.md`\n",{"name":5,"license":15,"metadata":44,"description":7,"when_to_use":47},{"author":45,"version":46},"Kadajett","1.1.0","Use when writing, reviewing, or refactoring NestJS code — modules, dependency injection, security, and performance.","main","7522fd7266944e30052204c2f6df287d8b5516be","codex\u002Forc\u002Fcontent\u002Fskills\u002Fnestjs-best-practices",0,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc","https:\u002F\u002Forc.novacstack.com\u002F","https:\u002F\u002Fgithub.com\u002FHigorAlves","higoralves.dev","Software Engineering","2026-11-14 07:24:14",{"source":8,"skillName":5,"commands":59,"prompt":69,"zipAvailable":70},[60,63,66],{"tool":61,"command":62},"npx","npx skills add HigorAlves\u002Forc --skill nestjs-best-practices",{"tool":64,"command":65},"bunx","bunx skills add HigorAlves\u002Forc --skill nestjs-best-practices",{"tool":67,"command":68},"pnpm","pnpm dlx skills add HigorAlves\u002Forc --skill nestjs-best-practices","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fnestjs-best-practices\u002FSKILL.md",true,[72,78,82,88,92,96,100,104,108,112,116,120,124,128,132,136,140,144,148,152,156,160,164,168,172,176,180,184,188,192,196,200,204,208,212,216,220,224,228,232,236,240,244,248,252,256,260,264,270,274,278],{"path":73,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":76,"sourceHtmlUrl":77},".github\u002Fworkflows\u002Fbranch-protection.yml","REFERENCE","参考文档",760,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fnestjs-best-practices\u002F.github\u002Fworkflows\u002Fbranch-protection.yml",{"path":79,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":80,"sourceHtmlUrl":81},".github\u002Fworkflows\u002Fdeploy.yml",1273,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fnestjs-best-practices\u002F.github\u002Fworkflows\u002Fdeploy.yml",{"path":83,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":86,"sourceHtmlUrl":87},".gitignore","OTHER","其他",237,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fnestjs-best-practices\u002F.gitignore",{"path":89,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":90,"sourceHtmlUrl":91},"AGENTS.md",163058,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fnestjs-best-practices\u002FAGENTS.md",{"path":93,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":94,"sourceHtmlUrl":95},"README.md",4493,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fnestjs-best-practices\u002FREADME.md",{"path":97,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":98,"sourceHtmlUrl":99},"rules\u002F_sections.md",2153,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fnestjs-best-practices\u002Frules\u002F_sections.md",{"path":101,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":102,"sourceHtmlUrl":103},"rules\u002F_template.md",631,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fnestjs-best-practices\u002Frules\u002F_template.md",{"path":105,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":106,"sourceHtmlUrl":107},"rules\u002Fapi-use-dto-serialization.md",4385,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fnestjs-best-practices\u002Frules\u002Fapi-use-dto-serialization.md",{"path":109,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":110,"sourceHtmlUrl":111},"rules\u002Fapi-use-interceptors.md",5518,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fnestjs-best-practices\u002Frules\u002Fapi-use-interceptors.md",{"path":113,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":114,"sourceHtmlUrl":115},"rules\u002Fapi-use-pipes.md",5386,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fnestjs-best-practices\u002Frules\u002Fapi-use-pipes.md",{"path":117,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":118,"sourceHtmlUrl":119},"rules\u002Fapi-versioning.md",4986,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fnestjs-best-practices\u002Frules\u002Fapi-versioning.md",{"path":121,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":122,"sourceHtmlUrl":123},"rules\u002Farch-avoid-circular-deps.md",2021,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fnestjs-best-practices\u002Frules\u002Farch-avoid-circular-deps.md",{"path":125,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":126,"sourceHtmlUrl":127},"rules\u002Farch-feature-modules.md",2316,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fnestjs-best-practices\u002Frules\u002Farch-feature-modules.md",{"path":129,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":130,"sourceHtmlUrl":131},"rules\u002Farch-module-sharing.md",3876,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fnestjs-best-practices\u002Frules\u002Farch-module-sharing.md",{"path":133,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":134,"sourceHtmlUrl":135},"rules\u002Farch-single-responsibility.md",2922,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fnestjs-best-practices\u002Frules\u002Farch-single-responsibility.md",{"path":137,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":138,"sourceHtmlUrl":139},"rules\u002Farch-use-events.md",3051,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fnestjs-best-practices\u002Frules\u002Farch-use-events.md",{"path":141,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":142,"sourceHtmlUrl":143},"rules\u002Farch-use-repository-pattern.md",2861,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fnestjs-best-practices\u002Frules\u002Farch-use-repository-pattern.md",{"path":145,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":146,"sourceHtmlUrl":147},"rules\u002Fdb-avoid-n-plus-one.md",3888,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fnestjs-best-practices\u002Frules\u002Fdb-avoid-n-plus-one.md",{"path":149,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":150,"sourceHtmlUrl":151},"rules\u002Fdb-use-migrations.md",3837,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fnestjs-best-practices\u002Frules\u002Fdb-use-migrations.md",{"path":153,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":154,"sourceHtmlUrl":155},"rules\u002Fdb-use-transactions.md",4023,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fnestjs-best-practices\u002Frules\u002Fdb-use-transactions.md",{"path":157,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":158,"sourceHtmlUrl":159},"rules\u002Fdevops-graceful-shutdown.md",5916,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fnestjs-best-practices\u002Frules\u002Fdevops-graceful-shutdown.md",{"path":161,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":162,"sourceHtmlUrl":163},"rules\u002Fdevops-use-config-module.md",4446,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fnestjs-best-practices\u002Frules\u002Fdevops-use-config-module.md",{"path":165,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":166,"sourceHtmlUrl":167},"rules\u002Fdevops-use-logging.md",5693,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fnestjs-best-practices\u002Frules\u002Fdevops-use-logging.md",{"path":169,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":170,"sourceHtmlUrl":171},"rules\u002Fdi-avoid-service-locator.md",2981,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fnestjs-best-practices\u002Frules\u002Fdi-avoid-service-locator.md",{"path":173,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":174,"sourceHtmlUrl":175},"rules\u002Fdi-interface-segregation.md",5224,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fnestjs-best-practices\u002Frules\u002Fdi-interface-segregation.md",{"path":177,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":178,"sourceHtmlUrl":179},"rules\u002Fdi-liskov-substitution.md",7275,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fnestjs-best-practices\u002Frules\u002Fdi-liskov-substitution.md",{"path":181,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":182,"sourceHtmlUrl":183},"rules\u002Fdi-prefer-constructor-injection.md",2309,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fnestjs-best-practices\u002Frules\u002Fdi-prefer-constructor-injection.md",{"path":185,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":186,"sourceHtmlUrl":187},"rules\u002Fdi-scope-awareness.md",2618,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fnestjs-best-practices\u002Frules\u002Fdi-scope-awareness.md",{"path":189,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":190,"sourceHtmlUrl":191},"rules\u002Fdi-use-interfaces-tokens.md",2588,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fnestjs-best-practices\u002Frules\u002Fdi-use-interfaces-tokens.md",{"path":193,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":194,"sourceHtmlUrl":195},"rules\u002Ferror-handle-async-errors.md",3531,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fnestjs-best-practices\u002Frules\u002Ferror-handle-async-errors.md",{"path":197,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":198,"sourceHtmlUrl":199},"rules\u002Ferror-throw-http-exceptions.md",3181,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fnestjs-best-practices\u002Frules\u002Ferror-throw-http-exceptions.md",{"path":201,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":202,"sourceHtmlUrl":203},"rules\u002Ferror-use-exception-filters.md",3695,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fnestjs-best-practices\u002Frules\u002Ferror-use-exception-filters.md",{"path":205,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":206,"sourceHtmlUrl":207},"rules\u002Fmicro-use-health-checks.md",5985,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fnestjs-best-practices\u002Frules\u002Fmicro-use-health-checks.md",{"path":209,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":210,"sourceHtmlUrl":211},"rules\u002Fmicro-use-patterns.md",5102,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fnestjs-best-practices\u002Frules\u002Fmicro-use-patterns.md",{"path":213,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":214,"sourceHtmlUrl":215},"rules\u002Fmicro-use-queues.md",6214,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fnestjs-best-practices\u002Frules\u002Fmicro-use-queues.md",{"path":217,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":218,"sourceHtmlUrl":219},"rules\u002Fperf-async-hooks.md",2918,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fnestjs-best-practices\u002Frules\u002Fperf-async-hooks.md",{"path":221,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":222,"sourceHtmlUrl":223},"rules\u002Fperf-lazy-loading.md",3822,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fnestjs-best-practices\u002Frules\u002Fperf-lazy-loading.md",{"path":225,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":226,"sourceHtmlUrl":227},"rules\u002Fperf-optimize-database.md",3276,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fnestjs-best-practices\u002Frules\u002Fperf-optimize-database.md",{"path":229,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":230,"sourceHtmlUrl":231},"rules\u002Fperf-use-caching.md",3524,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fnestjs-best-practices\u002Frules\u002Fperf-use-caching.md",{"path":233,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":234,"sourceHtmlUrl":235},"rules\u002Fsecurity-auth-jwt.md",4083,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fnestjs-best-practices\u002Frules\u002Fsecurity-auth-jwt.md",{"path":237,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":238,"sourceHtmlUrl":239},"rules\u002Fsecurity-rate-limiting.md",3324,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fnestjs-best-practices\u002Frules\u002Fsecurity-rate-limiting.md",{"path":241,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":242,"sourceHtmlUrl":243},"rules\u002Fsecurity-sanitize-output.md",3815,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fnestjs-best-practices\u002Frules\u002Fsecurity-sanitize-output.md",{"path":245,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":246,"sourceHtmlUrl":247},"rules\u002Fsecurity-use-guards.md",3647,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fnestjs-best-practices\u002Frules\u002Fsecurity-use-guards.md",{"path":249,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":250,"sourceHtmlUrl":251},"rules\u002Fsecurity-validate-all-input.md",3393,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fnestjs-best-practices\u002Frules\u002Fsecurity-validate-all-input.md",{"path":253,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":254,"sourceHtmlUrl":255},"rules\u002Ftest-e2e-supertest.md",4800,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fnestjs-best-practices\u002Frules\u002Ftest-e2e-supertest.md",{"path":257,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":258,"sourceHtmlUrl":259},"rules\u002Ftest-mock-external-services.md",4613,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fnestjs-best-practices\u002Frules\u002Ftest-mock-external-services.md",{"path":261,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":262,"sourceHtmlUrl":263},"rules\u002Ftest-use-testing-module.md",4392,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fnestjs-best-practices\u002Frules\u002Ftest-use-testing-module.md",{"path":265,"resourceType":266,"resourceTypeDesc":267,"sizeBytes":268,"sourceHtmlUrl":269},"scripts\u002Fbuild-agents.ts","SCRIPT","脚本",8661,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fnestjs-best-practices\u002Fscripts\u002Fbuild-agents.ts",{"path":271,"resourceType":266,"resourceTypeDesc":267,"sizeBytes":272,"sourceHtmlUrl":273},"scripts\u002Fbuild.sh",369,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fnestjs-best-practices\u002Fscripts\u002Fbuild.sh",{"path":275,"resourceType":266,"resourceTypeDesc":267,"sizeBytes":276,"sourceHtmlUrl":277},"scripts\u002Fpackage-lock.json",8662,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fnestjs-best-practices\u002Fscripts\u002Fpackage-lock.json",{"path":279,"resourceType":266,"resourceTypeDesc":267,"sizeBytes":280,"sourceHtmlUrl":281},"scripts\u002Fpackage.json",428,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fnestjs-best-practices\u002Fscripts\u002Fpackage.json",[283,291,313,334,354,375],{"skillNo":284,"name":285,"nameZh":6,"description":286,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":287,"categories":288,"keywords":289,"publishedAt":290},"01M73VYZ3XY4HAVS3WS73CW9J7","vercel-react-best-practices","React and Next.js performance optimization guidelines from Vercel Engineering","https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fvercel-react-best-practices\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":292,"name":293,"nameZh":6,"description":294,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":295,"categories":296,"keywords":297,"publishedAt":39},"01M71SW40F9TAAEDKBYYBCM814","writing-plans","Write a comprehensive implementation plan of bite-sized TDD tasks that an engineer with zero codebase context could execute — exact files, code, tests, and verification steps","https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Forc\u002Fskills\u002Fwriting-plans\u002FSKILL.md",[],[36,298,299,22,33,300,24,301,302,303,304,305,306,307,308,34,309,310,311,312],"writing plans","plans","tests","ZeRO","context","steps","write","plan","verification","tasks","you","files","implementation plan","superpowers","engineer",{"skillNo":314,"name":315,"nameZh":6,"description":316,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":317,"categories":318,"keywords":319,"publishedAt":39},"01M71SW15KHE4MHJW9NEXV65X2","writing-for-agents","orc's doctrine layer for writing any document an agent consumes — skills, AGENTS.md\u002FCLAUDE.md, reference docs","https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Forc\u002Fskills\u002Fwriting-for-agents\u002FSKILL.md",[],[36,320,24,321,322,22,323,324,325,326,327,328,34,329,330,331,332,333],"writing for agents","a skill","document","editing","push","doctrine","layer","tuning","inline","matt pocock","github","docs","reference","https",{"skillNo":335,"name":336,"nameZh":6,"description":337,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":338,"categories":339,"keywords":340,"publishedAt":39},"01M71SVYQKXT743HHHWGHT3G13","workspace-mode","Use when cwd is a parent dir holding multiple sibling git repos — defines repo auto-detection, --repos\u002F--repo\u002F--all-repos\u002F--this-repo precedence, per-repo dispatch, and linked-PR mechanics.","https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Forc\u002Fskills\u002Fworkspace-mode\u002FSKILL.md",[],[341,342,343,344,345,346,22,347,348,349,350,34,351,352,353],"workspace mode","mode","workspace","auto-detection","detection","parent","repo","pr","git","repos","auto","mechanics","dispatch",{"skillNo":355,"name":356,"nameZh":6,"description":357,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":358,"categories":359,"keywords":360,"publishedAt":39},"01M71SVVP3BXS06G9395P2K0RH","wizard","Generate an interactive bash wizard walking a human through work only they can perform — credentials, secrets, one-off migrations","https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Forc\u002Fskills\u002Fwizard\u002FSKILL.md",[],[356,34,329,361,362,363,364,365,22,366,367,24,368,369,303,370,371,372,373,374],"only","provisioning infrastructure","never","condition","Bash","interactive","one","do","infrastructure","secrets","human","generate","credentials","work",{"skillNo":376,"name":377,"nameZh":6,"description":378,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":379,"categories":380,"keywords":381,"publishedAt":39},"01M71SVT4AR6NKAM5B077E7QSJ","wait-what","Stop and re-pitch — the last message did not land; say it again simply, in the project's own vocabulary.","https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Forc\u002Fskills\u002Fwait-what\u002FSKILL.md",[],[382,383,333,384,385,386,387,330,388,389,390,391,329,392,393,394],"wait","wait what","vocabulary","stop","it","land","message","say","last","pitch","true","re","project"]