بنقرة واحدة
gen-test
Generate table-driven Go tests for a package with httptest, context helpers, and config parsing patterns
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Generate table-driven Go tests for a package with httptest, context helpers, and config parsing patterns
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
Run govulncheck locally and check for outdated Go dependencies
Run gosec on a specific package and cross-reference findings against suppression list and TODO tracker
Validate a config.yaml file against the Config schema and constraint rules from config/config.go
Build and smoke-test the Docker image locally to validate Dockerfile and binary startup
Draft conventional commit messages from staged changes for release-please
استنادا إلى تصنيف SOC المهني
| name | gen-test |
| description | Generate table-driven Go tests for a package with httptest, context helpers, and config parsing patterns |
| user_invocable | true |
Generate comprehensive _test.go files for the specified package.
/gen-test <package> — e.g., /gen-test config, /gen-test proxy, /gen-test oauth
.go files in the target package (skip any existing _test.go)t.Run with descriptive subtests[]struct{ name string; ... }t.Parallel() at test and subtest level where safet.Helper() on all test helpersnet/http/httptest for handler testshttptest.NewRequesthttptest.NewRecorderconfig.ServerMetadataProxyEnabled + DynamicClientRegistration constraintlogr.Discard() for test loggerslog.IntoContext(ctx, logger)if got != want { t.Errorf(...) }<package>/<filename>_test.gogo test ./<package>/... to verify compilationgo vet ./<package>/... for correctness