Loading...
Loading...
Compare original and translation side by side
references/stack.mdany.catch()req.bodyconsole.logreferences/stack.mdany.catch()req.bodyconsole.log$request$requestreferences/stack.mdbun.lockbbunfig.tomlreferences/bun-runtime.mdreferences/stack.mdbun.lockbbunfig.tomlreferences/bun-runtime.md| Task | Read |
|---|---|
| Runtime, TypeScript, package manager, locked deps | |
| Folder conventions, entry points, monorepo layout | |
| Express/Fastify/Hono patterns, middleware, routing | |
| REST conventions, versioning, pagination, error responses | |
| Zod/AJV input validation, DTO patterns | |
| Prisma/Drizzle/Knex, migrations, connection pooling | |
| JWT, sessions, OAuth2, RBAC, middleware guards | |
| Error classes, async error boundaries, HTTP error responses | |
| pino structured logging, request correlation, log levels | |
| vitest/jest/bun test, supertest, test factories, coverage | |
| Promises, streams, worker threads, AbortController, shutdown | |
| helmet, CORS, rate limiting, input sanitization, dep audit | |
| Redis, in-memory caching, cache invalidation patterns | |
| BullMQ, job patterns, retry strategies, dead-letter queues | |
| Env validation, dotenv, config modules, secrets management | |
| OpenTelemetry, health checks, metrics, distributed tracing | |
| Multi-stage Dockerfile, .dockerignore, prod vs dev images | |
| ws/Socket.io, connection lifecycle, scaling, rooms | |
| commander/yargs, argument parsing, exit codes, stdin/stdout | |
| Bun-native APIs, bun test, bun build, Bun.serve, Bun.$ | |
| 任务 | 阅读内容 |
|---|---|
| 运行时、TypeScript、包管理器、已锁定依赖 | |
| 文件夹规范、入口点、单仓库布局 | |
| Express/Fastify/Hono 模式、中间件、路由 | |
| REST 规范、版本控制、分页、错误响应 | |
| Zod/AJV 输入校验、DTO 模式 | |
| Prisma/Drizzle/Knex、迁移、连接池 | |
| JWT、会话、OAuth2、RBAC、中间件守卫 | |
| 错误类、异步错误边界、HTTP 错误响应 | |
| pino 结构化日志、请求关联、日志级别 | |
| vitest/jest/bun test、supertest、测试工厂、覆盖率 | |
| Promise、流、工作线程、AbortController、停机 | |
| helmet、CORS、速率限制、输入 sanitization、依赖审计 | |
| Redis、内存缓存、缓存失效模式 | |
| BullMQ、任务模式、重试策略、死信队列 | |
| 环境变量校验、dotenv、配置模块、密钥管理 | |
| OpenTelemetry、健康检查、指标、分布式追踪 | |
| 多阶段 Dockerfile、.dockerignore、生产 vs 开发镜像 | |
| ws/Socket.io、连接生命周期、扩容、房间 | |
| commander/yargs、参数解析、退出码、标准输入/输出 | |
| Bun 原生 API、bun test、bun build、Bun.serve、Bun.$ | |
noUncheckedIndexedAccessanyasBun.serve()Bun.file()bun testnoUncheckedIndexedAccessanyasBun.serve()Bun.file()bun testvitest runjestbun testtsc --noEmiteslint .vitest runjestbun testtsc --noEmiteslint .SKILL.mdreferences/stack.mdconsole.logdisable-model-invocationSKILL.mdreferences/stack.mdconsole.logdisable-model-invocationreferences/stack.mdreferences/bun-runtime.mdbun.lockbbunfig.tomlreferences/references/stack.mdreferences/bun-runtime.mdbun.lockbbunfig.tomlreferences/