Skip to main content
ClaudeWave
Skill354 estrellas del repoactualizado today

running-tests

The running-tests skill enables safe execution of focused tests within the opencode-swarm repository using Bun and shell commands. Use this adapter when Codex needs to run isolated per-file tests, perform CI-equivalent validation, check test impact, diagnose failing test output, or execute test loops without interrupting the session.

Instalar en Claude Code
Copiar
git clone --depth 1 https://github.com/ZaxbyHub/opencode-swarm /tmp/running-tests && cp -r /tmp/running-tests/.agents/skills/running-tests ~/.claude/skills/running-tests
Después abre una sesión nueva de Claude Code; el skill carga automáticamente.

SKILL.md

# Running Tests

Use this adapter when executing tests in `opencode-swarm`. For writing tests, load `$writing-tests` instead.

Read, in order:

1. `AGENTS.md`
2. `.opencode/skills/running-tests/SKILL.md`

Codex-specific execution notes:

- Use the available shell execution tool for `bun --smol test` and PowerShell/bash loops.
- Prefer `rg` and repo scripts to rediscover exact commands from source.
- Capture long output to a temp file when needed and report the important tail or failure lines.
- Do not use broad OpenCode `test_runner` scopes for repo validation.
- On Windows, if Bun reports `EPERM` after a forced dependency refresh, rerun the same focused command with approved/elevated access before treating it as a test failure.

Default rule: one source file or one explicit test file can be targeted narrowly; multiple files or directories should use shell loops or the documented tier commands.