CtrlK
BlogDocsLog inGet started
Tessl Logo

rails-concern

Creates Rails concerns for shared behavior across models or controllers with TDD. Use when extracting shared code, creating reusable modules, DRYing up models/controllers, or when user mentions concerns, modules, mixins, or shared behavior.

Install with Tessl CLI

npx tessl i github:ThibautBaissac/rails_ai_agents --skill rails-concern
What are skills?

90

Does it follow best practices?

Agent success when using this skill

Validation for skill structure

SKILL.md
Review
Evals

Evaluation results

88%

4%

Public API Identifier Module

Model concern TDD workflow

Criteria
Without context
With context

Spec file created first

100%

100%

Spec uses test class pattern

50%

50%

Concern file location

100%

100%

ActiveSupport::Concern usage

100%

100%

included block for callbacks/validations

100%

100%

Instance methods placement

100%

100%

Single responsibility

100%

100%

Descriptive module name

100%

100%

RED step documented

57%

71%

GREEN step documented

57%

71%

Without context: $0.2230 · 49s · 12 turns · 12 in / 2,951 out tokens

With context: $0.5033 · 1m 19s · 26 turns · 337 in / 4,549 out tokens

100%

Order and Product Archiving

Concern structure and placement

Criteria
Without context
With context

Concern file location

100%

100%

ActiveSupport::Concern

100%

100%

included block for scopes

100%

100%

included block for callbacks

100%

100%

class_methods block used

100%

100%

Instance methods placement

100%

100%

Single responsibility

100%

100%

Descriptive module name

100%

100%

Spec file location

100%

100%

Spec tests via including model

100%

100%

Model includes concern

100%

100%

Without context: $0.2533 · 49s · 13 turns · 14 in / 3,139 out tokens

With context: $0.3632 · 1m 9s · 17 turns · 17 in / 3,848 out tokens

100%

10%

Multi-Language API Support

Controller concern with request specs

Criteria
Without context
With context

Controller concern location

100%

100%

ActiveSupport::Concern

100%

100%

included block for before_action

100%

100%

class_methods block used

0%

100%

Instance methods placement

100%

100%

Request spec location

100%

100%

Request spec type

100%

100%

Single responsibility

100%

100%

Descriptive module name

100%

100%

Controller includes concern

100%

100%

Without context: $0.2373 · 54s · 11 turns · 12 in / 3,297 out tokens

With context: $0.5935 · 1m 52s · 25 turns · 24 in / 6,994 out tokens

Evaluated
Agent
Claude Code

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.