CtrlK
BlogDocsLog inGet started
Tessl Logo

simon/skills

Auto-generated tile from GitHub (10 skills)

92

1.16x
Quality

94%

Does it follow best practices?

Impact

92%

1.16x

Average score across 44 eval scenarios

SecuritybySnyk

Advisory

Suggest reviewing before use

Overview
Quality
Evals
Security
Files

criteria.jsonevals/scenario-11/

{
  "context": "Tests whether the agent uses @fastify/under-pressure for automatic load shedding with a 503 pressure handler, uses async-cache-dedupe to deduplicate expensive calls, and defines response schemas on every route.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "@fastify/under-pressure registered",
      "description": "The code imports from '@fastify/under-pressure' and calls app.register(underPressure, ...) with a configuration object",
      "max_score": 12
    },
    {
      "name": "maxEventLoopDelay set",
      "description": "The under-pressure config includes a numeric `maxEventLoopDelay` value (milliseconds)",
      "max_score": 10
    },
    {
      "name": "pressureHandler sends 503",
      "description": "The under-pressure config includes a `pressureHandler` function that calls reply.code(503) before sending a response",
      "max_score": 13
    },
    {
      "name": "Additional pressure threshold",
      "description": "The under-pressure config includes at least one of: maxHeapUsedBytes, maxRssBytes, or maxEventLoopUtilization",
      "max_score": 5
    },
    {
      "name": "async-cache-dedupe imported",
      "description": "The code imports `createCache` (or equivalent) from 'async-cache-dedupe'",
      "max_score": 15
    },
    {
      "name": "cache.define() used",
      "description": "cache.define() is called to register at least one named cached function that wraps a database query or expensive operation",
      "max_score": 12
    },
    {
      "name": "Cache TTL configured",
      "description": "The createCache() call includes a numeric `ttl` option (seconds)",
      "max_score": 8
    },
    {
      "name": "Cache storage type set",
      "description": "The createCache() call includes a `storage` option with a `type` field set to 'memory' or 'redis'",
      "max_score": 5
    },
    {
      "name": "Response schemas on all routes",
      "description": "Every app.get / app.post / app.put / app.delete route definition includes a `schema` property with a `response` key defining at least the 200 (or 201) response shape",
      "max_score": 15
    },
    {
      "name": "Cached function called in handler",
      "description": "At least one route handler calls the cached function (defined via cache.define) rather than querying the database or service directly",
      "max_score": 5
    }
  ]
}

evals

README.md

tile.json