episteme-graph-ci-tests

Generate pytest unit tests for Episteme Graph API routes, schemas, and agent logic.

1|Updated Mar 21, 2026
One-click install
npx skills add https://github.com/dx-junkyard/episteme-graph --skill episteme-graph-ci-tests
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: episteme-graph-ci-tests
Source: https://github.com/dx-junkyard/episteme-graph/tree/main/.claude/skills/episteme-graph-ci-tests
Command: npx skills add https://github.com/dx-junkyard/episteme-graph --skill episteme-graph-ci-tests

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pytest.

What problem does it solve?

This skill eliminates the risk of untested code changes by automatically identifying missing test coverage and generating appropriate test patterns whenever the Episteme Graph codebase is modified.

Core Features & Use Cases

  • Automated Test Generation: Creates unit tests for new functions, API endpoints, and Pydantic schemas.
  • Regression Prevention: Ensures that changes to business logic or ORM models are accompanied by updated test cases.
  • Use Case: After adding a new agent to the PDF parsing pipeline, trigger this skill to generate the corresponding test suite, ensuring the new agent's validation and input building logic are fully covered.

Quick Start

Trigger the episteme-graph-ci-tests skill to generate missing test patterns for the recently modified core logic files.

Frequently Asked Questions about episteme-graph-ci-tests

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically generate pytest unit tests for new API routes?

Automated pytest test generation targets modified API routes, Pydantic schemas, and agent logic to create corresponding unit tests. It identifies missing test coverage and generates appropriate test patterns whenever the backend codebase is modified.

Why do I need to update unit tests when modifying Pydantic schemas in my backend?

Updating unit tests when modifying Pydantic schemas prevents regressions in business logic. Automated test generation ensures that changes to schemas or ORM models are accompanied by updated test cases to maintain CI quality gates.

Can I validate Python agent logic in CI without external service dependencies?

You can validate Python agent logic without external service dependencies by integrating with unittest.mock. This approach mocks external services to test business logic in isolation, ensuring reliable and fast CI test execution.

What is the best way to ensure CI quality gates are maintained after adding a new agent?

The best way to maintain CI quality gates after adding a new agent is triggering automated test generation. It creates a full test suite covering the new agent's validation and input building logic, ensuring all new code paths are tested.

Does automated test generation work with existing pytest suites?

Automated test generation works directly with existing pytest suites by generating compatible unit test patterns. It targets code changes within the backend and uses unittest.mock to validate business logic without requiring external service dependencies.