一键导入
db-infra-mocks
Propose minimal seams and local substitutes so tests run without real RDBMS/Redis/Mongo infrastructure.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Propose minimal seams and local substitutes so tests run without real RDBMS/Redis/Mongo infrastructure.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Run a CI-like pipeline locally (format, lint, vet, static-analysis, tests) and summarize per-step results with remediation guidance.
Execute repository linters and surface highest-priority issues with minimal, targeted fixes.
Use Go AST-aware analysis to enumerate symbols, extract signatures, and propose mechanically safe refactors (read-only by default).
Build and run the project locally to reproduce compile/runtime issues in a safe, non-production way.
Apply repository-standard formatting to minimize diff noise and meet linter expectations.
Rapid, focused navigation to locate definitions/usages and map the impact of proposed changes.
基于 SOC 职业分类
| name | db-infra-mocks |
| description | Propose minimal seams and local substitutes so tests run without real RDBMS/Redis/Mongo infrastructure. |
| license | MIT |
| metadata | {"mode":"design","purpose":"infra"} |
database/ package).gdb.InitDB() / gdb.GetDB() (GORM *gorm.DB).gdb.InitRedis() / gdb.GetRedis() (radix v4 radix.Client).gdb.InitMongo() / gdb.GetMongo() (*mongo.Client from official driver v2).gdb.CloseAllDB().driver: "sqlite3") for simple GORM-backed tests.radix.Client.path:line of client construction and usage.test-runner, patch-applier, migration-helper