Skip to content
Back to skills

Test Structure Preservation

ASecurity

Test whether the proposed mapping preserves the required relations/operations/invariants and actively search for a minimal counterexample to preservation.

  • 499 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 24, 2026
researchtesting

Security analysis

A100/100

Scanned September 24, 2026

npx -y skills add yogsoth-ai/de-anthropocentric-research-engine --skill test-structure-preservation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Test Structure Preservation?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Test Structure Preservation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/yogsoth-ai-test-structure-preservation/badge)](https://www.skillsdirectory.com/skills/yogsoth-ai-test-structure-preservation)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: test-structure-preservation
description: "Test whether the proposed mapping preserves the required relations/operations/invariants and actively search for a minimal counterexample to preservation."
---

# test-structure-preservation
## Purpose
Test whether a proposed mapping preserves required relations, operations, and invariants, while searching a minimal counterexample.
## Input contract
```yaml
required: [mapping, preservation_obligations, source_and_target]
optional: [counterexample_search_space]
constraints: [obligations must be enumerated before testing]
```
## Procedure
1. Evaluate each relation, operation, and invariant.
2. Search for the smallest preservation failure.
3. Record pass, fail, unknown, and counterexample evidence.

If material relations fail to survive the mapping, consider `downgrade-equivalence-claim` as the next tactic.

## Output contract
```yaml
produces: [preservation_matrix, counterexample, failed_obligations, uncertainty]
delta_fields: [findings, evidence_updates, uncertainties, decisions]
```
## Quality gates
- A preserved invariant needs a tested mapping and evidence.
## Failure and counterexamples
Unknown preservation is not a pass.
## Provenance map
- resolved: isomorphism-falsification

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…