Verify Package Types

Inspect .d.ts files and package.json to verify TypeScript package APIs and versions.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/rylezhou/arlis --skill verify-package-types
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Verify Package Types
Source: https://github.com/rylezhou/arlis/tree/main/.agent/skills/verify-package-types
Command: npx skills add https://github.com/rylezhou/arlis --skill verify-package-types

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill prevents errors caused by incorrect assumptions about third-party package APIs and versions, ensuring code stability and accurate functionality.

Core Features & Use Cases

  • Type Definition Inspection: Directly reads TypeScript definition files (.d.ts) to verify available functions, classes, and interfaces.
  • Version Verification: Checks package.json to confirm the exact installed version of a package.
  • Use Case: When encountering a TypeScript error like "Property 'x' does not exist on type 'y'", this Skill will inspect the package's type definitions to confirm if the feature is actually supported by the installed version.

Quick Start

Use the verify package types skill to check if the 'maxSteps' option is available in the installed version of the 'ai' package.

Frequently Asked Questions about Verify Package Types

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
Why does a TypeScript error say a property does not exist on a type?

A TypeScript property error occurs when the installed package version lacks that feature. Inspecting the package's `.d.ts` type definitions and `package.json` confirms if the API is actually supported by your current local node_modules.

How do I check if a specific configuration option exists in an installed package?

You can check a configuration option by directly reading the package's TypeScript definition files to verify available functions and interfaces. This confirms if the feature is actually supported by the installed version in your local node_modules.

Can I verify node_modules package APIs without an internet connection?

Yes, you can verify node_modules APIs offline by directly inspecting locally installed `.d.ts` files and `package.json`. This approach validates package features and version compatibility without relying on external registry lookups.

What is the best way to debug incorrect package version assumptions in TypeScript?

The best way to debug version assumptions is to inspect `.d.ts` files and `package.json` in node_modules. This directly validates the exact installed version and available APIs, preventing incorrect assumptions about package features and configurations.

How do I inspect TypeScript type definitions for an installed package?

To inspect TypeScript type definitions, directly read the `.d.ts` files within your locally installed node_modules directory. This verifies available functions, classes, and interfaces to solve issues related to incorrect assumptions about package features.

Does verifying package types require external dependencies?

No, verifying package types requires no external dependencies. It relies entirely on directly inspecting local `.d.ts` files and `package.json` within node_modules to ensure accurate API and version validation.