Python Test Generator

Python Test Generator

By DevCraft Studio

4.7

Skill rating

Development

Category

v1.0.0 · 5 files

Package

Purchase this skill

$11.00

By purchasing this skill, you agree to our terms of service

Examples

Sample prompts and responses with this skill.

Try in chat

Python Test Generator

Scenario: Unit tests from function signatures

Your prompt

Generate tests for a slugify(text, max_length) utility.

Skill response

Cases: empty string, unicode, max_length truncation, consecutive hyphens collapsed, already-valid slug passthrough.

Description

Generate pytest cases with edge cases and fixtures from your module outline.

How to use this skill

Connect via MCP in your agent, or install the package locally.

  • No skills folder or manual file copies
  • Skill runs on Ctxor when your agent calls it (usage from org credits)
  1. Install Ctxor MCP

    Pick your agent below and follow its instructions.

    Transport: HTTP
    Authentication: API key

    Run this command in your terminal.

    Terminal

    Sample only
    claude mcp add --transport http ctxor https://mcp.ctxor.example/mcp \
    --header "Authorization: Bearer <your-api-key>"

    Your connection details and API key are available in your library when this server is enabled.

  2. Add your API key

    Replace the Bearer placeholder with the API key from your Ctxor library.

    Use your agent's secrets UI or environment variables if it does not store keys in the config file.

  3. Reload and verify

    Reload your agent, then ask it to use this skill through the connected MCP server.

What's inside

Version 1.0.0For local install only—use Ctxor MCP above to skip the ZIP.

python-test-generator5

part-1.md

Reference

part-2.md

Reference

part-3.md

Reference

reference.md

Reference

SKILL.md

Main instructions

What's included

  • pytest templates
  • Edge case matrix
  • Fixture stubs

FAQ

Reviews