buer2233buer2233Communityยท1 Agent Skills Included

ai-api-test-skill

Structured API test creation, maintenance, and pytest verification

Generates and maintains Python pytest API test cases through fixed gates, workflow routing, and closed-loop verification. Captures real UI traffic, indexes existing endpoints in SQLite, and reuses interface methods to avoid duplicate code and wrong-file edits. Runs target pytest commands, reads real errors, and iterates fixes until tests pass or environment issues are clearly reported.
npx skills add buer2233/ai-api-test-skill --all -g -y
Available:

Instructs the agent to treat SKILL.md as the mandatory execution manual, load task-specific gate and mode documents on demand, derive the project root from the skill location, and follow shared-code and encoding rules when writing or maintaining API tests.

All Skills in This Repository (1)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install ai-api-test-skill?โ–ผ

Run `npx skills add buer2233/ai-api-test-skill --all -g -y` in your terminal to install the skill globally for your coding agent.

What does ai-api-test-skill do?โ–ผ

It guides your coding agent to create and maintain Python pytest API test cases through fixed preflight gates, workflow routing, and mandatory pytest verification loops.

How does it handle projects without API documentation?โ–ผ

It captures real UI traffic with mitmproxy, scans existing endpoints into a SQLite index, and can analyze Java Controller source code to generate tests without formal docs.

Does it work with Claude Code and Codex?โ–ผ

Yes. It follows the standard SKILL.md format and includes orchestration files for both Claude Code and Codex based agents.

Can it fix failing API tests automatically?โ–ผ

Yes. Its pytest-error-driven maintenance mode runs failing tests, classifies the errors, applies minimal fixes, and re-runs until the tests pass.

Related Repositories in Software Engineering

View All in Software Engineeringโ†’