CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

pii-redaction-logging-policy-builder

The content provides a TypeScript example that redacts email addresses, SSNs, phone numbers, and credit card numbers before logging. It also specifies what to log or avoid logging and provides a checklist for implementing the policy.

Quality

82%

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

SKILL.md
Quality
Evals
Security

Quality

Scored by GLM 5.3

Content

72%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 lean, code-first single-file skill: real redaction regexes, a working function, and a concrete do/don't logging policy with no padding. Its weaknesses are workflow-shaped — no implementation sequence, no verification step proving redaction catches test inputs, and no code for the referenced logger wrapper — plus small executability blemishes (an escaped template literal and a stray ENDFILE artifact).

Suggestions

Add an explicit adoption sequence with a validation step, e.g.: 1. Add PII_PATTERNS and redactPII; 2. Wrap logger calls; 3. Adopt the policy; 4. Verify with a test like redactPII("Contact john.doe@example.com or 555-123-4567") and check the output contains only [REDACTED_*] placeholders.

Fix the escaped template literal in the example so it is copy-paste executable (use real backticks and ${email}), and include the safe logger wrapper code that the checklist references.

Remove the stray "ENDFILE" artifact at the end of the body and drop the duplicated "# Logging Policy" heading inside the fenced markdown block to tighten token usage.

DimensionReasoningScore

Conciseness

The body is lean and code-forward — a one-line intro ("Protect user privacy in application logs"), then regexes, a function, a do/don't list, and a checklist, with no explanations of concepts Claude already knows. It misses 5 because a few tokens don't earn their place: a stray "ENDFILE" artifact at the end and a duplicated "# Logging Policy" heading inside the fenced block under the already-titled "## Logging Policy" section.

4 / 5

Actionability

Mostly executable: a complete PII_PATTERNS object with four regexes, a working redactPII function, and a usage example with expected output. It falls short of 5 because the usage line contains literal escaped characters ("redactPII(\`User registered: \${email}\`)") that make it invalid TypeScript as written, and the checklist's "Safe logger wrapper" item has no accompanying code — but the core code is real and complete, well above the pseudocode level of 3.

4 / 5

Workflow Clarity

The sections are parallel deliverables (redaction code, policy, checklist) with no explicit adoption sequence, and the "Output Checklist" items are outcome-style ("Team trained", "Log monitoring") rather than checkpoints that verify redaction works (e.g., a test input with expected redacted output) — fitting 'sequence present but checkpoints missing or implicit'. It is not 4 because no clear step sequence is given, and not 2 because validation is not wholly absent (the checklist and the inline expected output exist). No destructive/batch operations are involved, so the cap at 3 for missing feedback loops is not the binding constraint, but the score lands there naturally.

3 / 5

Progressive Disclosure

This is a small (~60-line) single-file skill with no external references needed, organized into three clearly labeled sections ("PII Redaction", "Logging Policy", "Output Checklist") that make navigation trivial — per the rubric's simple-skill guideline, well-organized sections with no reference needs earn the top score. Nothing here clearly belongs in a separate file.

5 / 5

Total

16

/

20

Passed

Description

83%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 strong description: third-person voice, one clear sentence of what it does, and an explicit 'Use for' clause with four quoted trigger phrases, closely matching the rubric's good-example pattern. Remaining room is minor — broader synonym coverage (masking, sanitizing) and slightly narrower triggers than the generic "data privacy".

DimensionReasoningScore

Specificity

The description states one clear action ("Prevents logging sensitive user data") and enumerates three concrete mechanisms ("redaction rules, logging policies, and safe log formatting"), matching the 'several specific actions; minor gaps' anchor. It is not 5 because coverage has gaps (no mention of hashing, tokenization, or log monitoring) and not 3 because it goes beyond naming the domain with 1-2 actions.

4 / 5

Completeness

It explicitly answers both parts: a clear 'what' ("Prevents logging sensitive user data with redaction rules, logging policies, and safe log formatting") and an explicit 'when' with concrete quoted trigger phrases ("Use for 'PII redaction', 'log privacy', 'GDPR logging', or 'data privacy'"), mirroring the anchor-5 example structure. A score of 4 would apply only if the 'when' were less explicit, which it is not.

5 / 5

Trigger Term Quality

The quoted triggers "PII redaction", "log privacy", "GDPR logging", and "data privacy" are phrases users would naturally say in this domain, giving good coverage. It falls short of 5 because common synonyms like "mask sensitive data", "sanitize logs", or "scrub logs" are missing, and it is above 3 since multiple relevant natural terms are present.

4 / 5

Distinctiveness Conflict Risk

The niche (PII redaction in application logs) is clear and most triggers are distinct to it, but the broad trigger "data privacy" creates minor overlap risk with general data-privacy or GDPR-compliance skills. This fits 'mostly distinct; minor overlap risk' rather than 5's 'minimal conflict risk'.

4 / 5

Total

17

/

20

Passed

Validation

100%

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

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

sathishssj3/Stereix-Engine

Path

.agents/skills/pii-redaction-logging-policy-builder/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.