CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-picomatch

Blazing fast and accurate glob matcher written in JavaScript, with no dependencies and full support for standard and extended Bash glob features, including braces, extglobs, POSIX brackets, and regular expressions.

83

1.45x
Quality

Pending

Does it follow best practices?

Impact

83%

1.45x

Average score across 10 eval scenarios

SecuritybySnyk

Pending

The risk profile of this skill

Overview
Eval results
Files

criteria.jsonevals/scenario-1/

{
  "context": "This criteria evaluates how effectively the engineer uses picomatch's token-level pattern analysis capabilities, specifically the scan() and parse() functions, to implement a glob pattern analyzer.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses picomatch.scan()",
      "description": "The analyzePattern function uses picomatch.scan() to analyze pattern structure and return metadata about the pattern.",
      "max_score": 25
    },
    {
      "name": "Returns scan metadata",
      "description": "The analyzePattern function correctly returns the relevant scan metadata fields: isGlob, base, glob, negated, isGlobstar, isExtglob, and isBrace.",
      "max_score": 20
    },
    {
      "name": "Uses picomatch.parse()",
      "description": "The parsePattern function uses picomatch.parse() to perform full pattern parsing and tokenization.",
      "max_score": 25
    },
    {
      "name": "Returns parse state",
      "description": "The parsePattern function returns the detailed state object from picomatch.parse() containing token array and regex output information.",
      "max_score": 20
    },
    {
      "name": "Correct picomatch import",
      "description": "The implementation correctly imports or requires the picomatch package.",
      "max_score": 10
    }
  ]
}

tile.json