core-type-mapping
Type mapping reference for OpenAPI formats to TypeScript core types
npx skills add majiayu000/claude-skill-registry --skill core-type-mapping-zerobias-org-module --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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 (@zerobias-org/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` | `AwsAcce
- Overview
- 🚨 Critical Usage Rules
- AWS Types (@zerobias-org/types-amazon-js)
- Microsoft Azure Types (@zerobias-org/types-microsoft-js)
- Google Cloud Types (@zerobias-org/types-google-js)
- Core Types (@zerobias-org/types-core-js)
- Binary/Encoding
- Networking
- Date/Time
- Numeric
- Communication/Identity
- Identifiers
- Security
- Geographic
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-zerobias-org-module --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.
