CtrlK
BlogDocsLog inGet started
Tessl Logo

dynamic-nested-attributes

Implement Rails nested attributes with dynamic add/remove functionality using Turbo Streams and Simple Form. Use when building forms where users need to manage multiple child records (has_many associations), add/remove nested items without page refresh, or create bulk records inline.

68

Quality

Does it follow best practices?

Impact

No eval scenarios have been run

SecuritybySnyk

Passed

No known issues

SKILL.md
Quality
Evals
Security

Quality

Content

65%

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

A highly actionable, code-rich body with concrete examples across every layer of the stack, held back by duplicated overview content and the absence of validation checkpoints or progressive disclosure to separate reference files.

Suggestions

Remove or trim the Overview and 'When to Use' sections, which repeat the frontmatter description verbatim; let the description carry the what/when and start the body with the Key Components.

Add a verification/validation checkpoint to the workflow — e.g., confirm removal sets _destroy to '1' and that non-persisted parents render correctly — since this skill handles batch and destructive nested-record operations.

For a skill this size, split the Routes Example, Strong Parameters Example, and Common Patterns into a reference file (e.g., references/EXAMPLES.md) referenced from the body, so SKILL.md stays a lean overview.

DimensionReasoningScore

Conciseness

The code examples are lean, but the Overview and 'When to Use' sections substantially duplicate the frontmatter description ('Implement Rails nested attributes...', managing child records, add/remove, bulk records), so several tokens don't earn their place.

2 / 3

Actionability

Provides fully executable code across slim views, a ruby controller action, routes, strong parameters, and a Stimulus JS controller, plus a concrete implementation checklist — copy-paste ready.

3 / 3

Workflow Clarity

The implementation checklist sequences the steps, but there are no validation or verification checkpoints for batch/destructive nested-record operations, which caps workflow clarity at 2.

2 / 3

Progressive Disclosure

Content is well-organized into clear single-level sections, but at ~165 lines everything is inline with no references or content split, so it falls short of the 'appropriately split' anchor.

2 / 3

Total

9

/

12

Passed

Description

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.

A strong, specific description that answers both what and when, uses third person, and carries natural Rails-domain trigger terms with minimal fluff. No vague buzzwords or over-claims.

DimensionReasoningScore

Specificity

Lists multiple concrete actions — 'Implement Rails nested attributes with dynamic add/remove functionality', 'manage multiple child records', 'add/remove nested items', 'create bulk records inline' — rather than vague language.

3 / 3

Completeness

Clearly states what it does ('Implement Rails nested attributes with dynamic add/remove functionality using Turbo Streams and Simple Form') and when to use it via an explicit 'Use when building forms...' clause with multiple triggers.

3 / 3

Trigger Term Quality

Covers natural terms a Rails developer would actually say — 'nested attributes', 'has_many associations', 'Turbo Streams', 'Simple Form', 'add/remove nested items', 'bulk records'.

3 / 3

Distinctiveness Conflict Risk

Targets a narrow, well-defined Rails niche (nested attributes + Turbo Streams + Simple Form) with distinct triggers, making overlap with other skills unlikely.

3 / 3

Total

12

/

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.

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.