marsai:dev-unit-testing

Coordinate Gate 3 unit testing with 85% coverage and structured outputs.

2|Updated Apr 10, 2026
One-click install
npx skills add https://github.com/V4-Company/marsai --skill marsai-dev-unit-testing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: marsai:dev-unit-testing
Source: https://github.com/V4-Company/marsai/tree/main/dev-team/skills/dev-unit-testing
Command: npx skills add https://github.com/V4-Company/marsai --skill marsai-dev-unit-testing

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Gate 3 validation ensures unit test coverage meets at least 85% across all acceptance criteria, enforcing a strict TDD workflow for MarsAI tasks.

Core Features & Use Cases

  • Orchestrates Gate 3 unit testing within a development cycle and filters implementation files through a formal testable-layer allow-list.
  • Dispatches a QA Analyst to write and run unit tests, generating coverage reports, traceability matrices, and handoff data for the next gate.
  • Supports iterative testing with automation of re-tests and escalation when coverage thresholds are not met.

Quick Start

Provide unit_id, acceptance_criteria, and implementation_files to start Gate 3 unit testing.

Frequently Asked Questions about marsai:dev-unit-testing

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

FAQPage Schema
What is Gate 3 unit testing and how does it verify acceptance criteria?

Unit testing validation in this workflow is handled by Gate 3, which dispatches a QA Analyst to write tests and verify that implemented code meets acceptance criteria. It filters implementation files through a testable-layer allow-list and applies test-driven development practices.

Can I use this Gate 3 unit testing automation without providing implementation files?

Generating a coverage report and traceability matrix requires dispatching a QA Analyst to run tests and produce structured outputs. The process verifies code against acceptance criteria and generates a handoff to the next gate if coverage meets the 85% threshold.

What happens when unit test coverage falls below the required threshold?

No, you cannot start Gate 3 unit testing without providing implementation files. You must also supply a unit ID and acceptance criteria to initiate the process, which filters your files through a testable-layer allow-list before generating tests.

What structured outputs are generated after running Gate 3 unit tests?

When unit test coverage falls below the required 85% threshold, the automation triggers an escalation. It supports iterative testing by automating re-tests to help you meet the strict test-driven development validation requirements.

What structured outputs are generated after completing Gate 3 unit tests?

Completing Gate 3 unit tests generates structured outputs including a Testing Summary, Coverage Report, Traceability Matrix, and Handoff to Next Gate. These documents ensure code quality and track acceptance criteria verification.