nestjs-best-practices
NestJS best practices and architecture patterns aligned with the Hamster Studio stack (nestjs-zod, Supabase, Vitest, BullMQ). Use when writing, reviewing, or refactoring NestJS code. Complements the hamster-nest-api skill which covers project-specific templates.
- License 许可
- MIT
- 最近更新
- 2026-11-05
- Stars
- ★ 4
- Forks
- 0
01 前言 Front Matter
- name
- nestjs-best-practices
- version
- 1.1.0
- description
- NestJS best practices and architecture patterns aligned with the Hamster Studio stack (nestjs-zod, Supabase, Vitest, BullMQ). Use when writing, reviewing, or refactoring NestJS code. Complements the hamster-nest-api skill which covers project-specific templates.
02 资源文件 38
- 参考文档AGENTS.md171.9 KB
- 参考文档metadata.json786 B
- 参考文档REFERENCE.md171.7 KB
- 参考文档rules/api-use-dto-serialization.md6.0 KB
- 参考文档rules/api-use-interceptors.md5.4 KB
- 参考文档rules/api-use-pipes.md7.8 KB
- 参考文档rules/arch-avoid-circular-deps.md2.0 KB
- 参考文档rules/arch-feature-modules.md2.3 KB
- 参考文档rules/arch-module-sharing.md3.8 KB
- 参考文档rules/arch-single-responsibility.md2.9 KB
- 参考文档rules/arch-use-events.md3.0 KB
- 参考文档rules/arch-use-repository-pattern.md7.3 KB
- 参考文档rules/arch-use-router-module.md—
- 参考文档rules/devops-graceful-shutdown.md5.8 KB
- 参考文档rules/devops-use-config-module.md4.2 KB
- 参考文档rules/devops-use-logging.md4.1 KB
- 参考文档rules/di-avoid-service-locator.md2.9 KB
- 参考文档rules/di-interface-segregation.md5.1 KB
- 参考文档rules/di-prefer-constructor-injection.md2.3 KB
- 参考文档rules/di-scope-awareness.md2.6 KB
- 参考文档rules/di-use-interfaces-tokens.md2.5 KB
- 参考文档rules/error-handle-async-errors.md3.4 KB
- 参考文档rules/error-throw-http-exceptions.md—
- 参考文档rules/error-use-exception-filters.md5.4 KB
- 参考文档rules/micro-use-health-checks.md5.8 KB
- 参考文档rules/micro-use-queues.md5.7 KB
- 参考文档rules/perf-lazy-loading.md3.7 KB
- 参考文档rules/perf-optimize-database.md7.5 KB
- 参考文档rules/perf-use-caching.md3.4 KB
- 参考文档rules/security-auth-jwt.md6.3 KB
- 参考文档rules/security-rate-limiting.md3.2 KB
- 参考文档rules/security-sanitize-output.md10.3 KB
- 参考文档rules/security-supabase-rls.md8.3 KB
- 参考文档rules/security-use-guards.md8.9 KB
- 参考文档rules/security-validate-all-input.md5.0 KB
- 参考文档rules/test-e2e-supertest.md—
- 参考文档rules/test-mock-external-services.md—
- 参考文档rules/test-use-testing-module.md4.8 KB
03 SKILL.md 正文
该 Skill 的授权仅允许展示来源链接,正文请前往 GitHub 查看。
查看 SKILL.md ↗04 同仓库更多 Skills
writing-waterfall-requirements-documents
Write a waterfall requirements document: elicit, structure and review testable, traceable requirements, then baseline the specification before design.
writing-vision-and-values-statements
Write a V2MOM vision a reader can test and a ranked list of values that settles real tradeoffs, so the rest of the document has a clear anchor.
writing-system-prompts-for-claude
Write Claude prompts and CLAUDE.md files that supply exact inputs, scope the task, and define done so the first attempt can be checked.
writing-page-specific-website-copy
Website copywriting by page type: write homepage, landing page, pricing page and feature page copy that fits each page's visitor and single job.
writing-internal-press-releases
How to write an internal press release: the one-page working backwards press release that opens a PR/FAQ document before anything is built.
writing-email-sequences-that-sell
Email sequence copywriting for nurture and sales: give each email one job, write clear subject lines, and close with one specific call to action.