One-click install
npx skills add https://github.com/watmin/datamancy.dev --skill complectens
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: complectens
Source: https://github.com/watmin/datamancy.dev/tree/main/complectens
Command: npx skills add https://github.com/watmin/datamancy.dev --skill complectens

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Complectens ensures tests are constructed from layered, named helpers with per-layer proofs rather than monolithic, hard-to-diagnose tests.

Core Features & Use Cases

  • Layered deftests: each layer has its own deftest that proves its contract.
  • Clear failure trace: failure points are traceable to the exact layer.
  • Top-down composition: final test composes from upper layers to document intent.

Quick Start

Define named helpers and per-layer deftests in a single file, then run the test suite to verify the final composition.

Frequently Asked Questions about complectens

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

FAQPage Schema
How do I structure layered tests to avoid monolithic test suites?

Layered tests use named helpers with per-layer deftests to prove each contract independently. This modular test design prevents forward references, enforces a top-down dependency graph, and keeps failure points traceable to the exact layer.

What is a per-layer proof in modular test design?

A per-layer proof is a dedicated deftest that validates the contract of a specific named helper. This testing approach ensures each layer is independently verified before final top-down composition, providing a clear failure trace for debugging.

Why do my modular tests fail to trace failures to the exact layer?

Modular tests fail to trace failures when they lack per-layer deftests for named helpers. Implementing a top-down dependency graph with individual proofs for each layer ensures failure points remain traceable to the exact helper contract.

How do I enforce a top-down dependency graph in test suites?

Enforce a top-down dependency graph by composing final tests from upper layers and preventing forward references between helpers. This structure documents intent and keeps tests modular by validating each named helper with its own deftest.

Can I use complectens to validate existing monolithic test suites?

Complectens identifies whether a test suite uses layered, named helpers with per-layer proofs instead of monolithic tests. It validates top-down structure and prevents forward references, making it suitable for refactoring monolithic suites into modular tests.

Does layered test design work without external testing dependencies?

Layered test design works without external dependencies by defining named helpers and per-layer deftests within a single file. This approach relies on structuring tests modularly and validating top-down composition rather than requiring specific frameworks.