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 data-masking-techniques-reference (which catalogs 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

Passed

No findings from the security scan

Overview
Quality
Evals
Security
Files

Quality

Content

85%

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

A strong, actionable body with executable code, a validated workflow, and well-structured one-level-deep references. The main weakness is conciseness: repeated inline URL citations and a partly redundant References section add tokens.

Suggestions

Cite each external URL once at first use and drop the repeated inline 'Per [github.com/...]' / '([arx.deidentifier.org/...])' restatements later in the body.

Trim the 'References' section to only links not already given inline, or convert the inline citations into the single References list to avoid stating each URL twice.

In the Overview, the academic citations ('Sweeney 2002, cited in NIST ...', 'Machanavajjhala et al. 2007') could be shortened to the NIST section pointer to save tokens without losing usefulness.

DimensionReasoningScore

Conciseness

Mostly efficient and actionable, but the same pycanon/ARX URLs are repeated inline many times and the final 'References' section restates links and class names already cited above, adding tokens that could be tightened.

2 / 3

Actionability

Provides fully executable pip install commands, a copy-paste pycanon Python snippet, a YAML policy example, and complete gate-script / ARX Java code in the referenced files, matching the score-3 'copy-paste ready' anchor.

3 / 3

Workflow Clarity

The 7-step 'How to use' sequence has explicit validation (CI gate exits non-zero on breach) and a feedback loop (Step 6/7: fail -> re-mask with ARX -> re-verify), reinforced by the worked example and anti-patterns table.

3 / 3

Progressive Disclosure

SKILL.md is a concise overview with well-signaled one-level-deep references to references/ci-gate.md and references/arx-api.md (both real files), plus a clear References section, matching the score-3 anchor.

3 / 3

Total

11

/

12

Passed

Description

100%

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

An exemplary description: third-person, specific, with an explicit 'Use when' trigger and explicit distinctiveness from related skills. It answers what, when, and how it differs from neighbors without padding.

DimensionReasoningScore

Specificity

Lists multiple concrete actions in third person ('Verifies ... by computing equivalence classes', 'reporting re-identification risk', 'Covers ... pycanon API ... ARX Java API and GUI workflow ... CI-gate integration'), matching the score-3 anchor of several specific concrete actions.

3 / 3

Completeness

Clearly answers both 'what' ('Verifies that a masked dataset satisfies ...') and 'when' with an explicit 'Use when ... before promoting it to a non-production environment' clause, satisfying the score-3 anchor.

3 / 3

Trigger Term Quality

Natural domain terms a privacy practitioner would actually say are well covered ('k-anonymity, l-diversity, t-closeness', 'masked dataset', 're-identification risk', 'threshold'), plus the explicit 'Use when you need to confirm whether a masked dataset meets a stated k, l, or t threshold'.

3 / 3

Distinctiveness Conflict Risk

Has a clear niche and explicitly differentiates from sibling skills ('Distinct from data-masking-techniques-reference ... and from presidio-pii-detection ...'), making wrong-skill triggering unlikely.

3 / 3

Total

12

/

12

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