go-testing
Trigger: Go tests, go test coverage, Bubbletea teatest, golden files.
Skill by AlexCas
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/alexcas-go-testing
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: testing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/go-testing
What's inside
- Skill name
go-testing- Description
- Trigger: Go tests, go test coverage, Bubbletea teatest, golden files. Apply focused Go testing patterns.
- License
- Apache-2.0
- Metadata
- version: 1.0
- Instructions
- 44 lines in SKILL.md · view on GitHub
Files (2)
- SKILL.md
- examples.md · references/
SKILL.md (first lines)
## Activation Contract Load this skill when writing or reviewing Go tests, adding coverage, testing Bubbletea/TUI flows, using `teatest`, or updating golden files. ## Hard Rules - Prefer table-driven tests for multiple cases; use `t.Run(tt.name, ...)`. - Test behavior and state transitions, not implementation trivia. - Use `t.TempDir()` for filesystem tests; never rely on a real home directory. - Keep integration tests skippable with `testing.Short()` when they run external commands or slow flows. - For Bubbletea, test `Model.Update()` directly for state changes; use `teatest` only for interactive flows. - Golden files must be deterministic; update only through the repo's `-update` path and rerun tests without `-update`. - Use small mocks/interfaces around system or command execution boundaries. ## Decision Gates | Target | Test pattern | |---|---| | Pure function or parser | Table-driven unit test. | | Error behavior | Explicit success and failure cases. | | File operations | `t.TempDir()` plus focused assertions. | | TUI state transition | Direct `Model.Update()` call with `tea.Msg`. | | Full TUI interaction | `teatest.NewTestModel()`. | | Rendered output | Golden file test. | | Real external command | Integration test; skip in `-short`. | ## Execution Steps 1. Identify behavior under test and the smallest public boundary that proves it. 2. Choose the test pattern from the decision gate. 3. Name cases by scenario, not input mechanics. 4. Assert outputs, errors, state, and side effects explicitly. 5. Run the narrow package test first, then the relevant broader suite. 6. For golden updates: run with `-update`, inspect diff, then rerun without `-update`. ## Output Contract Report test files changed, scenarios covered, commands executed, golden files updated, and any skipped integration scope. ## References - [references/examples.md](references/examples.md) — compact table-driven, Bubbletea, teatest, golden, and command examples.
From AlexCas/archon-ai, Apache-2.0.
More from AlexCas/archon-ai
- 0.584score
harness-judge
AlexCas
Trigger: judge phase, judgment gate, post-verify review.
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
harness-workflow
AlexCas
Trigger: phase transition, state check, workflow gate, next phase.
SkillAFreshness: A★ 1Claude Code +9 - 0.549score
judgment-day
AlexCas
Trigger: judgment day, dual review, adversarial review, juzgar.
SkillBFreshness: B★ 1Claude Code +9 - 0.549score
sdd-verify
AlexCas
Trigger: SDD verification phase, verify change.
SkillBFreshness: B★ 1Claude Code +9 - 0.546score
sdd-init
AlexCas
Trigger: sdd init, iniciar sdd, openspec init.
SkillBFreshness: B★ 1Claude Code +9 - 0.544score
sdd-archive
AlexCas
Archive a completed SDD change by syncing delta specs.
SkillBFreshness: B★ 1Claude Code +9 - 0.544score
concise-output
AlexCas
Keep orchestrator chat replies concise by default while preserving gates verbatim.
SkillBFreshness: B★ 1Claude Code +9 - 0.544score
sdd-onboard
AlexCas
Walk users through the SDD workflow on the real codebase.
SkillBFreshness: B★ 1Claude Code +9 - 0.544score
sdd-propose
AlexCas
Create an SDD change proposal with intent, scope, and approach.
SkillBFreshness: B★ 1Claude Code +9 - 0.544score
sdd-router
AlexCas
Trigger: archon route CLASSIFY signal only.
SkillBFreshness: B★ 1Claude Code +9 - 0.544score
comment-writer
AlexCas
Write warm, direct collaboration comments.
SkillBFreshness: B★ 1Claude Code +9 - 0.544score
sdd-explore
AlexCas
Explore SDD ideas before committing to a change.
SkillBFreshness: B★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 11
- Last commit (this folder)
- Jun 11, 2026 (4 months ago)
- Last release
- Sep 17, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 1.0
- License
- Apache-2.0
- Repository
- github.com/AlexCas/archon-ai
- Website
- github.com/AlexCas/archon-ai
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.268score
go-testing
gentleman-programming
Trigger: Go tests, go test coverage, Bubbletea teatest, golden files.
SkillBFreshness: BClaude Code +9 - 0.254score
go-testing
gentleman-programming
Trigger: Go tests, go test coverage, Bubbletea teatest, golden files.
SkillCFreshness: C★ 1Claude Code +9 - 0.243score
go-testing
gentleman-programming
Trigger: Go tests, go test coverage, Bubbletea teatest, golden files.
SkillCFreshness: CClaude Code +9
More from AlexCas
- 0.584score
harness-workflow
AlexCas
Trigger: phase transition, state check, workflow gate, next phase.
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
harness-judge
AlexCas
Trigger: judge phase, judgment gate, post-verify review.
SkillAFreshness: A★ 1Claude Code +9 - 0.549score
sdd-verify
AlexCas
Trigger: SDD verification phase, verify change.
SkillBFreshness: B★ 1Claude Code +9 - 0.549score
judgment-day
AlexCas
Trigger: judgment day, dual review, adversarial review, juzgar.
SkillBFreshness: B★ 1Claude Code +9 - 0.546score
sdd-init
AlexCas
Trigger: sdd init, iniciar sdd, openspec init.
SkillBFreshness: B★ 1Claude Code +9 - 0.544score
concise-output
AlexCas
Keep orchestrator chat replies concise by default while preserving gates verbatim.
SkillBFreshness: B★ 1Claude Code +9
Cite this page
go-testing skill. Agent Mart. https://agentmart.dev/skills/alexcas-go-testing (last updated 2026-10-24)