CtrlK
BlogDocsLog inGet started
Tessl Logo

testland/k-anonymity-verifier

Verifies that a masked dataset satisfies k-anonymity, l-diversity, and t-closeness by computing equivalence classes over chosen quasi-identifiers and reporting re-identification risk. Covers quasi-identifier selection heuristics, threshold guidance, pycanon API (k_anonymity / l_diversity / t_closeness / report), ARX Java API and GUI workflow, SmartNoise for differential-privacy comparison, and CI-gate integration. Distinct from pii-masking-pipeline-builder's masking-techniques catalog (which lists masking operators but defers k-anonymity measurement to dedicated tooling) and from presidio-pii-detection (which detects PII spans but offers no equivalence-class analysis). Use when you need to confirm whether a masked dataset meets a stated k, l, or t threshold before promoting it to a non-production environment.

73

Quality

92%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Low

Low-risk findings worth noting

Overview
Quality
Evals
Security
Files

Quality

Content

92%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A well-structured, highly actionable skill body with a clearly sequenced workflow, explicit validation and feedback loops, and appropriate offloading of detail into one-level reference files. The only improvement opportunity is trimming repeated inline URL citations to tighten token efficiency.

Suggestions

Consolidate the repeated inline GitHub/ARX URL citations (each appears 4+ times) into a single citation per section or rely on the References section to reduce token cost.

Tighten the Overview's l-diversity/t-closeness definitional sentences since the threshold bands in Step 4 already convey the operative guidance.

DimensionReasoningScore

Conciseness

Largely dense and assumes Claude's competence with minimal padding, but the same GitHub/ARX URLs are re-cited inline throughout and re-summarized in References, and the Overview carries some definitional exposition, leaving minor trim opportunities.

4 / 5

Actionability

Provides copy-paste-ready Python (Steps 3 and 5), install commands, an executable YAML policy, concrete threshold bands, and pointers to a complete gate script (ci-gate.md) and ARX Java code (arx-api.md) verified as real files, covering the common cases.

5 / 5

Workflow Clarity

Eight steps are clearly sequenced with an explicit validation checkpoint (CI gate exits non-zero on breach) and a fail -> re-mask -> re-verify feedback loop shown in the worked example, plus anti-patterns reinforcing validation discipline.

5 / 5

Progressive Disclosure

SKILL.md is a clear overview that externalizes detail into two one-level-deep reference files (ci-gate.md, arx-api.md), both clearly signaled and linked at the relevant steps and re-listed in References; verified paths exist and there is no nested referencing.

5 / 5

Total

19

/

20

Passed

Description

92%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A highly specific, complete, and distinctive description that clearly states both capability and trigger conditions while actively disambiguating from sibling skills. Its only minor weakness is a slightly technical lean in trigger phrasing rather than everyday synonyms.

DimensionReasoningScore

Specificity

Lists multiple concrete actions ('computing equivalence classes', 'reporting re-identification risk') plus a comprehensive catalog of specific APIs (k_anonymity / l_diversity / t_closeness / report, ARX Java API and GUI, SmartNoise, CI-gate), matching the comprehensive-coverage anchor.

5 / 5

Completeness

Explicitly answers both what (verifies k/l/t, computes equivalence classes, reports risk) and when ('Use when you need to confirm whether a masked dataset meets a stated k, l, or t threshold before promoting it to a non-production environment'), with a concrete trigger phrase.

5 / 5

Trigger Term Quality

Includes natural terms a privacy engineer would say ('k-anonymity', 'l-diversity', 't-closeness', 'masked dataset', 'threshold before promoting'), but leans technical with jargon like 'equivalence classes' rather than covering lay synonyms, so just below the comprehensive anchor.

4 / 5

Distinctiveness Conflict Risk

Actively distinguishes from two sibling skills (pii-masking-pipeline-builder, presidio-pii-detection) with boundary rationale and occupies a clear niche (k/l/t measurement), giving minimal conflict risk.

5 / 5

Total

19

/

20

Passed

Validation

87%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation14 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

metadata_version

'metadata.version' is missing

Warning

referenced_paths_exist

Referenced path issues: 1 missing

Warning

Total

14

/

16

Passed

Reviewed

Table of Contents