CtrlK
BlogDocsLog inGet started
Tessl Logo

g14wxz/storage-path-validation

Prevents directory traversal in Supabase Storage via path validation functions and storage RLS.

97

Quality

97%

Does it follow best practices?

Impact

Pending

No eval scenarios have been run

SecuritybySnyk

Passed

No known issues

Overview
Quality
Evals
Security
Files

Quality

Discovery

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.

This is an excellent skill description that clearly articulates specific capabilities (Postgres validation functions, directory traversal prevention, tenant-safe file paths), uses natural domain-specific trigger terms (Supabase storage buckets, storage RLS policies, tenant-scoped file uploads), and includes an explicit 'Use when' clause with multiple trigger scenarios. It occupies a distinct niche that minimizes conflict risk with other skills.

DimensionReasoningScore

Specificity

Lists multiple specific concrete actions: 'Creates Postgres functions to validate storage path payloads', 'prevent directory traversal', 'Enforces tenant-safe file paths via storage RLS bucket policies'. These are precise, actionable capabilities.

3 / 3

Completeness

Clearly answers both what ('Creates Postgres functions to validate storage path payloads and prevent directory traversal. Enforces tenant-safe file paths via storage RLS bucket policies.') and when ('Use when configuring Supabase storage buckets, writing storage RLS policies, or implementing tenant-scoped file uploads.').

3 / 3

Trigger Term Quality

Includes strong natural keywords users would say: 'Supabase storage buckets', 'storage RLS policies', 'tenant-scoped file uploads', 'directory traversal', 'Postgres functions', 'storage path'. Good coverage of terms a developer working in this domain would use.

3 / 3

Distinctiveness Conflict Risk

Highly specific niche combining Supabase storage, RLS bucket policies, tenant-scoped paths, and directory traversal prevention. Very unlikely to conflict with other skills due to the narrow, well-defined domain.

3 / 3

Total

12

/

12

Passed

Implementation

92%

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

This is a high-quality skill with executable SQL, clear multi-phase workflow, explicit halt conditions, and a thorough verification phase. It respects Claude's intelligence by avoiding unnecessary explanations while providing all the concrete details needed. The only minor weakness is that all content is inline, though the skill's length is reasonable enough that this is acceptable.

DimensionReasoningScore

Conciseness

The content is lean and efficient. Every section serves a purpose—no explanations of what RLS is, what directory traversal means, or how Postgres functions work. Comments in SQL are minimal and functional.

3 / 3

Actionability

Provides fully executable SQL code for the validation function and all three RLS policy types. Templates are copy-paste ready with clear substitution markers (<bucket_name>). Concrete constraints (SECURITY DEFINER, search_path) are explicitly stated.

3 / 3

Workflow Clarity

Four clearly sequenced phases with explicit HALT conditions (no buckets exist, verification fails). Phase 4 provides a thorough verification loop with specific test cases (traversal attempt, valid path, cross-tenant access) and pass/fail reporting with a halt-on-failure checkpoint.

3 / 3

Progressive Disclosure

Content is well-structured with clear phases and headings, but everything is inline in a single file. The SQL templates and verification steps could potentially be split into referenced files, though the total length is moderate enough that this is a minor concern.

2 / 3

Total

11

/

12

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.

Validation11 / 11 Passed

Validation for skill structure

No warnings or errors.

Reviewed

Table of Contents