بنقرة واحدة
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 ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
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.
| 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