CtrlK
BlogDocsLog inGet started
Tessl Logo

idempotency-handling

Idempotent API operations with idempotency keys, Redis caching, DB constraints. Use for payment systems, webhook retries, safe retries, or encountering duplicate processing, race conditions, key expiry errors.

68

Quality

81%

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

Content

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

Highly actionable, executable content with a clear primary workflow. The main gap is the lack of validation checkpoints around the destructive batch cleanup operations, which caps workflow clarity.

Suggestions

Add an explicit validation step before batch DELETE cleanup (e.g., count rows to be deleted, log a dry-run preview, and confirm the expiry boundary) to satisfy the destructive/batch feedback-loop expectation.

Tighten the three TTL cleanup variants by leading with one canonical implementation and briefly noting the others, to reduce token bulk without losing coverage.

Add a brief verification checkpoint after the payment UPDATE (e.g., re-read the row to confirm 'completed' status) to close the loop on the core processing workflow.

DimensionReasoningScore

Conciseness

Mostly lean and assumes Claude's competence; the three near-duplicate TTL cleanup variants (SQL, Node.js, Python) add some bulk but each earns its place.

4 / 5

Actionability

Provides fully executable, copy-paste-ready code (Redis middleware, SQL schema with index, payment processing with status branches, cleanup jobs) covering the common cases.

5 / 5

Workflow Clarity

The payment flow has a clear insert→process→status-check sequence with error branches, but the destructive batch DELETE cleanup operations lack explicit validation/verification checkpoints, capping this dimension at 3.

3 / 5

Progressive Disclosure

Single-file skill with no bundle files and well-organized sections; good structure with minor gaps, applying the simple-skill exception.

4 / 5

Total

16

/

20

Passed

Description

87%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, specific description that clearly states capabilities and provides explicit 'Use for' trigger guidance. Slight room to expand keyword synonyms for trigger term quality.

DimensionReasoningScore

Specificity

Names the domain plus several concrete mechanisms ('idempotency keys, Redis caching, DB constraints') rather than abstract language, with only minor coverage gaps.

4 / 5

Completeness

Explicitly answers both what ('Idempotent API operations with idempotency keys, Redis caching, DB constraints') and when ('Use for payment systems, webhook retries...') with concrete trigger phrases.

5 / 5

Trigger Term Quality

Good natural trigger coverage ('payment systems, webhook retries, safe retries, duplicate processing, race conditions, key expiry errors') with a few synonyms missing.

4 / 5

Distinctiveness Conflict Risk

Clear idempotency niche with distinct triggers unlikely to collide with unrelated skills.

5 / 5

Total

18

/

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.

Validation16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository
secondsky/claude-skills
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.