test-writer

Generate Vitest and pytest test suites with mocks and coverage thresholds.

Updated Dec 22, 2025
One-click install
npx skills add https://github.com/ayia/NutriProfile --skill test-writer-ayia
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-writer
Source: https://github.com/ayia/NutriProfile/tree/main/.claude/skills/test-writer
Command: npx skills add https://github.com/ayia/NutriProfile --skill test-writer-ayia

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The skill helps you create thorough tests for NutriProfile, ensuring proper coverage, reliable behavior, and maintainable test suites across frontend and backend.

Core Features & Use Cases

  • Frontend testing with Vitest, React Testing Library, and mock utilities for i18n, toasts, and QA workflows.
  • Backend testing with pytest, fixtures, and httpx for API and integration tests, plus coverage tracking.
  • Use Case: Generate a complete test suite for a new feature, including unit tests, integration tests, and mocks to validate behavior.

Quick Start

Generate complete frontend and backend test suites with proper mocks and coverage targets.

Frequently Asked Questions about test-writer

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

FAQPage Schema
How do I generate comprehensive test suites for a full-stack NutriProfile application?

To generate comprehensive test suites for a full-stack NutriProfile application, you can automate the creation of unit and integration tests with proper mocking patterns and fixtures for both Vitest and pytest.

What's the best way to structure frontend tests with Vitest and React Testing Library?

The best way to structure frontend tests with Vitest and React Testing Library is to utilize automated mocking utilities for i18n, toasts, and QA workflows while enforcing specific test file structures and coverage thresholds.

Can I use pytest fixtures and httpx for backend API integration testing?

Yes, you can use pytest fixtures and httpx for backend API integration testing to validate endpoints and track coverage assurance across the NutriProfile backend suite.

How do I set up mocking patterns for i18n and toasts in frontend unit tests?

To set up mocking patterns for i18n and toasts in frontend unit tests, the automation specifies required mock utilities that integrate directly with Vitest and React Testing Library workflows.

What coverage thresholds should I target for Vitest and pytest test suites?

Coverage thresholds for Vitest and pytest test suites should target comprehensive validation across frontend and backend, ensuring reliable behavior and maintainable test files for NutriProfile.

Does this test-generation approach work for both frontend and backend testing simultaneously?

Yes, this test-generation approach works for both frontend and backend testing simultaneously by generating complete Vitest and pytest suites with proper mocks and coverage targets for new features.