Agent skill · Code Review & Quality

core-type-mapping

Type mapping reference for OpenAPI formats to TypeScript core types

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill core-type-mapping --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 14 KB
Bundled scripts: none
Path: skills/api/core-type-mapping/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Core Type Mapping Guide ## Overview This guide provides the mapping between OpenAPI string formats and their corresponding TypeScript type classes for use in Tasks 5, 7, 8, and 9. ## 🚨 Critical Usage Rules - **Task 5**: Use these mappings when creating OpenAPI specifications - set the correct `format` field - **Task 7**: Use these mappings in data transformation and validation - **Task 8 & 9**: Use these mappings for type assertions in tests (e.g., `instanceof Email`, `instanceof UUID`) - **String Conversion**: All types support `.toString()` method and template literal interpolation - **Import Sources**: Import types from the specified packages, not from Node.js built-ins ## AWS Types (@auditmation/types-amazon-js) | String Format | TypeScript Type | Usage Example | |---------------|------------------|---------------| | `arn` | `Arn` | `toEnum(Arn, value)` or `new Arn(value)` | | `awsPartition` | `AwsPartition` | `toEnum(AwsPartition, value)` | | `awsService` | `AwsService` | `toEnum(AwsService, value)` | | `awsImageId` | `AwsImageId` | `toEnum(AwsImageId, value)` | | `awsAccessPolicy` | `AwsAccessPolicy` | `new AwsAccessPolicy(value)` | | `awsAccessPolicyStatement` | `AwsAcces

What's inside
Steps it walks through
  1. Overview
  2. 🚨 Critical Usage Rules
  3. AWS Types (@auditmation/types-amazon-js)
  4. Microsoft Azure Types (@auditmation/types-microsoft-js)
  5. Google Cloud Types (@auditmation/types-google-js)
  6. Core Types (@auditmation/types-core-js)
  7. Binary/Encoding
  8. Networking
  9. Date/Time
  10. Numeric
  11. Communication/Identity
  12. Identifiers
  13. Security
  14. Geographic
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the core-type-mapping skill do?

Type mapping reference for OpenAPI formats to TypeScript core types

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill core-type-mapping --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going