Skip to content
Back to skills

003 Name Skill 70c3d5a4

ASecurity

Automatically identify metamorphic properties (symmetry, linearity, additivity, input invariances) from programs or functions. Use when generating metamorphic tests, discovering program properties, validating transformations, or creating test oracles without explicit specifications. Analyzes control flow, data flow, and sample executions to output structured properties for metamorphic test generation and verification.

  • 9 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 11, 2026
testingpythonbashtesting

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 003-name-skill_70c3d5a4 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 003 Name Skill 70c3d5a4?

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

Security grade badge for 003 Name Skill 70c3d5a4
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-003-name-skill-70c3d5a4/badge)](https://www.skillsdirectory.com/skills/tools-only-003-name-skill-70c3d5a4)

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

SKILL.md
---
name: metamorphic-property-extractor
description: Automatically identify metamorphic properties (symmetry, linearity, additivity, input invariances) from programs or functions. Use when generating metamorphic tests, discovering program properties, validating transformations, or creating test oracles without explicit specifications. Analyzes control flow, data flow, and sample executions to output structured properties for metamorphic test generation and verification.
---

# Metamorphic Property Extractor

## Overview

Automatically identify metamorphic properties from programs to enable metamorphic testing without explicit test oracles.

## Core Workflow

### 1. Extract Properties

```bash
python scripts/property_extractor.py --program function.py --output properties.json
```

### 2. Verify Properties

```bash
python scripts/verify_properties.py --program function.py --properties properties.json
```

## Metamorphic Properties

### Symmetry
`f(x, y) == f(y, x)`

### Linearity
`f(a*x) == a*f(x)`

### Additivity
`f(x + y) == f(x) + f(y)`

### Idempotence
`f(f(x)) == f(x)`

### Permutation Invariance
`f(permute(x)) == f(x)`

## Resources

- **[references/metamorphic_testing.md](references/metamorphic_testing.md)**: Metamorphic testing guide
- **scripts/property_extractor.py**: Property extraction tool

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…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.