Install any skill in seconds. Free to start, no credit card required.
Get Started Free →notque/go-patterns
Go development patterns: testing, concurrency, errors, review, and conventions.
Passed 9 of 17 test cases with the skill, and 12 of 17 without it.
2 fixed10 passed either way4 still failing6 broke
Tokens, turns and time describe resource use, not a dollar price.
This benchmark measured an earlier version of the skill.
One of 2 test cases the skill fixed. Same model, same prompt, with and without the skill.
Write a concurrent pipeline in Go that accepts a channel of data items, processes them across 4 worker goroutines, and returns a results channel. Maintain context cancellation support. Please output the complete Go implementation.
| Checked | Without skill | With skill |
|---|---|---|
| Uses `any` or explicit type parameters instead of `interface{}`. | Missed | Passed |
| Accepts `context.Context` as the first parameter in worker goroutine functions. | Missed | Passed |
The instructions your model reads when the skill loads.
Umbrella skill for Go development: Google style, testing, concurrency, error handling, failure modes, code review, SAP CC conventions, and quality gates. Load the references relevant to the task.
Use this precedence when guidance differs:
Prefer local consistency only where the Google guide allows judgment. Do not create unrelated churn merely to restyle existing code. For new and nearby changed code, follow the current pinned guidance. Record a conscious exception when repository rules, generated-code constraints, or compatibility requirements require one.
| Signal | Load These Files | Why |
|---|---|---|
| Google-specific style decisions | Relevant sections under google-style-guide/ | Check the pinned conventions needed for the task |
| Testing | testing.md | Writing, fixing, or reviewing Go tests |
| Concurrency | concurrency.md | Goroutines, channels, sync primitives, race conditions |
| Error handling | error-handling.md | Error wrapping, sentinels, custom types, errors.Is/As |
| Review patterns | preferred-patterns.md | Detecting code smells, over-engineering, bad Go patterns |
| Code review | code-review.md | Reviewing Go code or PRs for quality |
| SAP CC conventions | sapcc-conventions.md | Working in sapcc/* repos with go-bits |
| Quality gate | quality-gate.md | Running make check, linting, pre-commit validation |
Classify the task into one or more domains, then load the corresponding reference files. Only load what is needed -- do not load all references for every task.
test cases passed, vs 12 / 17 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.