后端系统开发
backend-development
使用现代技术(Node.js、Python、Go、Rust)、框架(NestJS、FastAPI、Django)、数据库(PostgreSQL、MongoDB、Redis)、API(REST、GraphQL、gRPC)、身份验证(OAuth 2.1、JWT)、测试策略、安全最佳实践(OWASP Top 10)、性能优化、可扩展性模式(微服务、缓存、分片)、DevOps 实践(Docker、Kubernetes、CI/CD)以及监控来构建健壮的后端系统。在设计 API、实现身份验证、优化数据库查询、搭建 CI/CD 流水线、处理安全漏洞、构建微服务或开发生产级后端系统时使用。
- License 许可
- MIT
- 最近更新
- 2025-12-10
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- backend-development
- license
- MIT
- version
- 1.0.0
- description
- Build robust backend systems with modern technologies (Node.js, Python, Go, Rust), frameworks (NestJS, FastAPI, Django), databases (PostgreSQL, MongoDB, Redis), APIs (REST, GraphQL, gRPC), authentication (OAuth 2.1, JWT), testing strategies, security best practices (OWASP Top 10), performance optimization, scalability patterns (microservices, caching, sharding), DevOps practices (Docker, Kubernetes, CI/CD), and monitoring. Use when designing APIs, implementing authentication, optimizing database queries, setting up CI/CD pipelines, handling security vulnerabilities, building microservices, or developing production-ready backend systems.
02 资源文件 11
- 参考文档references/backend-api-design.md10.4 KB
- 参考文档references/backend-architecture.md12.2 KB
- 参考文档references/backend-authentication.md9.2 KB
- 参考文档references/backend-code-quality.md12.8 KB
- 参考文档references/backend-debugging.md18.5 KB
- 参考文档references/backend-devops.md10.5 KB
- 参考文档references/backend-mindset.md11.0 KB
- 参考文档references/backend-performance.md9.4 KB
- 参考文档references/backend-security.md7.9 KB
- 参考文档references/backend-technologies.md7.5 KB
- 参考文档references/backend-testing.md10.4 KB
03 SKILL.md 正文
Backend Development Skill
Production-ready backend development with modern technologies, best practices, and proven patterns.
When to Use
- Designing RESTful, GraphQL, or gRPC APIs
- Building authentication/authorization systems
- Optimizing database queries and schemas
- Implementing caching and performance optimization
- OWASP Top 10 security mitigation
- Designing scalable microservices
- Testing strategies (unit, integration, E2E)
- CI/CD pipelines and deployment
- Monitoring and debugging production systems
Technology Selection Guide
Languages: Node.js/TypeScript (full-stack), Python (data/ML), Go (concurrency), Rust (performance) Frameworks: NestJS, FastAPI, Django, Express, Gin Databases: PostgreSQL (ACID), MongoDB (flexible schema), Redis (caching) APIs: REST (simple), GraphQL (flexible), gRPC (performance)
See: references/backend-technologies.md for detailed comparisons
Reference Navigation
Core Technologies:
backend-technologies.md- Languages, frameworks, databases, message queues, ORMsbackend-api-design.md- REST, GraphQL, gRPC patterns and best practices
Security & Authentication:
backend-security.md- OWASP Top 10 2025, security best practices, input validationbackend-authentication.md- OAuth 2.1, JWT, RBAC, MFA, session management
Performance & Architecture:
backend-performance.md- Caching, query optimization, load balancing, scalingbackend-architecture.md- Microservices, event-driven, CQRS, saga patterns
Quality & Operations:
backend-testing.md- Testing strategies, frameworks, tools, CI/CD testingbackend-code-quality.md- SOLID principles, design patterns, clean codebackend-devops.md- Docker, Kubernetes, deployment strategies, monitoringbackend-debugging.md- Debugging strategies, profiling, logging, production debuggingbackend-mindset.md- Problem-solving, architectural thinking, collaboration
Key Best Practices (2025)
Security: Argon2id passwords, parameterized queries (98% SQL injection reduction), OAuth 2.1 + PKCE, rate limiting, security headers
Performance: Redis caching (90% DB load reduction), database indexing (30% I/O reduction), CDN (50%+ latency cut), connection pooling
Testing: 70-20-10 pyramid (unit-integration-E2E), Vitest 50% faster than Jest, contract testing for microservices, 83% migrations fail without tests
DevOps: Blue-green/canary deployments, feature flags (90% fewer failures), Kubernetes 84% adoption, Prometheus/Grafana monitoring, OpenTelemetry tracing
Quick Decision Matrix
| Need | Choose |
|---|---|
| Fast development | Node.js + NestJS |
| Data/ML integration | Python + FastAPI |
| High concurrency | Go + Gin |
| Max performance | Rust + Axum |
| ACID transactions | PostgreSQL |
| Flexible schema | MongoDB |
| Caching | Redis |
| Internal services | gRPC |
| Public APIs | GraphQL/REST |
| Real-time events | Kafka |
Implementation Checklist
API: Choose style → Design schema → Validate input → Add auth → Rate limiting → Documentation → Error handling
Database: Choose DB → Design schema → Create indexes → Connection pooling → Migration strategy → Backup/restore → Test performance
Security: OWASP Top 10 → Parameterized queries → OAuth 2.1 + JWT → Security headers → Rate limiting → Input validation → Argon2id passwords
Testing: Unit 70% → Integration 20% → E2E 10% → Load tests → Migration tests → Contract tests (microservices)
Deployment: Docker → CI/CD → Blue-green/canary → Feature flags → Monitoring → Logging → Health checks
Resources
- OWASP Top 10: https://owasp.org/www-project-top-ten/
- OAuth 2.1: https://oauth.net/2.1/
- OpenTelemetry: https://opentelemetry.io/
04 同仓库更多 Skills
现代全栈 Web 应用开发
web-frameworks
使用 Next.js(App Router、Server Components、RSC、PPR、SSR、SSG、ISR)、Turborepo(monorepo 管理、任务流水线、远程缓存、并行执行)和 RemixIcon(3100+ 线性/填充风格 SVG 图标)构建现代全栈 Web 应用。在创建 React 应用、实现服务端渲染、搭建含多个包的 monorepo、优化构建性能与缓存策略、添加图标库、管理共享依赖,或使用 TypeScript 全栈项目时使用。
UI 界面样式设计
ui-styling
使用 shadcn/ui 组件(基于 Radix UI + Tailwind 构建)、Tailwind CSS 的 utility-first 样式以及基于 canvas 的视觉设计,创建美观且无障碍的用户界面。适用于构建用户界面、实现设计系统、创建响应式布局、添加无障碍组件(对话框、下拉菜单、表单、表格)、定制主题与配色、实现深色模式、生成视觉设计与海报,或在应用程序间建立一致的样式规范。
Three.js 三维开发
threejs
使用 Three.js 构建沉浸式 3D Web 体验——这是一个 WebGL/WebGPU 库,支持场景、相机、几何体、材质、灯光、动画、加载器、后处理、着色器(包括基于节点的 TSL)、计算、物理、VR/XR 和高级渲染。适用于创建 3D 可视化、游戏、交互式图形、数据可视化、产品配置器、建筑漫游或 WebGL/WebGPU 应用。涵盖 OrbitControls、GLTF/FBX 加载、PBR 材质、阴影贴图、后处理效果(bloom、SSAO、SSR)、自定义着色器、实例化、LOD、动画系统和 WebXR。
结构化分步思考
sequential-thinking
对需要多步分析、修订能力和假设验证的复杂任务,采用结构化、反思性的方法解决问题。适用于复杂问题分解、自适应规划、需要调整方向的分析、范围不明确的问题、多步骤解决方案以及假设驱动的工作。
技术方案研究规划
research
当需要研究、分析和规划可扩展、安全且易于维护的技术解决方案时使用。
技术方案规划
planning
当你需要规划可扩展、安全且易于维护的技术方案时使用。