test-scaffolder

Generate unit and end-to-end test stubs with an integration layer for multi-module projects.

Updated Nov 25, 2025
One-click install
npx skills add https://github.com/NikhilVijayakumar/Yantra --skill test-scaffolder-nikhilvijayakumar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-scaffolder
Source: https://github.com/NikhilVijayakumar/Yantra/tree/main/.agent/skills/test-scaffolder
Command: npx skills add https://github.com/NikhilVijayakumar/Yantra --skill test-scaffolder-nikhilvijayakumar

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This dynamic scaffolder automatically creates per-submodule unit and end-to-end test stubs plus an integration test to ensure complete coverage for multi-module projects.

Core Features & Use Cases

  • Auto-generates standardized unit tests for each sub-module with deterministic IDs.
  • Generates end-to-end tests and integration glue to validate inter-module wiring.
  • Enforces red-phase scaffolding to provide traceable, actionable stubs aligned to documentation.

Quick Start

Run python scaffold_tests.py <module> <sub1,sub2,...> to generate per-submodule unit and e2e test skeletons.

Frequently Asked Questions about test-scaffolder

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

FAQPage Schema
How do I scaffold unit and e2e tests for a multi-module project?

You can scaffold unit and e2e tests by running a Python script that generates per-submodule unit test stubs, end-to-end test skeletons, and integration glue to validate cross-module wiring. This requires a documented module and sub-module plan.

What is red-phase test scaffolding and why use it for automation?

Red-phase test scaffolding generates actionable, failing test stubs aligned to project documentation. It provides traceable test IDs mapped to sub-modules, ensuring complete coverage before implementation begins in a multi-module project.

Do I need Python to generate pytest test stubs for sub-modules?

Yes, you need Python 3.x and a scripts directory to run the test generation script. The scaffolder uses these to map deterministic test IDs to your documented sub-module plan and output pytest-compatible stubs.

Can I automatically generate integration tests for cross-module wiring?

Yes, the scaffolder generates an integration test layer that validates inter-module wiring. When you provide an N sub-modules blueprint, it creates the integration path tests alongside the individual unit and end-to-end test stubs.

What's the best way to structure test generation for multiple sub-modules?

Provide a documented module and sub-module plan to map IDs to tests, then execute the scaffold script with the module name and comma-separated sub-modules. This generates standardized, deterministic unit and e2e test skeletons for each component.

Why does test scaffolding require a documented module plan?

Test scaffolding requires a documented module plan because the generator maps deterministic test IDs directly to your sub-module blueprint. Without this documented plan, the tool cannot create traceable stubs or wire the cross-module integration tests.