CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

pci-compliance

Implement PCI DSS compliance requirements for secure handling of payment card data and payment systems. Use when securing payment processing, achieving PCI compliance, or implementing payment card security measures.

Quality

67%

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

Fix and improve this skill with Tessl

tessl review fix ./skills/pci-compliance/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

36%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.

The body is a topic-by-topic PCI reference with clear headers and plenty of code, but it is a monolithic ~460-line file with generic filler sections, duplicated content, and non-executable or deprecated code snippets. It lacks any sequenced compliance workflow with validation checkpoints, and none of the detailed material is split into reference files.

Suggestions

Cut the generic 'Instructions' and tautological 'Do not use this skill when' sections, and merge the 12-requirements list with the Compliance Checklist dict to remove duplication — keep only PCI-specific knowledge Claude doesn't already have (prohibited data rules, SAQ levels, scope-reduction strategies).

Add a sequenced implementation workflow with explicit validation checkpoints, e.g.: 1. Determine transaction volume → compliance level/SAQ type; 2. Map systems that touch card data (scope); 3. Remediate per requirement area; 4. Validate against the compliance checklist before proceeding; 5. Prepare evidence for assessment.

Fix code executability: import `json` in TokenVault, define or import `SecurityError`/`audit_log`/`app`, import `request` in the audit logger, replace the deprecated Stripe Charges API (`stripe.Charge.create`) with the PaymentIntents API, and either implement `sanitize_input` concretely or remove the pass-stub.

Move the detailed code examples (token vault, encryption storage, access-control decorator, audit logger) into a `references/` file linked one level deep from SKILL.md, keeping only the highest-value guidance (prohibited vs. allowed data, masking rule, scope reduction) inline.

DimensionReasoningScore

Conciseness

Several padded or unnecessary sections: the generic "Instructions" section ("Clarify goals, constraints, and required inputs. Apply relevant best practices and validate outcomes.") adds nothing Claude doesn't already do, the "Do not use this skill when" section is tautological ("The task is unrelated to pci compliance"), the 12-requirements list is duplicated by the Compliance Checklist dict, and long code blocks (AES-GCM boilerplate, Luhn algorithm, Flask decorators) re-explain concepts Claude already knows. This matches anchor 2 ('several unnecessary explanations or padded sections') better than anchor 3's 'mostly efficient'; the ~460-line body also carries outdated time-sensitive code (deprecated Stripe Charges API, exp_year 2024) outside any 'old patterns' section.

2 / 5

Actionability

There is substantial concrete code, but a meaningful portion is not executable: `create_payment_method_token` is a pass-stub containing JavaScript in a docstring, `sanitize_input` is a bare `pass` stub, `TokenVault` never imports `json`, `SecurityError` and `audit_log` are undefined, the access-control example references an undefined `app`, the audit logger uses an unimported `request`, and the Stripe examples use the deprecated Charges API. This sits between anchor 3 ('pseudocode instead of executable code; missing key details') and anchor 4 ('minor gaps') — the gaps are more than minor, so 3.

3 / 5

Workflow Clarity

The body is organized by topic (requirements, levels, data handling, tokenization, encryption, access control, logging, SAQ) rather than as a sequenced process — there is no ordered workflow for the skill's core task (e.g., assess scope → pick SAQ level → remediate per requirement → validate → attest) and no validation checkpoints or feedback loops; the checklist is a static list, not a checkpoint. This matches anchor 2 ('rough sequence present but many gaps; validation absent') — the implied ordering of sections is the only sequence — better than anchor 3, which requires listed steps.

2 / 5

Progressive Disclosure

Section headers are clear and consistent (12 requirements, compliance levels, data minimization, tokenization, encryption, access control, audit logging, SAQ, checklist, violations, scope reduction), giving real structure — above anchor 2's 'no section headers' example. However, everything is inlined in a single ~460-line file with zero references to separate files: ~330 lines of code examples (tokenization vaults, encryption, decorators, loggers) that clearly belong in reference files are inline, matching anchor 3 ('content that should be separate is inline'). Not 4, since there are no bundle files or 'See X.md' navigation at all.

3 / 5

Total

10

/

20

Passed

Description

82%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 well-formed description that clearly states what the skill does and when to use it, with explicit trigger phrases and a distinct PCI-compliance niche. Its only weakness is that the action verbs are generic paraphrases (implement/secure/achieve) rather than distinct concrete capabilities, which limits specificity.

DimensionReasoningScore

Specificity

Phrases like "Implement PCI DSS compliance requirements" and "secure handling of payment card data" name the domain clearly and give 1-2 actions, but the actions ("implement", "secure", "achieve") are generic and largely paraphrases of one another rather than distinct concrete capabilities like the anchor-4 examples (extract/fill/convert). It is above a score of 2 because it goes beyond merely naming the domain, but below 4 because no specific distinct actions (e.g., tokenization, audit logging, SAQ preparation) are listed.

3 / 5

Completeness

It explicitly answers both parts: what ("Implement PCI DSS compliance requirements for secure handling of payment card data and payment systems") and when ("Use when securing payment processing, achieving PCI compliance, or implementing payment card security measures") — a clear 'what' plus an explicit 'Use when' clause with three concrete trigger phrases, matching the anchor-5 example pattern. A 4 would require the 'when' to be less explicit or specific, which is not the case here.

5 / 5

Trigger Term Quality

Natural phrases users would say are present: "PCI DSS compliance", "achieving PCI compliance", "securing payment processing", "payment card security" — good keyword coverage. Not a 5 because common synonyms such as "credit card", "cardholder data", and "PCI audit" are missing.

4 / 5

Distinctiveness Conflict Risk

PCI DSS / payment-card compliance is a clear niche with distinct terminology ("PCI DSS", "PCI compliance", "payment card data") that no generic security or file-handling skill would claim. Overlap risk with a general security-hardening skill is minimal, matching the anchor-5 'clear niche with distinct triggers' description rather than anchor 4's 'minor overlap risk with closely related skills'.

5 / 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

rmyndharis/antigravity-skills

Path

skills/pci-compliance/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.