CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-nuqs

Type-safe search params state manager for Next.js - Like React.useState, but stored in the URL query string

96

1.24x
Quality

Pending

Does it follow best practices?

Impact

96%

1.24x

Average score across 10 eval scenarios

SecuritybySnyk

Pending

The risk profile of this skill

Overview
Eval results
Files

criteria.jsonevals/scenario-7/

{
  "context": "This criteria evaluates how well the engineer uses the nuqs package to manage URL query parameters with appropriate scroll behavior control. The focus is on using nuqs hooks with the scroll option to control page scrolling during different types of filter updates.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "useQueryState usage",
      "description": "Uses useQueryState or useQueryStates hooks from nuqs to manage the category and search URL parameters",
      "max_score": 25
    },
    {
      "name": "Scroll on category",
      "description": "Implements scroll: true option for category filter changes using withOptions() or inline options, ensuring page scrolls to top when category changes",
      "max_score": 30
    },
    {
      "name": "No scroll on search",
      "description": "Implements scroll: false (or omits scroll option for default behavior) for search input, preserving scroll position during search queries",
      "max_score": 25
    },
    {
      "name": "Scroll on reset",
      "description": "Implements scroll: true for the reset filters action, ensuring page scrolls to top when filters are cleared",
      "max_score": 20
    }
  ]
}

tile.json