programming/golang-testing/SKILL.md
Go testing patterns for unit tests, table-driven tests, subtests, test helpers, mocking/fakes, benchmarks, fuzzing, and coverage. Use when writing or reviewing Go tests to improve correctness, stability, and maintainability.
npx skillsauth add aeondave/malskill golang-testingInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill is about writing tests that are reliable, readable, and useful as documentation.
time.Sleep() unless unavoidable.t.Parallel() only when the test is truly isolated.t.Run("case", ...))b.ReportAllocs())Load on demand:
references/unit-tests.md — TDD loop, table tests, subtests, parallel subtestsreferences/helpers-fixtures.md — helpers, TempDir, Cleanup, testdata, golden filesreferences/mocking-fakes.md — interfaces for dependencies, fakes vs mocks, examplesreferences/http-testing.md — httptest patterns and JSON assertionsreferences/bench-fuzz.md — benchmarks and fuzzing best practicesreferences/coverage-ci.md — cover profiles, coverpkg notes, CI integration cautionsreferences/commands.md — go test command recipes (race, timeout, count, patterns)development
White-box auditing methodology for AI-generated ('vibe-coded') applications. Focuses on modern stack misconfigurations (Supabase, Next.js, Vercel).
development
Hybrid AI/Deterministic SAST methodology for discovering zero-day vulnerabilities in source code. Orchestrates structural search with AI-driven data flow and sink validation.
development
Auth assessment: hardware/embedded methodology; UART/JTAG/SWD/SPI/I2C, firmware extraction, boot/debug paths, embedded OS evidence.
devops
Container methodology: Identifying containerization limits, Docker/K8s misconfigurations, and executing escapes to the host node.