go-context agent skill by eduardo-sl
Explains correct use of context.Context in Go, including propagation, cancellation, timeouts, deadlines, values, and common anti-patterns.
- Publisher
- eduardo-sl
- License
- MIT
- Installs via skills.sh
- 196
- Bundled scripts
- None
- Credentials
- None named
- Outside hosts
- None
- MCP server
- No
- Security scan
- Not scanned by the directory. Third-party audits on skills.sh
- Listed since
- October 19, 2026 or earlier
At a glance
| Publisher | eduardo-sl |
|---|---|
| Repository | eduardo-sl/go-agent-skills (31 listed skills) |
| Category | Developer Tools and Frameworks |
| Topics | Go |
| Cost | Free and open source |
| Capabilities | Quality badge, Bundles reference files, Declares tool permissions, Declares compatibility, No setup required |
| License | MIT |
| Last commit | October 15, 2026 (repository) |
| Listed since | October 19, 2026 or earlier |
| SKILL.md | 228 lines, 1,040 words |
| Bundled files | 5 files, including references |
| Quality score | 95/100 · A Passes all seven graded checks |
| Security scan | Not scanned |
| README badge | Get the badges for this listing |
Before you install
Read from the skill's files at the directory's October 22, 2026 assessment: what ships with it, what its code reads, and the terms it is published under.
- Bundled scripts: none.
- Tool permissions requested:
Read Edit Write Glob Grep Bash(go:*) Bash(gofmt:*)(theallowed-toolsfield of SKILL.md). - License: MIT, an open-source or open-content license.
Install go-context
The skills CLI works with Claude Code, Codex, Cursor and other agents; the other routes copy the folder by hand.
npx skills add 'https://github.com/eduardo-sl/go-agent-skills/tree/main/skills/(code-quality)/go-context'
tmp="$(mktemp -d)"
git clone --depth 1 https://github.com/eduardo-sl/go-agent-skills.git "$tmp/repo"
mkdir -p .claude/skills
cp -R "$tmp/repo/"'skills/(code-quality)/go-context' .claude/skills/
rm -rf "$tmp"
tmp="$(mktemp -d)"
git clone --depth 1 https://github.com/eduardo-sl/go-agent-skills.git "$tmp/repo"
mkdir -p .agents/skills
cp -R "$tmp/repo/"'skills/(code-quality)/go-context' .agents/skills/
rm -rf "$tmp"
For a user-level install, copy the folder to ~/.claude/skills/ (Claude Code) or ~/.agents/skills/ (Codex). Inside Codex, $skill-installer can also fetch a skill from GitHub. New to skills? Read How to install agent skills in Claude Code, Codex and Cursor.
eduardo-sl/go-agent-skills is third-party code. Read SKILL.md and any bundled scripts before you install it.
Directory summary
go-context explains correct use of context.Context in Go, including propagation, cancellation, timeouts, deadlines, values, and common anti-patterns. Listed in Developer Tools and Frameworks, it is built for Claude Code users working on developer tools and frameworks. It scores 95/100, grade A, on the Suede Skill Check, with full points for structural checks, recent maintenance and instruction depth. eduardo-sl publishes it under MIT, an open-source or open-content license, so you can use and adapt it at no cost under those terms. It installs in Claude Code, Codex, Cursor and other agents that read the Agent Skills format.
How the author describes it
Correct usage of context.Context in Go: propagation, cancellation, timeouts, deadlines, values, and common anti-patterns. Use when: "context usage", "context.Context", "context cancellation", "timeout", "context.WithTimeout", "context.WithCancel", "context values", "context propagation". Not for: concurrency beyond context (go-concurrency-review), HTTP middleware (go-api-design), error handling (go-error-handling).
From the description field of SKILL.md. Agents read this line to decide when to load the skill.
Compatibility, from SKILL.md
| Compatibility | Designed for Claude Code or similar AI coding agents working on Go projects. Requires the Go toolchain. |
|---|
Sections in SKILL.md
- 1. Core Rules
- Context is always the first parameter:
- NEVER store context in a struct:
- NEVER pass nil context:
- 2. Cancellation
- Always defer cancel:
- Use WithCancel for manual cancellation:
- Check context cancellation in loops:
- 3. Timeouts and Deadlines
- WithTimeout for duration-based limits:
- WithDeadline for absolute time limits:
- Timeout budgets
- 4. Context Values
- 5. Context in HTTP Handlers and Tests
- 6. Causes, Detached Work, and AfterFunc
- 7. context.Background() vs context.TODO()
Files in the skill folder
SKILL.mdreferences/cause-and-detach.mdreferences/http-and-testing.mdreferences/timeout-budgets.mdreferences/values.md
Suede Skill Check: 95/100 · A
Report snapshot · · graded-v2
The rubric totals 100 points; published scores are capped at 99. Security scan: not scanned.
Source revision: e25b517bbd0c. Report version 694eae956493. Badge URLs follow the latest listing; save the report to keep this version.
Download report · Request a fresh review
What to review next
- Bundled scripts: 0 of 2 points. 2 when the skill folder ships a scripts/ folder.
Add declarations and bundled files when they describe the skill’s actual needs. Update the source, then request a fresh review with the changed commit or PR.
go-context passes the required frontmatter check and all seven graded checks, which cover the SKILL.md format, a declared license and a commit in the last year. Those checks earn 56 of the score’s points; the rest come from description quality, instruction depth, bundled files, maintenance and curated-list citations. How the score works.
See the checks and points
| Check | Result |
|---|---|
| Frontmatter parses and declares a name and a description | Pass |
| Name uses lowercase letters, digits and hyphens, 64 characters or fewer | Pass |
| Name matches the skill's folder name | Pass |
| Description is between 50 and 1,024 characters | Pass |
| Description says when an agent should use the skill | Pass |
| SKILL.md body is 500 lines or fewer | Pass |
| A license is declared in the frontmatter or the repository | Pass |
| Repository has a commit in the last 12 months | Pass |
| Score component | Points |
|---|---|
| Structural checks | 56 of 56 |
| Description length | 5 of 5 |
| Boundary clause | 4 of 4 |
| Example request | 3 of 3 |
| Instruction depth | 7 of 7 |
| Reference files | 3 of 3 |
| Bundled scripts | 0 of 2 |
| Recent maintenance | 9 of 9 |
| Curated-list citations | 4 of 7 |
| Tool permissions declared | 2 of 2 |
| Compatibility declared | 2 of 2 |
Where this skill is cited
eduardo-sl/go-agent-skills appears in 3 curated lists: BehiSecc/awesome-claude-skills, VoltAgent/awesome-agent-skills, heilcheng/awesome-agent-skills.
Strengths and open points
What it does well
- Full points for structural checks (56 of 56).
- Full points for recent maintenance (9 of 9).
- Full points for instruction depth (7 of 7).
- Full points for description length (5 of 5).
- Full points for boundary clause (4 of 4).
- Full points for example request (3 of 3).
- Full points for reference files (3 of 3).
- Full points for tool permissions declared (2 of 2).
- Full points for compatibility declared (2 of 2).
- Its repository is cited by 3 curated lists.
- Its files read no credential, call no outside host, connect to no MCP server and run no command.
What to check
- Bundled scripts: 0 of 2 points.
- Security scan: not scanned by the directory. Read SKILL.md and any scripts before you install.
Reviews and ratings
Directory rating: 95/100 · A on the Suede Skill Check, computed from the skill's published files.
Used go-context? Reader reviews are published on GitHub as issues credited to their authors. They never change the score.
Questions and answers
What does go-context do?
Explains correct use of context.Context in Go, including propagation, cancellation, timeouts, deadlines, values, and common anti-patterns. It is listed in Developer Tools and Frameworks on SuedeAI.directory.
Is go-context free?
Yes. eduardo-sl publishes go-context under MIT, an open-source or open-content license, and its files name no paid service, API key or hosted account.
How do I install go-context?
Run npx skills add https://github.com/eduardo-sl/go-agent-skills/tree/main/skills/(code-quality)/go-context from your project, or copy the folder into .claude/skills/ for Claude Code or .agents/skills/ for Codex. The install section lists each route.
Does go-context need credentials, an MCP server or network access?
No. At the October 22, 2026 assessment its files read no credential, connect to no MCP server and call no outside host.
How good is go-context?
It scores 95/100, grade A, on the Suede Skill Check, which adds structure, description quality, instruction depth, bundled files, maintenance and curated-list citations from its published files.
More developer tools skills
More from eduardo-sl/go-agent-skills
Two badges for go-context
Choose the numeric badge, the letter badge, or both. Each links to this skill’s Suede AI listing; either valid linked badge can qualify for the feature offer.
[](https://suedeai.directory/eduardo-sl/go-agent-skills/go-context/)
[](https://suedeai.directory/eduardo-sl/go-agent-skills/go-context/)<a href="https://suedeai.directory/eduardo-sl/go-agent-skills/go-context/"><img src="https://suedeai.directory/eduardo-sl/go-agent-skills/go-context/score.svg" alt="Suede Skill Check: 95/100" width="160" height="175"></a>
<a href="https://suedeai.directory/eduardo-sl/go-agent-skills/go-context/"><img src="https://suedeai.directory/eduardo-sl/go-agent-skills/go-context/badge.svg" alt="Suede Skill Check: Grade A" width="160" height="175"></a>Suede Certified on the shield refers to this published structural quality check. Security scan: not scanned. Read the methodology.
Limited-time feature offer: Display either quality badge in your repository or skill README, linked to your listing, then request verification. Suede AI checks the rendered README at a recorded commit. Eligible skills scoring 80–99 with a verified badge can receive a featured placement while the offer is open. Request badge verification.
Publishers: read How to get your agent skill found in search and cited by AI assistants.