Agent skill

Fix Test

by TypedDevs in TypedDevs/bashunit

Debug and fix failing tests systematically. An agent skill from TypedDevs/bashunit.

MITAuto-check: notesTesting & QA

Install Fix Test

skills CLI
$ npx skills add TypedDevs/bashunit --skill fix-test -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install TypedDevs/bashunit fix-test --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/TypedDevs/bashunit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/fix-test .claude/skills/fix-test && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
fix-test
GitHub stars
434
Token cost
~358 tokens
SKILL.md length
131 words
Files
1
Skills in repo
11
Repo updated
First seen
Licence
MIT

At a glance

Debug and fix failing tests systematically. An agent skill from TypedDevs/bashunit.

  • Works in 5 steps: Identify Failures → Categorize Each Failure → Fix → …
  • Testing & QA work in your project
  • SKILL.md covers Workflow and Debugging Tips
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Fix Test is an agent skill from TypedDevs/bashunit. Debug and fix failing tests systematically

Its SKILL.md is about 360 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Testing & QA. It works with Bash. The repository describes itself as: A simple yet powerfull testing library for bash scripts. The licence is MIT.

When your agent uses it

  • Testing & QA work in your project

Example prompts

  • “/fix-test”

Requirements

  • Pre-approved tools (allowed-tools): Read, Edit, Bash, Grep, Glob

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Identify Failures
  2. Categorize Each Failure
  3. Fix
  4. Verify
  5. Prevent Regression

What it can do on your machine

Read from SKILL.md and the folder at commit 8f297fb. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Edit
    • Bash
    • Grep
    • Glob

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Fix Test loads about 358 tokens when it runs. Until then it costs about 13 tokens; SKILL.md has 131 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~13
When it runs · the whole SKILL.md, loaded when a task matches
~358

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Edit, Bash, Grep, Glob

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from TypedDevs/bashunit at commit 8f297fb, republished under its MIT licence (© TypedDevs). 131 words, ~358 tokens.

Download SKILL.mdSave it as .claude/skills/fix-test/SKILL.md (or your agent's skills folder).
name
fix-test
description
Debug and fix failing tests systematically
allowed-tools
Read, Edit, Bash, Grep, Glob

Fix Test

Systematically debug and fix failing test(s).

Workflow

1. Identify Failures
bash
./bashunit tests/ 2>&1

Parse: which files, which functions, error messages.

2. Categorize Each Failure
  • Test bug — test itself is wrong (wrong expected value, bad setup)
  • Implementation bug — code doesn't match expected behavior
  • Environment issue — missing dependency, wrong fixture path
  • Race condition — passes sequential, fails parallel
  • Flaky test — network/time/random dependency
3. Fix
  • Test bug: correct assertion or setup
  • Implementation bug: minimal fix in src/, follow TDD
  • Environment: fix set_up / fixtures
  • Race condition: use $temp_dir for isolation, wait for async
  • Flaky: mock external dependencies
4. Verify
bash
./bashunit path/to/fixed_test.sh        # Specific test
./bashunit tests/                        # Full suite
./bashunit --parallel tests/             # Isolation check
5. Prevent Regression

Document root cause. Consider adding edge case tests to prevent recurrence.

Debugging Tips

  • Use --filter "test_name" to run single test
  • Add echo "DEBUG: $var" >&2 temporarily
  • Check fixtures exist: ls tests/fixtures/
  • Verify mocks: assert_have_been_called mock_name

© TypedDevs, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/fix-test of TypedDevs/bashunit.

Open the folder on GitHubat commit 8f297fb

Compare with similar skills

Fix Test next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Fix Test compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Fix Test this skillTypedDevs/bashunit434—~358Automated safety check: NotesMIT
Ue Test AuthoringJasonMa0012/MooaToon749—~2.1kAutomated safety check: NotesCustom licence
Opsmill Dev Test Driving Bugsopsmill/infrahub531—~4kAutomated safety check: PassApache-2.0
E2Ecallstack/react-native-pager-view3.4k1 repos~2.1kAutomated safety check: PassMIT
CI FixFastLED/FastLED7.5k—~897Automated safety check: PassMIT
Bats Shell Testing Patternswshobson/agents40k12 repos~1.3kAutomated safety check: PassMIT

Similar skills

  • Ue Test Authoring

    JasonMa0012/MooaToon

    A skill your agent uses when writing or modifying UE automated tests (Automation, CQTest, Functional, Gauntlet, LowLevel) with Rider MCP available.

    749 GitHub stars~2.1k tokensUpdated 20 days ago
    Testing & QAAuto-check: notes
  • Writes a single failing test that reproduces a bug after its root-cause analysis is complete, before any fix is written.

    531 GitHub stars~4k tokensUpdated yesterday
    Testing & QAAuto-check passed
  • E2E

    callstack/react-native-pager-view

    Agentic end-to-end tests with e2e, the e2e runner. An agent skill from callstack/react-native-pager-view.

    3.4k GitHub starsUsed in 1 repo~2.1k tokens
    Testing & QAAuto-check passed
  • CI Fix

    FastLED/FastLED

    Scan all CI builds and tests, find failures, fetch error logs, and fix the code.

    7.5k GitHub stars~897 tokensUpdated yesterday
    Testing & QAAuto-check passed
  • Writes unit tests for shell scripts with Bats: error-condition tests, fixtures and mocks, cross-shell checks, parallel runs, helper files and CI integration.

    40k GitHub starsUsed in 12 repos~1.3k tokens
    Testing & QAAuto-check passed
  • Super Dev

    shangyankeji/super-dev

    Super Dev pipeline governance for research-first, commercial-grade AI coding delivery

    273 GitHub stars~2.6k tokensUpdated 3 mo ago
    Testing & QAAuto-check: notes

More from TypedDevs/bashunit

All 11 skills in this repo
  • Gh Issues

    TypedDevs/bashunit

    Walk over all open GitHub issues that are unassigned or assigned to the current user, and process each one via the /gh-issue skill, sequentially.

    434 GitHub starsUsed in 1 repo~1.7k tokens
    Auto-check: notes
  • Commit

    TypedDevs/bashunit

    Stage and commit changes using conventional commits format. An agent skill from TypedDevs/bashunit.

    434 GitHub stars~781 tokensUpdated yesterday
    Auto-check: notes
  • Gh Issue

    TypedDevs/bashunit

    Fetch GitHub issue, create branch, plan and implement with TDD, then open PR

    434 GitHub stars~721 tokensUpdated yesterday
    Auto-check: notes
  • PR

    TypedDevs/bashunit

    Push branch and create a GitHub PR with concise, issue-linked description

    434 GitHub stars~1k tokensUpdated yesterday
    Auto-check: notes
  • Pre Release

    TypedDevs/bashunit

    Run comprehensive pre-release validation checklist. An agent skill from TypedDevs/bashunit.

    434 GitHub stars~488 tokensUpdated yesterday
    Auto-check: notes
  • Release

    TypedDevs/bashunit

    Run pre-release validation and execute the release process. An agent skill from TypedDevs/bashunit.

    434 GitHub stars~618 tokensUpdated yesterday
    Auto-check: notes

Works with

Questions about Fix Test

What does Fix Test do?

Debug and fix failing tests systematically. An agent skill from TypedDevs/bashunit. Fix Test is an agent skill from TypedDevs/bashunit.

When should I use Fix Test?

Fix Test fits situations like: testing & QA work in your project.

How do I install Fix Test in Claude Code?

Run `npx skills add TypedDevs/bashunit --skill fix-test -a claude-code`. Or copy the skill folder (.claude/skills/fix-test in TypedDevs/bashunit) into .claude/skills/fix-test in your project. Claude Code loads it when a task matches its description.

How do I install Fix Test in Codex?

Run `npx skills add TypedDevs/bashunit --skill fix-test -a codex`. Or copy the skill folder (.claude/skills/fix-test in TypedDevs/bashunit) into .agents/skills/fix-test in your project. Codex loads it when a task matches its description.

Can I use Fix Test in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add TypedDevs/bashunit --skill fix-test -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/fix-test, .gemini/skills/fix-test, .github/skills/fix-test and .opencode/skills/fix-test in your project.

What does Fix Test need to run?

SKILL.md names no scripts, command-line tools or credentials: Fix Test is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Edit, Bash, Grep, Glob.

Does Fix Test access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Fix Test safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Fix Test use?

Fix Test is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Fix Test use?

About 358 tokens (SKILL.md is roughly 1.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Fix Test?

Skills that share tags, products or a category with Fix Test: Ue Test Authoring (JasonMa0012/MooaToon, 749 stars), Opsmill Dev Test Driving Bugs (opsmill/infrahub, 531 stars), E2E (callstack/react-native-pager-view, 3.4k stars) and CI Fix (FastLED/FastLED, 7.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Fix Test?

TypedDevs (a GitHub organization) maintains it in TypedDevs/bashunit, which has 434 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on October 7, 2026.

Source: TypedDevs/bashunit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.