AI Blocks

Putting the blocks together

This is taking longer than expected.

Try againBrowse the library
AI Blocks · All skills by job · Minds · Mini tools · How it works · From a source · Apps

AI Blocks › Test and fix code

API test suite builder

Point it at your endpoints. Get integration and contract tests for each route, with fixtures.

API test suite builder is a free AI skill for the job "Test and fix code". Give the instructions to an AI assistant that supports the required files and tools, then review its output.

Free · No account · MIT licence · Made by Alireza Rezvani

Made by Alireza Rezvani. See the original on GitHub; we copied it as it is, with its licence.

What it does

Test files for every route in your API, covering sign-in, bad input, error codes and the edge cases people forget. Point it at your code and it finds the endpoints for you. The skill scans Next.js, Express, FastAPI and Django REST projects to list each route and method. For each one it writes tests for missing, invalid and expired tokens, wrong types and boundary values, injection tries, the main status codes, first and last pages, empty results, file uploads of the wrong type or size, and burst limits. Output is ready to run with Vitest and Supertest in Node, or Pytest and httpx in Python. It can also create a scaffold before you write the endpoint.

You give it

You get

Use it when

How to use it

  1. Add it to your AI once: download it and add the folder to Claude, ChatGPT or Codex as a skill.
  2. Ask for the job in your own words. Your AI opens the skill when it fits.
  3. It works best when your AI can run code and read your project files.

Workflows that use it

More for Test and fix code

Every test and fix code skill