CtrlK
BlogDocsLog inGet started
Tessl Logo

igmarin/rails-agent-skills

Curated library of AI agent skills for Ruby on Rails development. Covers code review, architecture, security, testing (RSpec), engines, service objects, DDD patterns, and workflow automation.

98

1.38x
Quality

99%

Does it follow best practices?

Impact

98%

1.38x

Average score across 26 eval scenarios

SecuritybySnyk

Passed

No known issues

Overview
Quality
Evals
Security
Files

criteria.jsonevals/scenario-10/

{
  "context": "Tests whether the agent selects the appropriate spec type for each layer of behavior: request spec for the HTTP endpoint (not controller spec), and model spec for the domain validation rule. Also verifies the agent places specs at the correct paths and covers the right behavioral boundaries.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "type: :request used",
      "description": "The endpoint spec uses `type: :request` in the RSpec.describe declaration",
      "max_score": 15
    },
    {
      "name": "type: :controller NOT used",
      "description": "No spec file uses `type: :controller` — controller spec style is absent",
      "max_score": 15
    },
    {
      "name": "Model spec file exists",
      "description": "A spec file for the Booking model is present at spec/models/booking_spec.rb",
      "max_score": 8
    },
    {
      "name": "type: :model used",
      "description": "The model spec uses `type: :model` in the RSpec.describe declaration",
      "max_score": 8
    },
    {
      "name": "No system or feature spec",
      "description": "No spec file uses `type: :system` or `type: :feature` for these behaviors",
      "max_score": 10
    },
    {
      "name": "Request spec in spec/requests/",
      "description": "The endpoint spec file is placed under spec/requests/ (not spec/controllers/)",
      "max_score": 10
    },
    {
      "name": "Endpoint URL in describe",
      "description": "The request spec's RSpec.describe block references the HTTP method and endpoint path (e.g. 'POST /bookings')",
      "max_score": 8
    },
    {
      "name": "Endpoint success case covered",
      "description": "The request spec contains at least one example asserting a 2xx HTTP status for a successful booking",
      "max_score": 8
    },
    {
      "name": "Endpoint failure case covered",
      "description": "The request spec contains at least one example asserting a non-2xx status for a failed booking (full class or duplicate)",
      "max_score": 8
    },
    {
      "name": "Model uniqueness validation tested",
      "description": "The model spec contains an example that verifies a duplicate booking is invalid",
      "max_score": 10
    }
  ]
}

README.md

tile.json