CtrlK
BlogDocsLog inGet started
Tessl Logo

json-typed-attributes

Define typed attributes backed by JSON fields in Rails models. Use when models need flexible data storage with type casting, validations, and form integration. Supports integer, decimal, string, text, boolean, date, and array types.

67

Quality

80%

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

68%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 highly actionable with executable Ruby throughout and clear setup steps, but it is somewhat redundant and lacks explicit validation checkpoints in its database-adjacent workflow. Splitting reference material into bundle files would improve progressive disclosure.

Suggestions

Remove overlap between 'Common Patterns'/'Best Practices' and earlier sections, or consolidate them into a single concise reference, to reduce repetition.

Add an explicit verification step in Setup (e.g., confirm the jsonb column exists and a round-trip save/read works) given the skill touches migrations and persistence.

Move the per-type API reference or the complete example into a references/ file so SKILL.md stays a lean overview with one-level-deep links.

DimensionReasoningScore

Conciseness

Per-type sections are lean and assume Rails knowledge, but 'Common Patterns' and 'Best Practices' restate code and guidance already shown earlier, adding repetition that could be trimmed.

3 / 5

Actionability

Copy-paste-ready Ruby examples cover every supported type plus forms, validations, strong parameters, scopes, and troubleshooting, fully instructing the common cases.

5 / 5

Workflow Clarity

The three-step setup is clearly sequenced, but there are no explicit validation checkpoints, and the skill touches migrations/database operations where a verify step would matter.

3 / 5

Progressive Disclosure

The single file is well-organized with clear section headers and no nested references, though the ~387-line body could move the per-type reference or patterns into a separate file.

4 / 5

Total

15

/

20

Passed

Description

92%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 concisely states what the skill does, when to use it, and enumerates supported types in third-person voice. Trigger term coverage is good but could add common synonyms like 'jsonb'.

DimensionReasoningScore

Specificity

Lists multiple concrete actions ('Define typed attributes', 'type casting, validations, and form integration') and comprehensively enumerates seven supported types, matching the comprehensive-coverage anchor.

5 / 5

Completeness

Explicitly states the what ('Define typed attributes backed by JSON fields in Rails models') and an explicit when ('Use when models need flexible data storage...'), satisfying both with concrete trigger phrases.

5 / 5

Trigger Term Quality

Natural terms like 'Rails models', 'JSON fields', 'typed attributes', and 'form integration' are present, but synonyms such as 'jsonb' or 'PostgreSQL' that users would also say are missing.

4 / 5

Distinctiveness Conflict Risk

The Rails JSON-backed typed-attributes niche is specific with distinct triggers, presenting minimal conflict risk with unrelated skills.

5 / 5

Total

19

/

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
RoleModel/rolemodel-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.