CtrlK
BlogDocsLog inGet started
Tessl Logo

pantheon-ai/nx-plugin-toolkit

Complete Nx plugin development toolkit: create custom generators, executors, and extend Nx workspaces with reusable automation

93

1.00x
Quality

94%

Does it follow best practices?

Impact

92%

1.00x

Average score across 5 eval scenarios

SecuritybySnyk

Passed

No known issues

Overview
Quality
Evals
Security
Files

criteria.jsonevals/scenario-1/

{
  "context": "Evaluate safe generator implementation with Tree API and boundary validation",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Tree API usage",
      "description": "Generator uses tree.write(), generateFiles(), or updateJson() exclusively for filesystem operations. No fs.writeFileSync or direct filesystem writes.",
      "max_score": 20
    },
    {
      "name": "Schema validation",
      "description": "Schema includes typed interface (schema.d.ts), required fields marked in schema.json, and validation guards in generator code.",
      "max_score": 15
    },
    {
      "name": "Read before mutate",
      "description": "Generator calls readProjectConfiguration() before updateProjectConfiguration() and preserves existing targets/tags.",
      "max_score": 15
    },
    {
      "name": "Boundary enforcement",
      "description": "Generator validates project tags/boundaries before cross-scope imports and throws errors for violations.",
      "max_score": 15
    },
    {
      "name": "Format after generation",
      "description": "Generator calls formatFiles(tree) after generateFiles() or file writes.",
      "max_score": 10
    },
    {
      "name": "Existence check",
      "description": "Generator checks tree.exists() before overwriting files and handles conflicts gracefully.",
      "max_score": 15
    },
    {
      "name": "No hardcoded paths",
      "description": "Generator derives paths from readProjectConfiguration().root instead of hardcoding libs/ or apps/ paths.",
      "max_score": 10
    }
  ]
}

evals

scenario-1

criteria.json

task.md

tile.json