coding/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.test-driven-development when implementing persistent code or bug fixes test-first.testing-reliability for mock/timing anti-patterns and systematic-debugging when failure attribution is unclear.-count) and isolate state/time dependencies.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)data-ai
Scoped routing: Linux operator; hosts, sessions, users, services, packages, logs, containers, SSH, network paths, privilege evidence.
development
Offensive methodology for ICS/OT/SCADA environments in authorized industrial penetration testing and red team operations. Use when assessing PLCs, RTUs, HMIs, engineering workstations, historians, or field devices running Modbus, DNP3, EtherNet/IP, S7comm/S7+, Profinet, IEC 60870-5-104, BACnet, or OPC-UA. Covers passive OT network enumeration, protocol-level device interrogation, PLC coil/register read-write attacks, HMI session exploitation, historian and engineering workstation compromise, and safe escalation rules for critical infrastructure scope. Does not cover: general IT network exploitation (network-technique), physical hardware interfaces UART/JTAG/SPI (hardware-technique), wireless sensor network attacks (wireless-technique), RF/SDR signal analysis (hardware-ctf or wireless-technique), or CTF-framed ICS lab tasks (ics-ctf).
tools
Offensive methodology for authorized game security assessments, game client security research, and game-adjacent penetration testing in real-world engagements. Use when assessing game clients for cheating vulnerabilities, testing anti-cheat effectiveness, auditing game server protocols for score manipulation or economic fraud, reverse engineering game DRM or license validation, analyzing game save file protection, or assessing game mod/plugin security. Covers: process memory scanning and manipulation (Cheat Engine methodology), game binary reversing for license and DRM bypass, game network protocol analysis and packet replay, anti-cheat mechanism analysis, save file format reversing and tampering, speed hack and value injection techniques. Does NOT cover: CTF game challenges (game-ctf), game engine source code auditing (web-exploit-technique or vuln-search-technique for the backend), or general binary exploitation (pwn-ctf or reversing-technique).
development
Auth assessment: hardware/embedded methodology; UART/JTAG/SWD/SPI/I2C, firmware extraction, boot/debug paths, embedded OS evidence.