
Vibe concurrent test safety
Audits Go tests for race conditions, shared mock state and cleanup ordering
Vibe concurrent test safety is an open-source agent skill for developer tools. It is available on Claude Code.
- Scripts
- None
- Platforms
- Claude Code
- GitHub stars
- 163
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Vibe concurrent test safety
This skill guides an agent to review test code that runs goroutines, async work or shared mutable state, and to flag the concurrency bugs that usually cause flaky results. It lists common patterns to avoid, such as reading mock fields directly while a goroutine writes to them, closing resources before a background worker has stopped, and relying on fixed sleeps to wait for startup.
The agent works through an audit checklist covering accessor use for mock state, context cancellation before cleanup, joining goroutines before a test ends, replacing sleeps with channels, waitgroups or polling, and running tests under the race detector and repeated runs. Its suggested output is a table of issues with line references and fixes, followed by code snippets for each fix.
The examples are written in Go and rely on the race detector and go test flags, so the skill is aimed at Go test suites. It is a plain instruction file with no bundled scripts.
When your agent uses it
Audits tests for concurrency safety — race conditions, shared mock state, cleanup ordering. Use when writing tests that involve goroutines, async operations, or shared mutable state.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (3 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the vibe-engineering plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add ash1794/vibe-engineering
/plugin install vibe-engineering@vibe-pluginsOr copy only this skill to ~/.claude/skills/vibe-concurrent-test-safety:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ash1794/vibe-engineering.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/vibe-concurrent-test-safety &&
cp -R "$tmp/plugins/vibe-engineering/skills/vibe-concurrent-test-safety" ~/.claude/skills/vibe-concurrent-test-safety &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/vibe-concurrent-test-safety inside it instead.
Copy the skill folder to ~/.agents/skills/vibe-concurrent-test-safety to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ash1794/vibe-engineering.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/vibe-concurrent-test-safety &&
cp -R "$tmp/plugins/vibe-engineering/skills/vibe-concurrent-test-safety" ~/.agents/skills/vibe-concurrent-test-safety &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/vibe-concurrent-test-safety inside it instead.
Copy the skill folder to ~/.cursor/skills/vibe-concurrent-test-safety to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ash1794/vibe-engineering.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/vibe-concurrent-test-safety &&
cp -R "$tmp/plugins/vibe-engineering/skills/vibe-concurrent-test-safety" ~/.cursor/skills/vibe-concurrent-test-safety &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/vibe-concurrent-test-safety inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/ash1794/vibe-engineering.git --path plugins/vibe-engineering/skills/vibe-concurrent-test-safetyOr copy the folder to ~/.gemini/skills/vibe-concurrent-test-safety yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/vibe-concurrent-test-safety:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ash1794/vibe-engineering.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/vibe-concurrent-test-safety &&
cp -R "$tmp/plugins/vibe-engineering/skills/vibe-concurrent-test-safety" ~/.copilot/skills/vibe-concurrent-test-safety &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/vibe-concurrent-test-safety inside it instead.
Get the folder:
git clone --depth 1 https://github.com/ash1794/vibe-engineering.gitThen copy vibe-engineering/plugins/vibe-engineering/skills/vibe-concurrent-test-safety into your agent's skills folder as vibe-concurrent-test-safety. Agents that support SKILL.md read one folder per skill.
What it does
- Race condition detection
- Spots unsynchronized access to shared mock fields and state touched by goroutines.
- Cleanup ordering checks
- Verifies that contexts are cancelled and background workers stop before resources close.
- Timing-based wait removal
- Flags fixed sleeps used for synchronization and suggests readiness checks instead.
- Goroutine join audit
- Confirms spawned goroutines finish before a test returns, using channels or waitgroups.
- Structured audit report
- Produces a table of issues with line references, fixes and code snippets.
Good for
- Audit a Go test file that starts a daemon for race conditions
- Find why a test passes locally but fails intermittently in CI
- Fix shared mock access in tests that use goroutines
- Reorder cleanup so a server shuts down before its resources close
- Replace sleep-based waits in async tests with readiness checks
Vibe concurrent test safety FAQ
When should I use Vibe concurrent test safety?
When writing tests that launch goroutines or async operations, use shared mock objects across goroutines, fail intermittently, or start and stop daemons or servers during tests.
When should I not use Vibe concurrent test safety?
For purely synchronous tests, tests already verified race-free with the -race flag, or simple mock tests with single-threaded access.
Does Vibe concurrent test safety run any scripts or tools?
No. The skill ships only its SKILL.md file and has no scripts, so it works by guiding the agent's review of the test code.
What checks does the audit include?
Accessor use for mock fields, context cancellation before cleanup, goroutine joins, removal of sleep-based synchronization, polling for async assertions, passing with -race and passing across repeated runs with -count=100.
How do I install Vibe concurrent test safety in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/vibe-concurrent-test-safety to use it in all your projects, or to .claude/skills/vibe-concurrent-test-safety in one project. Or install the vibe-engineering plugin, which includes it: /plugin marketplace add ash1794/vibe-engineering, then /plugin install vibe-engineering@vibe-plugins.
Does Vibe concurrent test safety run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Vibe concurrent test safety?
Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.
What are the best alternatives to Vibe concurrent test safety?
The closest alternatives to Vibe concurrent test safety are Go concurrency review, Go test quality, Axiom audit concurrency, Axiom analyze test failures and Axiom audit testing.
Where this comes from
- Description: from the skill's own SKILL.md.
More from ash1794/vibe-engineering

Checks finished work against its acceptance criteria before it is marked done
- Open source
- 163 GitHub stars
- Developer tools

Generates edge-case and spec-linked tests to check code beyond the happy path
- Open source
- 163 GitHub stars
- Developer tools

Checks your own work for test tampering, skipped requirements and unverified claims
- Open source
- 163 GitHub stars
- Developer tools

Guides an agent to combine commits from parallel branches with sequential cherry-picks
- Open source
- 163 GitHub stars
- Developer tools

Checks test coverage by risk tier and maps spec requirements to tests and code
- Open source
- 163 GitHub stars
- Developer tools

Captures architecture decisions from diffs and conversations into an ADR-style log
- Open source
- 163 GitHub stars
- Developer tools



