shipengqi/skills
Skill Claude CodeCodex
Gin framework patterns — engine setup, middleware chain, route grouping, request binding, and response writing. Use when building Gin HTTP servers, adding middleware, defining routes, or handling requests in Go projects using the Gin framework. Apply whenever user writes gin.New(), gin.Default(), gin.HandlerFunc…
shipengqi/skills
Skill Claude CodeCodex
Go 语言核心 idioms、命名规范、包结构与接口设计准则。Use when writing or reviewing any Go code — naming conventions, package layout, interface design, enum patterns, anti-patterns, or verifying Go code correctness. Trigger whenever the user writes Go functions, types, packages, or asks about idiomatic Go style.
shipengqi/skills
Skill Claude CodeCodex
Go structured logging using Zap Sugar API with context propagation. Use when initializing loggers, writing log statements, extracting request context into logs, configuring log output, or deciding which layer should log. Apply whenever user writes log.Infow/Errorw/Warnw calls, uses zap fields, or asks about request-ID…
shipengqi/skills
Skill Claude CodeCodex
Makefile patterns for Go projects — layered include structure, version injection from git, tools auto-install, and.
shipengqi/skills
Skill Claude CodeCodex
Go standard library net/http patterns with chi router — mux setup, middleware, route groups, request binding, and response writing. Use when building HTTP servers without a third-party framework in Go. Apply whenever user writes http.HandlerFunc, chi.NewRouter(), r.Route(), chi.URLParam(), or asks about net/http…
shipengqi/skills
Skill Claude CodeCodex
Go testing with Ginkgo BDD suites, Gomega matchers, uber-go/mock mocks, and benchmarks. Use when writing unit tests, generating mocks for interfaces, setting up test suites, or running parallel tests in Go projects. Apply whenever user writes Describe/It/BeforeEach blocks, uses mockgen, or asks about Ginkgo setup.
shipengqi/skills
Skill Claude CodeCodex
NestJS module system, controllers, providers, dependency injection, and feature module structure. Use when scaffolding a NestJS project, wiring up modules, or designing the service layer. Apply whenever user puts database queries or business logic in NestJS controllers, omits whitelist: true or forbidNonWhitelisted…
shipengqi/skills
Skill Claude CodeCodex
NestJS + Prisma — PrismaService setup, repository pattern, transactions, relations, pagination, and migrations. Use when integrating Prisma, designing the data layer, or writing database queries. Apply whenever user queries Prisma without explicit select causing sensitive fields to leak, queries related data in loops…
shipengqi/skills
Skill Claude CodeCodex
NestJS Guards, Interceptors, Pipes, and Exception Filters — authentication, request/response transformation, validation pipelines, and centralised error handling. Use when adding auth, logging, validation, or standardising error responses. Apply whenever user writes JWT guards with passport strategy instead of…
shipengqi/skills
Skill Claude CodeCodex
NestJS unit and E2E testing — Test.createTestingModule(), mocking providers with jest, supertest for HTTP assertions. Use when writing tests for NestJS services, controllers, or full application flows. Apply whenever user instantiates NestJS services with new ServiceName() instead of Test.createTestingModule(), uses a…
shipengqi/skills
Skill Claude CodeCodex
Python 服务分层架构、SQLAlchemy 2.x async、Alembic 迁移与 FastAPI Depends() 依赖注入。Use when structuring a new Python service, wiring dependencies, defining layer interfaces, or deciding where business logic belongs. Apply whenever user writes SQLAlchemy models with Column() (old style), session.commit() in repositories, or asks…
shipengqi/skills
Skill Claude CodeCodex
Python asyncio 核心模式——并发任务、blocking 调用陷阱、超时处理与 FastAPI async/sync 选择。Use when writing async Python code, choosing between async and sync functions, handling concurrent tasks, or avoiding event loop blocking. Apply whenever user calls sync boto3/requests inside async def, asks whether all routes should be async def, or…
shipengqi/skills
Skill Claude CodeCodex
Typer CLI 应用构建——命令定义、子命令、选项与参数、进度条与错误处理。Use when building command-line tools, adding subcommands, parsing arguments, or structuring a CLI application in Python. Apply whenever user writes argparse, Click, or raw sys.argv for CLI, uses sys.exit(1) instead of typer.Exit(), or asks how to add subcommands or restrict…
shipengqi/skills
Skill Claude CodeCodex
Pandas 核心操作模式、性能陷阱与 Polars 对比。Use when processing tabular data, performing data analysis, writing ETL pipelines, or deciding between Pandas and Polars in Python projects. Apply whenever user writes iterrows() or itertuples() for numerical computation, reads large CSV without dtype or chunksize, or asks when to switch…
shipengqi/skills
Skill Claude CodeCodex
Python 异常层级设计、跨层错误传播规范与 FastAPI 全局 HTTP 错误响应。Use when defining custom exceptions, propagating errors across service layers, or mapping domain errors to HTTP status codes in Python projects. Apply whenever user defines AppError subclasses, catches IntegrityError in repositories, raises HTTPException inside repository…
shipengqi/skills
Skill Claude CodeCodex
FastAPI 应用搭建——app 初始化、路由分组、Pydantic schema、Depends() 依赖注入与中间件。Use when building FastAPI HTTP servers, adding middleware, defining routes, handling requests, or structuring FastAPI projects. Apply whenever user writes @app.onevent('startup'), defines getcurrentuser without Annotated type alias, or asks about Depends()…
shipengqi/skills
Skill Claude CodeCodex
Python 核心 idioms、类型注解规范、命名约定与项目工具链(uv + ruff + pyright)。Use when writing or reviewing Python code, especially when creating new modules, defining types, or structuring a project. Apply whenever user writes List[str]/Dict[str,int], Optional[X], str+Enum combination, print() for debug logging, or asks about Python…
shipengqi/skills
Skill Claude CodeCodex
Python 结构化日志——loguru 日常配置与使用,structlog 生产 JSON 日志管道。Use when initializing loggers, writing log statements, adding request context to logs, or configuring JSON log output in Python projects. Apply whenever user writes logger.info() with f-strings, print() for debug output, asks about requestid propagation in FastAPI…
shipengqi/skills
Skill Claude CodeCodex
Python 测试体系——pytest 参数化、pytest-mock fixture、pytest-asyncio 异步测试与 respx HTTP mock。Use when writing unit tests, integration tests, mocking dependencies, or testing async FastAPI endpoints. Apply whenever user writes @patch decorator chains, unittest.mock.AsyncMock directly, asks about asynciomode setting, or needs to…
shipengqi/skills
Skill Claude CodeCodex
TypeScript async patterns, module conventions, error handling, and testing with Vitest. Use when writing async code, structuring modules, handling errors at boundaries, or writing unit tests in TypeScript projects. Apply whenever user writes async/await, Promise chains, try/catch, Vitest tests, or asks about error…
shipengqi/skills
Skill Claude CodeCodex
TypeScript core idioms — strict config, type system patterns, naming conventions, and anti-patterns. Use when writing TypeScript, defining types/interfaces, narrowing unknown values, or reviewing type correctness. Apply whenever user writes enum, any, !, default export, or asks about discriminated unions, branded…
shipengqi/skills
Skill Claude CodeCodex
Code-layer security for TypeScript — input validation, XSS/injection prevention, authentication principles, CORS, and secrets hygiene. Use when validating user input, handling auth tokens, sanitizing HTML, managing secrets, or defending against injection attacks. Apply whenever user writes localStorage.setItem…
shipengqi/skills
Skill Claude CodeCodex
Build toolchain for TypeScript Node.js projects and libraries — ESLint flat config, Prettier, tsup bundling, tsc type-checking, and pre-commit hooks. Use when configuring linting, formatting, building, or CI type-check pipelines. Apply whenever user writes @ts-ignore, tsup/esbuild build scripts, ESLint flat config…