Agent Plugins Marketplace
All plugins

test-sloc-cut

v1.0.0+codex.36ddeee13e5c

Shrink a test suite without losing an asserted fact or a covered branch: a fact matrix of what each test pins plus per-test branch coverage and a verified covering set, deleting only on the intersection, with a mutant check for every relocated fact. Use when asked to trim, dedupe, consolidate, or reduce tests or test SLOC, when a suite grew by accretion, when deciding whether to delete, fold, or parametrize tests, or before cutting a test on 'coverage is unchanged' alone. Python/pytest.

Codex1 Skill

By Alberto LealLicense: MIT22 GitHub starsUpdated yesterday

Directory evidence

Runtimes
Codex
Parsed components
1 skill or MCP entry
Source updated
Sep 22, 2026
Manifest status
Canonical path parsed

The directory validates manifest shape and source location. It does not execute the plugin or provide a security endorsement. Review the indexing methodology

Install test-sloc-cut for Codex

Installs for the current user
codex plugin marketplace add dashed/claude-marketplace
codex plugin marketplace upgrade alberto-marketplace
codex plugin add test-sloc-cut@alberto-marketplace

Paste and run these commands in a terminal with Codex. They add and refresh the alberto-marketplace catalog, then install this plugin.

Compatibility: the page URL and API slug “test-sloc-cut” remain stable.

  • Codex: test-sloc-cut@agent-plugin-marketplacetest-sloc-cut@alberto-marketplace

The installer fetches third-party code from the source repository shown on this page. This directory validates manifest structure and source location, but does not perform a security audit; review the manifest, components, and source before installing.

Get the source manually
git clone https://github.com/dashed/claude-marketplace

Clone the source repository, then follow its setup instructions to add the plugin to a compatible client. The plugin root is plugins/test-sloc-cut/.

Plugin files

plugins/test-sloc-cut/
├── .codex-plugin/plugin.json
└── skills/test-sloc-cut/SKILL.md

Included Skills1

test-sloc-cutskills/test-sloc-cut/SKILL.md

Shrink a test suite without losing a single asserted fact or covered branch — the fact-matrix method: read every test into a matrix of the propositions it pins, measure per-test branch coverage and a covering set, and delete only on the intersection of both oracles; relocate a fact to a cheaper layer only after a mutant proves the new assertion catches it. Use when asked to trim, dedupe, consolidate, simplify, shrink, or reduce tests or test SLOC, when a suite has grown by accretion (the same value asserted in a pure test, a DB test and an end-to-end test; tests whose bodies differ by one argument), when deciding whether to delete, fold, parametrize, or share a helper across tests, when a reviewer calls a test file bloated or redundant, or before cutting any test on 'coverage is unchanged' alone. Python/pytest with pytest-cov. Ships the tokenizer line counter, the per-test coverage and covering-set script, the mutant check, and the four-agent investigation briefs.

Plugin manifests1

plugins/test-sloc-cut/.codex-plugin/plugin.json
{
  "name": "test-sloc-cut",
  "version": "1.0.0+codex.36ddeee13e5c",
  "description": "Shrink a test suite without losing an asserted fact or a covered branch: a fact matrix of what each test pins plus per-test branch coverage and a verified covering set, deleting only on the intersection, with a mutant check for every relocated fact. Use when asked to trim, dedupe, consolidate, or reduce tests or test SLOC, when a suite grew by accretion, when deciding whether to delete, fold, or parametrize tests, or before cutting a test on 'coverage is unchanged' alone. Python/pytest.",
  "author": {
    "name": "Alberto Leal"
  },
  "license": "MIT",
  "keywords": [
    "testing",
    "pytest",
    "coverage",
    "test-suite",
    "refactoring",
    "python",
    "mutation-testing",
    "code-quality"
  ],
  "interface": {
    "displayName": "Test Sloc Cut",
    "shortDescription": "Shrink a test suite without losing an asserted fact or a covered branch: a fact matrix of what each test pins plus per-test branch coverage and a verified covering set, deleting...",
    "longDescription": "Shrink a test suite without losing an asserted fact or a covered branch: a fact matrix of what each test pins plus per-test branch coverage and a verified covering set, deleting only on the intersection, with a mutant check for every relocated fact. Use when asked to trim, dedupe, consolidate, or reduce tests or test SLOC, when a suite grew by accretion, when deciding whether to delete, fold, or parametrize tests, or before cutting a test on 'coverage is unchanged' alone. Python/pytest.",
    "developerName": "Alberto Leal",
    "category": "Productivity",
    "capabilities": [
      "Skills"
    ],
    "defaultPrompt": [
      "Use $test-sloc-cut for this task."
    ]
  },
  "repository": "https://github.com/dashed/claude-marketplace/tree/master/plugins/test-sloc-cut",
  "skills": "./skills/"
}

If you maintain this plugin, link to this source-backed listing from your README so users can review its manifest and indexed components.

[test-sloc-cut on Agent Plugins Marketplace](https://pluginsmp.com/plugins/test-sloc-cut)