Use for test-only changes or non-routine fixtures and harnesses, selecting cases and assertions from accepted behavior during implementation.
Pro scans all 5 files and shows the line behind each finding
Scanned 9/24/2026
npx -y skills add Dankosik/go-service-template-rest --skill go-test-implementation --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Go Test Implementation?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/dankosik-go-test-implementation)More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.
---
name: go-test-implementation
description: "Use for test-only changes or non-routine fixtures and harnesses, selecting cases and assertions from accepted behavior during implementation."
metadata:
invocation: model
kind: method
---
# Go Test Implementation
Write tests that reject wrong behavior through an observable independent of
the implementation being tested. Routine tests alongside production code stay
with `go-coder`; this method handles test-only work or non-routine controls.
Choose cases, fixtures, assertions, and commands while writing the tests from
accepted product behavior and existing repository patterns. No pre-approved
scenario, oracle, matrix, or separate test plan is required. Use the smallest
deterministic layer that observes the claim. A source-string assertion proves
behavior only when the exact text is itself the accepted output contract.
Before adding a case, identify the material wrong behavior existing coverage
would miss, or the explicit proof requirement it satisfies. Extend an existing
test when that supplies the missing observation. Avoid duplicating the same
contract without a distinct failure mode; retain separate cases or proving
layers when they can fail independently, including success and denial paths.
This judgment needs no separate inventory or approval.
For a new integration scenario family, write one complete path through state
creation, the operation, independent observation, and cleanup before expanding
cases. Reuse that foundation while binding each case to its own inputs. An
existing valid scenario already supplies this foundation; do not rebuild it.
The active workflow decides when the scenario runs.
Load the [reference selector](references/index.md) only for a concrete problem
with the proving layer, fixture, control, or command. Keep the result in test
code and any existing task packet; add no proof-design artifact.
This method is complete when required tests and fixtures are written and their
execution commands are recorded. The active workflow owns validation timing and
task completion. Missing test infrastructure is a final-validation input, not
missing permission to write the tests.
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!