Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

attw

БесплатноБез исполняемых скриптовНе проверен

Use this skill when the user wants to verify that an npm package's TypeScript types resolve correctly for consumers, using attw (Are the Types Wrong).

javimoschот javimosch★ 58 звёзд на GitHub

Об этом скилле

attw Plugin

attw ("Are the Types Wrong") tests whether the TypeScript types shipped in an npm package actually resolve under every module-resolution strategy (node10, node16 CJS/ESM, bundler). Catches masquerading files, missing .d.ts, wrong types conditions — before users report them.

Commands

Checking

  • attw check pack — Pack the local package and check its types
  • attw check npm <pkg> — Check a published npm package
  • attw check tarball <file.tgz> — Check a .tgz tarball
  • attw _ _ — Passthrough to attw CLI

Usage Examples

  • "Check if my package's types resolve correctly"
  • "Does lodash's types work under node16 ESM?"
  • "Verify the built tarball has correct types"
  • "Add an attw check to my publish workflow"

Installation

npm install -g @arethetypeswrong/cli
# or: npx @arethetypeswrong/cli

Examples

# Standard pre-publish check
attw --pack .

# Inspect a published package
attw --from-npm react@19

# Machine-readable output
attw --pack . --format json

# Only check specific entrypoints
attw --pack . --entrypoints ./index.d.ts

Key Features

  • Tests every resolution mode: node10, node16 CJS, node16 ESM, bundler
  • Detects "masquerading" files (ESM syntax in .js under type:commonjs, etc.)
  • --format table|json|flipped output
  • Pairs with publint for complete pre-publish verification

Установить attw в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл attw?

Use this skill when the user wants to verify that an npm package's TypeScript types resolve correctly for consumers, using attw (Are the Types Wrong).

Как установить скилл attw?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл attw запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить attw с