Test Writer: Tests for the Code That Matters

    by Upendra singh chauhan

    1

    Finds the important code with no tests and writes small, focused tests in your project's own framework, then runs them. A test that finds a real bug is kept and reported.

    Free

    Security scanned

    Works with the AI Agents you already use

    About this skill

    Test Writer adds tests that catch real bugs, in the style your project already uses.

    It finds your test framework, where the tests live and how they run, and runs them once to see where things stand. Then it looks for the code that matters most and has no tests: code that handles money, auth, data changes or parsing, code that changed recently, and code with many branches.

    It writes small, focused tests next to your existing ones:

    • one behaviour per test, named after the behaviour ("refuses an expired token");
    • the edge cases: empty, none, very large, wrong type, the boundary values;
    • no tests of private details that would break on a harmless refactor.

    Then it runs them. If a new test fails because the code is wrong, it keeps the test and tells you, instead of bending the test to pass. It does not change your application code unless you ask.

    You get what it covered and why, the commands to run the tests, and any bug a new test found.

    Part of the Pitcrew crew: a free, open-source pit wall for Claude Code (npx pitcrew-cli).

    Requires an existing test runner setup. Cannot fix application bugs automatically. Impact analysis requires a git repository.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 9 days ago

    • Free with an Agensi account

    Software
    An AI agent that can run shell commandsA test framework in your projectpitcrew-cliNode.jsGit

    It writes only test files and does not change your application code unless you ask.

    Permissions

    Terminal / Shell
    Read Files
    Write Files

    Reads the project, writes new test files next to the existing ones, and runs your test command. Makes no network calls.

    Listed9 days ago

    What's inside

    Frequently Asked Questions

    It looks for code with no tests that handles money, auth, data changes or parsing, code that changed recently (from git log), and code with many branches, and starts with those.

    Any agent that can read and write files and run shell commands in your project, such as Claude Code, Codex CLI or Cursor. It runs your project's own test command.

    No manual configuration is required; the skill automatically detects your existing framework (like Jest or Pytest), configuration files, and naming conventions to ensure the new tests blend seamlessly into your project.

    Yes, the skill is designed to run the tests it generates immediately to verify they pass. If a test fails, it provides a detailed report, helping you identify whether the failure is due to a bug in your existing code or an issue with the test logic.

    It follows the mocking style your existing tests already use. It does not install a test framework for you: your project needs one that runs.

    It is free. You get the skill's instructions (SKILL.md) and the MIT licence. It is part of the open-source Pitcrew crew.

    New in Testing & Debugging

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Testing & Debugging.

    Free