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).
Install
npx skills add javimosch/supercli --skill attwgit clone --depth 1 https://github.com/javimosch/supercli.git /tmp/supercli
mkdir -p ~/.claude/skills
cp -r /tmp/supercli/plugins/attw/skills/quickstart ~/.claude/skills/attwPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# 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
```bash
npm install -g @arethetypeswrong/cli
# or: npx @arethetypeswrong/cli
```
## Examples
```bash
# 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 verificationDetails
- Skill name
attw- Repository
- javimosch/supercli
- Path
plugins/attw/skills/quickstart/SKILL.md- License
- MIT
- Repo updated
- 2 November 2026
- Listed in
- heilcheng/awesome-agent-skills
FAQ
What does the Attw skill do?
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).
How do I install the Attw skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add javimosch/supercli --skill attw. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Attw popular?
It lives in javimosch/supercli, which has 57 GitHub stars and 5 forks, and is included in 1 curated skill list.
Related skills
100 Exercises to Learn Rust
57javimosch/supercli
Use this skill when the user wants to use 100-exercises-to-learn-rust.
2to3
57javimosch/supercli
Use this skill when the user wants to use 2to3, cli tool: 2to3.
2to3 2.7
57javimosch/supercli
Use this skill when the user wants to use 2to3-2.7, cli tool: 2to3-2.7.
Autocannon
57javimosch/supercli
autocannon — HTTP/1.1 benchmarking CLI. Fast, distributed HTTP load tester with real-time results.
Ast Grep
57javimosch/supercli
Use this skill when the user wants to search code structurally using AST patterns, perform linting, or rewrite code automatically across multiple files.
Automake 1.16
57javimosch/supercli
Use this skill when the user wants to use automake-1.16, cli tool: automake-1.16.
Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.