CtrlK
BlogDocsLog inGet started
Tessl Logo

testing-patterns

Write automated tests using RSpec, Capybara, and FactoryBot for Rails applications. Use when implementing features, fixing bugs, or when the user mentions testing, specs, RSpec, Capybara, or test data. Avoid using rails console or server for testing.

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.

The body is highly actionable with strong executable examples, but it is somewhat verbose with generic best-practice filler, lacks an explicit run/fix workflow with checkpoints, and keeps everything inline rather than progressively disclosing detail into separate files.

Suggestions

Trim generic guidance Claude already knows ('Keep tests focused and readable', 'Write tests first or alongside implementation', 'Ensure tests are deterministic') and remove the Overview/Tech Stack restate and 'Future Topics' filler to tighten conciseness.

Add a short explicit test workflow with a feedback loop, e.g. write spec → `bundle exec rspec` → read failure → fix → re-run, to raise workflow clarity.

Move the detailed Turbo Confirm helper and the let!/let deep-dive into separate reference files linked from the overview to improve progressive disclosure.

DimensionReasoningScore

Conciseness

The body is mostly efficient with valuable concrete examples, but it restates the description in the Overview/Tech Stack and includes generic guidance Claude already knows ('Keep tests focused and readable', 'Write tests first or alongside implementation', 'Ensure tests are deterministic') plus a filler 'Future Topics' section. It is not a 1 because it avoids explaining basic concepts like what RSpec is, but not a 3 because not every token earns its place.

2 / 3

Actionability

Provides fully executable, copy-paste-ready code: the let!/let system-test example, the validation testing pattern with `build`, the complete TurboConfirmHelper module, and data-testid view/spec snippets, plus the `bundle exec rspec` command. It is not a 2 because the examples are concrete and complete rather than pseudocode or abstract direction.

3 / 3

Workflow Clarity

Patterns are well-organized by topic and the test command is unambiguous, but there is no explicit multi-step sequence (e.g., write test → run rspec → read failure → fix → re-run) with validation checkpoints. It is not a 1 because the content is clearly structured, but not a 3 because no sequenced workflow with feedback loops is presented.

2 / 3

Progressive Disclosure

No bundle files exist (references/scripts/assets absent) and all content sits inline in one ~245-line file with well-organized headers; self-contained sections like the Turbo Confirm helper or the let!/let deep-dive could live in separate referenced files. It is not a 1 because it is well-organized rather than a monolithic wall, but not a 3 because there are no one-level-deep external references and nothing is split out.

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.

The description is concrete, third-person, and clearly states both capability and explicit use-when triggers with natural keywords. It is a strong, low-conflict skill description.

DimensionReasoningScore

Specificity

Names concrete tools and platform — 'Write automated tests using RSpec, Capybara, and FactoryBot for Rails applications' — matching the anchor that lists specific concrete actions rather than vague language. It is not a 2 because it goes beyond naming a domain to specifying the exact frameworks and stack rather than generic 'writes tests'.

3 / 3

Completeness

It explicitly answers both what ('Write automated tests using RSpec, Capybara, and FactoryBot for Rails applications') and when ('Use when implementing features, fixing bugs, or when the user mentions ...'). It is not a 2 because the 'Use when' trigger clause is explicit, not merely implied.

3 / 3

Trigger Term Quality

'Use when ... the user mentions testing, specs, RSpec, Capybara, or test data' gives good coverage of natural terms a user would say, plus 'implementing features, fixing bugs'. It is not a 2 because it includes common variations users actually utter, not just a single keyword.

3 / 3

Distinctiveness Conflict Risk

The Rails + RSpec/Capybara/FactoryBot niche with distinct testing triggers is unlikely to fire for unrelated skills. It is not a 2 because the trigger terms are specific enough to avoid overlap with generic code or document skills.

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.