CtrlK
BlogDocsLog inGet started
Tessl Logo

ai-persistence

Durability and state persistence for TanStack AI chats with @tanstack/ai-persistence. Routes to server chat persistence (withPersistence), client persistence (localStorage/IndexedDB), the store contracts, and adapter recipes. Distinguishes delivery durability (resumable streams) from conversation state. Use when conversations must survive reloads, multi-device, approvals, or server restarts — NOT for stream reconnect alone.

67

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

78%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 well-structured, domain-focused, and richly cross-referenced with executable sketches and explicit critical rules. The main opportunities are tightening the densest explanatory paragraphs and adding a validate-fix-retry loop around adapter authoring.

Suggestions

Tighten the 'Where bytes land' and byte-storage paragraphs — consolidate the SSRF/storageKey/resolveArtifactBlobKey detail into a referenced sub-skill to improve conciseness.

Add an explicit validate->fix->retry feedback loop (e.g. conformance testkit failure -> inspect failing store method -> re-run) to lift workflow clarity.

Make the server sketch fully copy-pasteable by removing the '// ...' placeholder or replacing it with a concrete render of the streamed response.

DimensionReasoningScore

Conciseness

Dense and domain-specific rather than padded with concepts Claude already knows, though a few passages (e.g. the 'Where bytes land' and byte-storage paragraphs) could be tightened; mostly efficient with minor over-explanation.

4 / 5

Actionability

Provides an executable server POST sketch and a client useChat example plus concrete API names and rules; the examples have minor gaps (a '//' placeholder and 'see ai-persistence/stores' indirection) rather than being fully copy-paste complete.

4 / 5

Workflow Clarity

A clear 'Recommended production stack' sequence and validation checkpoints ('Run the conformance testkit', 'Authorize thread access at the route boundary') are present; it lacks an explicit validate->fix->retry feedback loop, keeping it just below 5.

4 / 5

Progressive Disclosure

Clear overview with well-signaled one-level-deep references via routing tables to sub-skills (server, stores, adapters), with content appropriately split and easy to navigate; no nested-reference chains.

5 / 5

Total

17

/

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.

The description is strong: it states concrete capabilities, gives explicit 'Use when' triggers with a negative boundary, and occupies a distinct niche. Minor improvements would broaden trigger synonyms and tighten the action framing.

DimensionReasoningScore

Specificity

Lists several concrete capabilities — 'server chat persistence (withPersistence)', 'client persistence (localStorage/IndexedDB)', 'the store contracts', and 'adapter recipes' — with only minor gaps; falls just short of the fully comprehensive anchor because 'Routes to...' frames navigation more than distinct performed actions.

4 / 5

Completeness

Explicitly answers both what ('Durability and state persistence... routes to server chat persistence, client persistence, the store contracts, and adapter recipes') and when ('Use when conversations must survive reloads, multi-device, approvals, or server restarts — NOT for stream reconnect alone') with concrete trigger phrases.

5 / 5

Trigger Term Quality

Includes natural user-facing phrases like 'conversations must survive reloads, multi-device, approvals, or server restarts' and 'stream reconnect', giving good keyword coverage though a few common synonyms are absent.

4 / 5

Distinctiveness Conflict Risk

Occupies a clear niche (TanStack AI persistence) and explicitly disambiguates ('NOT for stream reconnect alone'), but has minor overlap risk with the sibling ai-core/client-persistence skill it routes to.

4 / 5

Total

17

/

20

Passed

Validation

93%

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

Validation15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

15

/

16

Passed

Repository
TanStack/ai
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.