CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-slack--types

Comprehensive TypeScript type definitions for building Slack applications and integrations with the Node Slack SDK

94

1.11x
Overview
Eval results
Files

rubric.jsonevals/scenario-6/

{
  "context": "This evaluation assesses how well the engineer uses @slack/types package to implement an image gallery for Slack messages. The focus is exclusively on proper usage of Block Kit types, image elements, and message structure definitions provided by the @slack/types package.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Image element usage",
      "description": "Uses the ImageElement type from @slack/types for displaying images with proper image_url and alt_text properties",
      "max_score": 25
    },
    {
      "name": "Block structure types",
      "description": "Uses appropriate Block Kit block types (such as ImageBlock, SectionBlock, ContextBlock, or similar) from @slack/types to organize the image gallery layout",
      "max_score": 25
    },
    {
      "name": "Divider block usage",
      "description": "Uses DividerBlock type from @slack/types to create visual separation between image entries",
      "max_score": 15
    },
    {
      "name": "Message structure",
      "description": "Returns a properly typed Slack message structure using @slack/types definitions (such as MessageAttachment blocks array or KnownBlock types) that can be sent via the Slack API",
      "max_score": 20
    },
    {
      "name": "Type annotations",
      "description": "Properly imports and applies @slack/types type annotations to function parameters, return values, and internal data structures",
      "max_score": 10
    },
    {
      "name": "Title display",
      "description": "Uses appropriate block types with text composition objects from @slack/types to display image titles when provided",
      "max_score": 5
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-slack--types

tile.json